From 156ec4bc4b5d87ef14a23c4d494d87010dae7cb8 Mon Sep 17 00:00:00 2001 From: "Goncharov, Artem" Date: Fri, 28 Oct 2022 09:50:44 +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 +++++++++----- docs/mrs/component-operation-guide/conf.py | 14 +++++++++----- umn/source/conf.py | 14 +++++++++----- 3 files changed, 27 insertions(+), 15 deletions(-) diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py index 0b3a548..17aeba0 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -26,6 +26,9 @@ otcdocs_auto_version = False project = 'Map Reduce Service' otcdocs_repo_name = 'docs/mapreduce-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', 'mrs-api-ref.tex', u'Map Reduce Service - API Reference', u'OpenTelekomCloud', 'manual'), -] \ No newline at end of file +] diff --git a/docs/mrs/component-operation-guide/conf.py b/docs/mrs/component-operation-guide/conf.py index 257889b..8aacbbd 100644 --- a/docs/mrs/component-operation-guide/conf.py +++ b/docs/mrs/component-operation-guide/conf.py @@ -26,6 +26,9 @@ otcdocs_auto_version = False project = 'Map Reduce Service' otcdocs_repo_name = 'docs/mapreduce-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', 'mrs-component-operation-guide.tex', u'Map Reduce Service - Component Operation Guide', u'OpenTelekomCloud', 'manual'), -] \ No newline at end of file +] diff --git a/umn/source/conf.py b/umn/source/conf.py index c788205..da88c76 100644 --- a/umn/source/conf.py +++ b/umn/source/conf.py @@ -26,6 +26,9 @@ otcdocs_auto_version = False project = 'Map Reduce Service' otcdocs_repo_name = 'docs/mapreduce-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', 'mrs-umn.tex', u'Map Reduce Service - User Guide', u'OpenTelekomCloud', 'manual'), -] \ No newline at end of file +]