forked from docs/gaussdb-mysql
Compare commits
1 Commits
main
...
constraint
Author | SHA1 | Date | |
---|---|---|---|
163781cca5 |
@ -30,6 +30,17 @@ otcdocs_repo_name = 'docs/gaussdb-mysql'
|
|||||||
otcdocs_git_fqdn = 'gitea.eco.tsi-dev.otc-service.com'
|
otcdocs_git_fqdn = 'gitea.eco.tsi-dev.otc-service.com'
|
||||||
otcdocs_git_type = 'gitea'
|
otcdocs_git_type = 'gitea'
|
||||||
|
|
||||||
|
# Those variables are needed for indexing into OpenSearch
|
||||||
|
otcdocs_doc_environment = 'internal'
|
||||||
|
otcdocs_doc_link = '/gaussdb-mysql/api-ref/'
|
||||||
|
otcdocs_doc_title = 'API Reference'
|
||||||
|
otcdocs_doc_type = 'api-ref'
|
||||||
|
otcdocs_service_category = 'database'
|
||||||
|
otcdocs_service_title = 'GaussDB (for MySQL)'
|
||||||
|
otcdocs_service_type = 'gaussdb_mysql'
|
||||||
|
otcdocs_search_environment = 'hc_de'
|
||||||
|
otcdocs_search_url = "https://opensearch.eco.tsi-dev.otc-service.com/"
|
||||||
|
|
||||||
# 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
|
||||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||||
|
18
tox.ini
18
tox.ini
@ -24,7 +24,9 @@ commands = {posargs}
|
|||||||
# This env is invoked in the periodic pipeline and is therefore responsible to
|
# This env is invoked in the periodic pipeline and is therefore responsible to
|
||||||
# build all relevant docs at once.
|
# build all relevant docs at once.
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
deps =
|
||||||
|
-r{toxinidir}/doc/requirements.txt
|
||||||
|
-c https://raw.githubusercontent.com/opentelekomcloud-docs/docs-constraints/main/constraints.txt
|
||||||
allowlist_externals =
|
allowlist_externals =
|
||||||
mkdir
|
mkdir
|
||||||
cp
|
cp
|
||||||
@ -40,7 +42,7 @@ commands =
|
|||||||
{[testenv:json-umn]commands}
|
{[testenv:json-umn]commands}
|
||||||
|
|
||||||
[testenv:docs-pdf]
|
[testenv:docs-pdf]
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
deps = {[testenv:docs]deps}
|
||||||
allowlist_externals =
|
allowlist_externals =
|
||||||
rm
|
rm
|
||||||
mkdir
|
mkdir
|
||||||
@ -55,7 +57,7 @@ commands =
|
|||||||
|
|
||||||
# HTML version
|
# HTML version
|
||||||
[testenv:api-ref]
|
[testenv:api-ref]
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
deps = {[testenv:docs]deps}
|
||||||
allowlist_externals =
|
allowlist_externals =
|
||||||
cp
|
cp
|
||||||
mkdir
|
mkdir
|
||||||
@ -66,7 +68,7 @@ commands =
|
|||||||
|
|
||||||
# Json version (for search)
|
# Json version (for search)
|
||||||
[testenv:json-api-ref]
|
[testenv:json-api-ref]
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
deps = {[testenv:docs]deps}
|
||||||
allowlist_externals =
|
allowlist_externals =
|
||||||
cp
|
cp
|
||||||
mkdir
|
mkdir
|
||||||
@ -81,7 +83,7 @@ commands =
|
|||||||
|
|
||||||
# PDF version
|
# PDF version
|
||||||
[testenv:api-ref-pdf-docs]
|
[testenv:api-ref-pdf-docs]
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
deps = {[testenv:docs]deps}
|
||||||
allowlist_externals =
|
allowlist_externals =
|
||||||
rm
|
rm
|
||||||
mkdir
|
mkdir
|
||||||
@ -100,7 +102,7 @@ commands =
|
|||||||
|
|
||||||
# HTML version
|
# HTML version
|
||||||
[testenv:umn]
|
[testenv:umn]
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
deps = {[testenv:docs]deps}
|
||||||
allowlist_externals =
|
allowlist_externals =
|
||||||
cp
|
cp
|
||||||
mkdir
|
mkdir
|
||||||
@ -111,7 +113,7 @@ commands =
|
|||||||
|
|
||||||
# Json version (for search)
|
# Json version (for search)
|
||||||
[testenv:json-umn]
|
[testenv:json-umn]
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
deps = {[testenv:docs]deps}
|
||||||
allowlist_externals =
|
allowlist_externals =
|
||||||
cp
|
cp
|
||||||
mkdir
|
mkdir
|
||||||
@ -126,7 +128,7 @@ commands =
|
|||||||
|
|
||||||
# PDF version
|
# PDF version
|
||||||
[testenv:umn-pdf-docs]
|
[testenv:umn-pdf-docs]
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
deps = {[testenv:docs]deps}
|
||||||
allowlist_externals =
|
allowlist_externals =
|
||||||
rm
|
rm
|
||||||
mkdir
|
mkdir
|
||||||
|
@ -30,6 +30,17 @@ otcdocs_repo_name = 'docs/gaussdb-mysql'
|
|||||||
otcdocs_git_fqdn = 'gitea.eco.tsi-dev.otc-service.com'
|
otcdocs_git_fqdn = 'gitea.eco.tsi-dev.otc-service.com'
|
||||||
otcdocs_git_type = 'gitea'
|
otcdocs_git_type = 'gitea'
|
||||||
|
|
||||||
|
# Those variables are needed for indexing into OpenSearch
|
||||||
|
otcdocs_doc_environment = 'internal'
|
||||||
|
otcdocs_doc_link = '/gaussdb-mysql/umn/'
|
||||||
|
otcdocs_doc_title = 'User Guide'
|
||||||
|
otcdocs_doc_type = 'umn'
|
||||||
|
otcdocs_service_category = 'database'
|
||||||
|
otcdocs_service_title = 'GaussDB (for MySQL)'
|
||||||
|
otcdocs_service_type = 'gaussdb_mysql'
|
||||||
|
otcdocs_search_environment = 'hc_de'
|
||||||
|
otcdocs_search_url = "https://opensearch.eco.tsi-dev.otc-service.com/"
|
||||||
|
|
||||||
# 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
|
||||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user