Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sitemap_url_scheme default value in README file #32

Merged
merged 1 commit into from
Nov 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ Customizing the URL Scheme
^^^^^^^^^^^^^^^^^^^^^^^^^^

If both ``language`` and ``version`` are set, the default URL format is
``{version}{lang}{link}``. To change the default behavior, set the value of
``{lang}{version}{link}``. To change the default behavior, set the value of
``sitemap_url_scheme`` in **conf.py** to the desired format. For example::

sitemap_url_scheme = "{lang}{version}subdir/{link}"
sitemap_url_scheme = "{version}{lang}subdir/{link}"

**Note:** The extension is currently opinionated, in that it automatically
appends trailing slashes to both the ``language`` and ``version`` values. You
Expand Down