File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 29
29
"sphinxcontrib.programoutput" ,
30
30
"sphinx_autodoc_typehints" ,
31
31
"sphinxext.opengraph" ,
32
+ "sphinx_sitemap" ,
32
33
]
33
34
34
35
templates_path = ["_templates" ]
47
48
# https://sphinxext-opengraph.readthedocs.io/en/latest/
48
49
ogp_site_url = "https://mosecorg.github.io/mosec/"
49
50
ogp_image = "https://user-images.githubusercontent.com/38581401/240117836-f06199ba-c80d-413a-9cb4-5adc76316bda.png"
50
-
51
+ # https://sphinx-sitemap.readthedocs.io/en/latest/getting-started.html
52
+ html_baseurl = "https://mosecorg.github.io/mosec/"
53
+ html_extra_path = ['robots.txt' ]
51
54
# -- Options for HTML output -------------------------------------------------
52
55
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
53
56
Original file line number Diff line number Diff line change
1
+ User-agent: *
2
+
3
+ Sitemap: https://mosecorg.github.io/mosec/sitemap.xml
Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ sphinx_autodoc_typehints>=1.22
6
6
sphinxext-opengraph>=0.8
7
7
myst-parser>=0.18
8
8
furo>=2022.12.7
9
+ sphinx-sitemap>=2.6.0
You can’t perform that action at this time.
0 commit comments