From ecd2f38f3d9c8b28aaa4c47bc09789f11dcaa7f7 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周日, 29 11月 2020 11:19:33 +0800 Subject: [PATCH] fix documentation warnings and broken links --- doc/conf.py | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 4a4bf1e..c2a8d42 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -33,12 +33,13 @@ # 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 # Breathe Configuration breathe_default_project = "licensecc" +breathe_domain_by_extension = {"h" : "cpp"} # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -97,8 +98,8 @@ # documentation. # html_theme_options = { - 'canonical_url': 'http://open-license-manager.github.io/open-license-manager/', - 'analytics_id': 'UA-61067325-2', # Provided by Google in your dashboard + 'canonical_url': 'http://open-license-manager.github.io/licensecc/', + 'analytics_id': 'UA-160839650-1', # Provided by Google in your dashboard 'titles_only': False } @@ -184,7 +185,11 @@ ] # Sitemap plugin -html_baseurl = 'http://open-license-manager.github.io/open-license-manager' +html_baseurl = 'http://open-license-manager.github.io/licensecc' +#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