Skip to content

Commit 33fd98f

Browse files
Add sitemap support for better search engine results
1 parent 17df265 commit 33fd98f

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
/doc/gen_modules/
66
/doc/generated/
77
/doc/auto_examples/
8+
/doc/sg_execution_times.rst
89

910
__pycache__
1011
__cache__

doc/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
'sphinx.ext.linkcode',
6666
'gh_substitutions',
6767
'myst_parser',
68+
'sphinx_sitemap',
6869
# custom ext, see ./sphinxext/gh_substitutions.py
6970
]
7071

@@ -99,6 +100,8 @@
99100

100101
todo_include_todos = False
101102

103+
html_baseurl = 'https://contrib.scikit-learn.org/skglm/'
104+
102105

103106
# -- Options for HTML output ----------------------------------------------
104107

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ doc = [
6666
"furo",
6767
"lifelines",
6868
"pydata_sphinx_theme",
69+
"sphinx-sitemap",
6970
]
7071

7172

0 commit comments

Comments
 (0)