From 7e4e14dde5fbfade46311fbf75386d5371062d7d Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周六, 24 10月 2020 19:59:33 +0800 Subject: [PATCH] review of disk strategy linux --- doc/conf.py | 24 ++++++++++++++++++++++-- 1 files changed, 22 insertions(+), 2 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 13f61aa..1b14e55 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -32,10 +32,14 @@ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = ['sphinx.ext.todo', - 'sphinx.ext.githubpages', 'breathe', 'recommonmark', 'sphinx_markdown_tables', 'sphinx_rtd_theme' ] + 'sphinx.ext.githubpages', 'breathe', 'recommonmark', 'sphinx_markdown_tables', 'sphinx_rtd_theme', + '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'] @@ -50,7 +54,7 @@ master_doc = 'index' # General information about the project. -project = 'licensecc' +project = 'Licensecc' copyright = '2020, Open License Manager' author = 'Open License Manager' @@ -94,6 +98,8 @@ # documentation. # html_theme_options = { + 'canonical_url': 'http://open-license-manager.github.io/open-license-manager/', + 'analytics_id': 'UA-160839650-1', # Provided by Google in your dashboard 'titles_only': False } @@ -114,6 +120,13 @@ # ] #} +html_js_files = [ + 'https://buttons.github.io/buttons.js' +] + +html_css_files = [ + 'css/custom.css' +] # -- Options for HTMLHelp output ------------------------------------------ @@ -171,5 +184,12 @@ 'Miscellaneous'), ] +# 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