Sorry, I couldn't figure this out. My documentation site is only in a single language, english, and I prefer to leave the "/en/" out of all my urls. However, I can't seem to figure out how to tell this library how to remove that path from the URLs. I have tried setting language = None and sitemap_locales = [None] but it still seems to add /en/ to all the paths, which then points to 404 pages.
Is this possible to do with this package?
It seems like no matter what I do these lines:
if app.builder.config.language:
lang = app.builder.config.language + "/"
else:
lang = ""
Sorry, I couldn't figure this out. My documentation site is only in a single language, english, and I prefer to leave the "/en/" out of all my urls. However, I can't seem to figure out how to tell this library how to remove that path from the URLs. I have tried setting
language = None
andsitemap_locales = [None]
but it still seems to add/en/
to all the paths, which then points to 404 pages.Is this possible to do with this package?
It seems like no matter what I do these lines:
Always cause the language to get set.