Sitemap.xml Possible To Generate?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Sitemap.xml Possible To Generate?

Oquance
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.
Reply | Threaded
Open this post in threaded view
|

Re: Sitemap.xml Possible To Generate?

mojavelinux
Administrator
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
Reply | Threaded
Open this post in threaded view
|

Re: Sitemap.xml Possible To Generate?

Oquance
Thanks a lot Dan! I will check it out.

Cheers.
Serdar