Skip to content

Commit

Permalink
Added sitemap.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
Koen1999 committed Jan 19, 2025
1 parent bc5bd67 commit e61cf33
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"sphinx.ext.intersphinx",
"sphinx.ext.viewcode",
"sphinx_click",
"sphinx_sitemap",
]

templates_path = ["_templates"]
Expand Down Expand Up @@ -81,3 +82,15 @@
# https://www.sphinx-doc.org/en/master/usage/extensions/viewcode.html

viewcode_line_numbers = True

# -- Options for sphinx-sitemap -------------------------------------------------
# https://sphinx-sitemap.readthedocs.io/en/latest/index.html

html_baseurl = "https://suricata-check.teuwen.net/"
sitemap_url_scheme = "{link}"
sitemap_locales = ['en']
sitemap_excludes = [
"search.html",
"genindex.html"
]
html_extra_path = ['robots.txt']
3 changes: 3 additions & 0 deletions docs/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
User-agent: *

Sitemap: https://suricata-check.teuwen.net/sitemap.xml
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ dev = [
"myst-parser[linkify]>=3.0.1",
"sphinx-click>=6.0.0",
"sphinx-autoapi>=3.4.0",
"sphinx-sitemap>=2.6.0",
]

[project.urls]
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ sphinx-rtd-theme>=3.0.0
myst-parser[linkify]>=3.0.1
sphinx-click>=6.0.0
sphinx-autoapi>=3.4.0
sphinx-sitemap>=2.6.0
numpy>=1.26.4
pandas>=2.0.3
scikit-learn==1.5.1
Expand Down

0 comments on commit e61cf33

Please sign in to comment.