From 9854723ee4b73d09220581339dac0192fa2c9df7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anna=20=E2=80=9CCyberTailor=E2=80=9D?= Date: Sun, 13 Nov 2022 19:48:43 +0500 Subject: [PATCH] docs/conf.py: add sphinx_sitemap --- docs/conf.py | 9 ++++++++- docs/toc.rst | 4 ++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 2889bd8..061e9da 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -19,7 +19,8 @@ release = '1.0.0' extensions = [ 'notfound.extension', - 'sphinx-prompt' + 'sphinx-prompt', + 'sphinx_sitemap' ] root_doc = 'toc' @@ -34,3 +35,9 @@ html_theme = 'insipid' html_static_path = ['_static'] html_title = f'{project} {release}' html_show_sourcelink = False +html_baseurl = 'https://nimbus.sysrq.in/' + +sitemap_locales = [None] +sitemap_url_scheme = '{link}' + +notfound_no_urls_prefix = True diff --git a/docs/toc.rst b/docs/toc.rst index d948060..6c1ba53 100644 --- a/docs/toc.rst +++ b/docs/toc.rst @@ -1,3 +1,7 @@ +.. SPDX-FileCopyrightText: 2022 Anna +.. +.. SPDX-License-Identifier: BSD-3-Clause + Table of Contents =================