Login  Register

Sitemap.xml Possible To Generate?

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

Sitemap.xml Possible To Generate?

Oquance
4 posts
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
| More
Print post
Permalink

Re: Sitemap.xml Possible To Generate?

mojavelinux
Administrator
2681 posts
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
| More
Print post
Permalink

Re: Sitemap.xml Possible To Generate?

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

Cheers.
Serdar