Login  Register

Re: Sitemap.xml Possible To Generate?

Posted by mojavelinux on Apr 06, 2020; 10:24am
URL: https://discuss.asciidoctor.org/Sitemap-xml-Possible-To-Generate-tp7841p7842.html

The Asciidoctor processor only converts a single AsciiDoc source file (with includes) to an output file. Therefore, it doesn't have any concept of a sitemap. What you're probably looking for is a static site generator with AsciiDoc integration. There are many from which to choose. The main one in this ecosystem is Antora. It builds an entire site from AsciiDoc files and generates a sitemap as part of it.

See https://docs.antora.org for more information.

Cheers,

-Dan

On Mon, Apr 6, 2020 at 2:49 AM Oquance [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Dear Community,
I was checking the AsciiDoctor user manual and some other resources, including this discussion forum, but couldn't find a clear description.
I was wondering how I can generate a sitemap.xml while I am generating a static site using AsciiDoctor. Or is it even possible?

Thanks a lot in advance.


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Sitemap-xml-Possible-To-Generate-tp7841.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux