Skip to content

Commit cc994f3

Browse files
authored
chore: remove language from sitemap paths (#2373)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-bigquery-dataframes/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #<issue_number_goes_here> 🦕
1 parent 2763b41 commit cc994f3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,12 @@
267267

268268
# https://sphinx-sitemap.readthedocs.io/en/latest/getting-started.html#usage
269269
html_baseurl = "https://dataframes.bigquery.dev/"
270+
sitemap_locales = [None]
271+
272+
# We don't have any immediate plans to translate the API reference, so omit the
273+
# language from the URLs.
274+
# https://sphinx-sitemap.readthedocs.io/en/latest/advanced-configuration.html#configuration-customizing-url-scheme
275+
sitemap_url_scheme = "{link}"
270276

271277
# -- Options for warnings ------------------------------------------------------
272278

0 commit comments

Comments
 (0)