From c24e785a6b4919d34835f930a5cc719241ac3ff9 Mon Sep 17 00:00:00 2001 From: Kristal Dale Date: Wed, 31 Jul 2019 16:42:09 -0700 Subject: [PATCH] Add requirement and config for sphinx-sitemap Signed-off-by: Kristal Dale --- requirements.txt | 3 ++- source/conf.py | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 29fa6ef8..1f85193e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,5 @@ breathe==4.9.1 sphinx==1.8 docutils==0.14 sphinx_rtd_theme -sphinx-intl==2.0.0 \ No newline at end of file +sphinx-intl==2.0.0 +sphinx-sitemap==1.0.2 \ No newline at end of file diff --git a/source/conf.py b/source/conf.py index 2446929a..7aebf8db 100644 --- a/source/conf.py +++ b/source/conf.py @@ -34,7 +34,7 @@ import shlex #] extensions = [ - 'sphinx.ext.autodoc', 'sphinx.ext.todo' + 'sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx_sitemap' ] # Add any paths that contain templates here, relative to this directory. @@ -325,4 +325,6 @@ html_add_permalinks = "" # -- Options for Localization using sphinx-intl --------------------------- locale_dirs = ['../locale/'] # path for lang-specific po files. -gettext_compact = False # optional. \ No newline at end of file +gettext_compact = False # optional. + +html_baseurl = 'https://docs.01.org/clearlinux/' \ No newline at end of file