OpenLiberty / openliberty.io

Open Liberty website
https://openliberty.io
Other
54 stars 40 forks source link

Use antora to create and provide a docs sitemap.xml #1881

Open mbroz2 opened 4 years ago

mbroz2 commented 4 years ago

Antora can build a sitemap for docs, so we should do that and have two sitemaps; our current top-level one and the the antora provided one for docs. Note that in order for the sitemap to get generated, we need the site.url key to be set in the playbook.

https://docs.antora.org/antora/2.3/run-antora/

steven1046 commented 3 years ago

I think there was a reason why we couldn't add the site url to the playbook. I am trying to remember.

Chrispie commented 9 months ago

@steven1046 Do you remembered why it was not possible? :)

steven1046 commented 9 months ago

I think it might have been because Antora was providing its own 404 page when supplying the site.url.