From 06830a97f4fbaf41ed0d9d13ec3091e3dd028715 Mon Sep 17 00:00:00 2001 From: Tilen Majerle Date: Thu, 2 Jan 2020 21:26:03 +0100 Subject: [PATCH] Add sitemap generator --- docs/conf.py | 2 ++ docs/requirements.txt | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 99f578e..5285af2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -43,6 +43,7 @@ extensions = [ 'sphinx.ext.mathjax', 'sphinx.ext.ifconfig', 'sphinx.ext.viewcode', + 'sphinx_sitemap', 'breathe', ] @@ -81,6 +82,7 @@ html_theme_options = { } html_logo = 'static/images/logo_tm.png' github_url = 'https://github.com/MaJerle/lwmem' +html_baseurl = 'https://docs.majerle.eu/projects/lwmem/' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, diff --git a/docs/requirements.txt b/docs/requirements.txt index b9849b9..c0ffd67 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -4,4 +4,5 @@ docutils>=0.14 sphinx>=2.0.1 sphinx_rtd_theme sphinx-tabs -sphinxcontrib-svg2pdfconverter \ No newline at end of file +sphinxcontrib-svg2pdfconverter +sphinx-sitemap