nancy.liao
2025-05-29 8d405b265285c368df2e9cf1c14acee7532e0ee7
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'
@@ -59,9 +63,9 @@
# built documents.
#
# The short X.Y version.
version = '2.0.0'
version = '2.1.0'
# The full version, including alpha/beta/rc tags.
release = '2.0.0'
release = '2.1.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@ -94,6 +98,8 @@
# documentation.
#
html_theme_options = {
  'canonical_url': 'http://open-license-manager.github.io/licensecc/',
  '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/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"