From 6905c3d9f64fd9db0f9f72fdb07a9e51af369348 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周日, 22 3月 2020 13:33:47 +0800 Subject: [PATCH] fix sitemap --- doc/conf.py | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 4a4bf1e..4ac93b7 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -33,7 +33,7 @@ # ones. extensions = ['sphinx.ext.todo', 'sphinx.ext.githubpages', 'breathe', 'recommonmark', 'sphinx_markdown_tables', 'sphinx_rtd_theme', - 'sphinx_sitemap','sphinx.ext.autosectionlabel' ] + 'sphinxemoji.sphinxemoji', 'sphinx_sitemap','sphinx.ext.autosectionlabel' ] autosectionlabel_prefix_document = True @@ -185,6 +185,10 @@ # Sitemap plugin html_baseurl = 'http://open-license-manager.github.io/open-license-manager' +#sitemap_url_scheme = "{lang}{version}subdir/{link}" +sitemap_url_scheme = "{link}" + +sphinxemoji_style = 'twemoji' #html_logo = "_static/lock_32.png" html_favicon="_static/lock_32.ico" \ No newline at end of file -- Gitblit v1.9.1