Skip to content

Commit bd9bc78

Browse files
authored
Add html_baseurl to Sphinx configuration to set canonical URL (#281)
1 parent 9af75f2 commit bd9bc78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
# -- Options for HTML output -------------------------------------------------
102102
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
103103

104+
html_baseurl = f'https://stefaniemolin.com/data-morph/{version_match}/'
104105
html_theme = 'pydata_sphinx_theme'
105106
html_static_path = ['_static']
106107
html_css_files = ['tutorials/style.css']

0 commit comments

Comments
 (0)