From a973c780d162f4e11e9fb71712317a35dd0a10db Mon Sep 17 00:00:00 2001 From: "Goncharov, Artem" Date: Fri, 28 Oct 2022 11:45:22 +0000 Subject: [PATCH] Update conf.py Reviewed-by: gtema Co-authored-by: Goncharov, Artem Co-committed-by: Goncharov, Artem --- api-ref/source/conf.py | 14 +++++++++----- umn/source/conf.py | 14 +++++++++----- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py index c91d670..903ee17 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -26,6 +26,9 @@ otcdocs_auto_version = False project = 'Distributed Cache Service' otcdocs_repo_name = 'docs/distributed-cache-service' +# 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', 'dcs-api-ref.tex', u'Distributed Cache Service - API Reference', u'OpenTelekomCloud', 'manual'), -] \ No newline at end of file +] diff --git a/umn/source/conf.py b/umn/source/conf.py index fd1683c..e35da14 100644 --- a/umn/source/conf.py +++ b/umn/source/conf.py @@ -26,6 +26,9 @@ otcdocs_auto_version = False project = 'Distributed Cache Service' otcdocs_repo_name = 'docs/distributed-cache-service' +# 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', 'dcs-umn.tex', u'Distributed Cache Service - User Guide', u'OpenTelekomCloud', 'manual'), -] \ No newline at end of file +]