diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py index 9424a7c..339d523 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -26,6 +26,9 @@ otcdocs_auto_version = False project = 'GaussDB Enterprise-class Distributed Database compatible with MySQL' otcdocs_repo_name = 'docs/gaussdb-mysql' +# Those variables are required for edit/bug links +otcdocs_git_fqdn = 'gitea.eco.tsi-dev.otc-service.com' +otcdocs_git_type = 'gitea' # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -72,11 +75,12 @@ show_authors = False html_theme = 'otcdocs' # Theme options are theme-specific and customize the look and feel of a theme -# further. For a list of options available for each theme, see the +# further. For a list of options available for each theme, see the # documentation. html_theme_options = { - 'disable_search': True, - 'site_name': 'Internal Documentation Portal' + "disable_search": "True", + "site_name": "Internal Documentation Portal", + "logo_url": "https://docs-int.otc-service.com", } # The name for this set of Sphinx documents. If None, it defaults to @@ -92,8 +96,8 @@ html_static_path = ['_static'] # -- Options for PDF output -------------------------------------------------- latex_documents = [ -('index', + ('index', 'gaussdb_mysql-api-ref.tex', u'GaussDB Enterprise-class Distributed Database compatible with MySQL - API Reference', u'OpenTelekomCloud', 'manual'), -] \ No newline at end of file +] diff --git a/umn/source/conf.py b/umn/source/conf.py index a8be684..51bab72 100644 --- a/umn/source/conf.py +++ b/umn/source/conf.py @@ -26,6 +26,9 @@ otcdocs_auto_version = False project = 'GaussDB Enterprise-class Distributed Database compatible with MySQL' otcdocs_repo_name = 'docs/gaussdb-mysql' +# Those variables are required for edit/bug links +otcdocs_git_fqdn = 'gitea.eco.tsi-dev.otc-service.com' +otcdocs_git_type = 'gitea' # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -72,11 +75,12 @@ show_authors = False html_theme = 'otcdocs' # Theme options are theme-specific and customize the look and feel of a theme -# further. For a list of options available for each theme, see the +# further. For a list of options available for each theme, see the # documentation. html_theme_options = { - 'disable_search': True, - 'site_name': 'Internal Documentation Portal' + "disable_search": "True", + "site_name": "Internal Documentation Portal", + "logo_url": "https://docs-int.otc-service.com", } # The name for this set of Sphinx documents. If None, it defaults to @@ -92,8 +96,8 @@ html_static_path = ['_static'] # -- Options for PDF output -------------------------------------------------- latex_documents = [ -('index', + ('index', 'gaussdb_mysql-umn.tex', u'GaussDB Enterprise-class Distributed Database compatible with MySQL - User Guide', u'OpenTelekomCloud', 'manual'), -] \ No newline at end of file +]