You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the sitemap_url_scheme customization for multi-language sites, and I'm trying to figure out how to pass a specific configuration to enable the following behavior:
in conf.py;
language = 'en'
locale_dirs = ['locale/']
and then in locale/:
-> de
-> fr
-> es
and their associated files.
With a configuration of sitemap_url_scheme = "{lang}{link}" I get correct URLs to the locales for anything except for en which for my site is "unnamed" in the URL path.
Am I doing it wrong? How might I pass "use the locale subpath for anything other than en"?
The text was updated successfully, but these errors were encountered:
Hrm, that config looks right to me. What are parameters are you using with sphinx-build? Are you having an issue with just the en version of the sitemap, or are the alternatives in all the other locales having issues as well?
Hello!
Looking at the
sitemap_url_scheme
customization for multi-language sites, and I'm trying to figure out how to pass a specific configuration to enable the following behavior:in
conf.py
;and then in
locale/
:and their associated files.
With a configuration of
sitemap_url_scheme = "{lang}{link}"
I get correct URLs to the locales for anything except foren
which for my site is "unnamed" in the URL path.Am I doing it wrong? How might I pass "use the locale subpath for anything other than
en
"?The text was updated successfully, but these errors were encountered: