Update conf.py

Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Goncharov, Artem <artem.goncharov@t-systems.com>
Co-committed-by: Goncharov, Artem <artem.goncharov@t-systems.com>
This commit is contained in:
Goncharov, Artem 2022-10-28 09:55:16 +00:00 committed by zuul
parent 59cc5f44db
commit dba9a7336f
2 changed files with 18 additions and 10 deletions

View File

@ -26,6 +26,9 @@ otcdocs_auto_version = False
project = 'ModelArts' project = 'ModelArts'
otcdocs_repo_name = 'docs/modelarts' otcdocs_repo_name = 'docs/modelarts'
# 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, # 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 # add these directories to sys.path here. If the directory is relative to the
@ -75,8 +78,9 @@ html_theme = 'otcdocs'
# 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. # documentation.
html_theme_options = { html_theme_options = {
'disable_search': True, "disable_search": "True",
'site_name': 'Internal Documentation Portal' "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 # The name for this set of Sphinx documents. If None, it defaults to
@ -92,7 +96,7 @@ html_static_path = ['_static']
# -- Options for PDF output -------------------------------------------------- # -- Options for PDF output --------------------------------------------------
latex_documents = [ latex_documents = [
('index', ('index',
'ma-api-ref.tex', 'ma-api-ref.tex',
u'ModelArts - API Reference', u'ModelArts - API Reference',
u'OpenTelekomCloud', 'manual'), u'OpenTelekomCloud', 'manual'),

View File

@ -26,6 +26,9 @@ otcdocs_auto_version = False
project = 'ModelArts' project = 'ModelArts'
otcdocs_repo_name = 'docs/modelarts' otcdocs_repo_name = 'docs/modelarts'
# 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, # 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 # add these directories to sys.path here. If the directory is relative to the
@ -75,8 +78,9 @@ html_theme = 'otcdocs'
# 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. # documentation.
html_theme_options = { html_theme_options = {
'disable_search': True, "disable_search": "True",
'site_name': 'Internal Documentation Portal' "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 # The name for this set of Sphinx documents. If None, it defaults to
@ -92,7 +96,7 @@ html_static_path = ['_static']
# -- Options for PDF output -------------------------------------------------- # -- Options for PDF output --------------------------------------------------
latex_documents = [ latex_documents = [
('index', ('index',
'ma-umn.tex', 'ma-umn.tex',
u'ModelArts - User Guide', u'ModelArts - User Guide',
u'OpenTelekomCloud', 'manual'), u'OpenTelekomCloud', 'manual'),