From edcbdda42c0d997a71b6ae98a3db8277ec51c754 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Fri, 17 May 2019 09:59:48 +0200 Subject: [PATCH] add sitemap --- requirements.txt | 1 + source/conf.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/requirements.txt b/requirements.txt index b9d40310..73fd2fc5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ sphinx +sphinx-sitemap sphinx_rtd_theme sphinxcontrib-blockdiag sphinxcontrib-nwdiag diff --git a/source/conf.py b/source/conf.py index 0b054dd7..c3689769 100644 --- a/source/conf.py +++ b/source/conf.py @@ -42,6 +42,7 @@ html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ + 'sphinx_sitemap', 'sphinx.ext.todo', 'sphinxcontrib.blockdiag', 'sphinxcontrib.nwdiag', @@ -50,6 +51,8 @@ extensions = [ ] +html_baseurl = 'https://docs.opnsense.org/' + blockdiag_fontpath = '/Library/Fonts/Arial.ttf' nwdiag_fontpath = '/Library/Fonts/Arial.ttf' # Add any paths that contain templates here, relative to this directory.