fix names (#1)

fix names

Reviewed-by: kucerakk <kucerakk@gmail.com>
This commit is contained in:
Artem Goncharov 2022-03-30 11:26:37 +02:00 committed by GitHub
parent 7ed5877d20
commit d57e6fbdd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 11 deletions

View File

@ -24,8 +24,8 @@ html_theme_options = {
"sidebar_mode": "toctree"
}
otcdocs_auto_name = False
project = 'Dummy Service' # FIXME
otcdocs_repo_name = 'opentelekomcloud-docs/template' # FIXME
project = 'Web Application Firewall'
otcdocs_repo_name = 'opentelekomcloud-docs/web-application-firewall'
# If extensions (or modules to document with autodoc) are in another directory,
@ -156,11 +156,11 @@ pygments_style = 'native'
# html_file_suffix = ''
# Output file base name for HTML help builder.
htmlhelp_basename = 'dummydoc' # FIXME
htmlhelp_basename = 'wafdoc'
latex_documents = [
('index',
'api-ref-dummy.tex', # FIXME
'api-ref-waf.tex',
u'%s API Reference' % project,
u'OpenTelekomCloud', 'manual'),
]

View File

@ -0,0 +1,2 @@
[html writers]
table-style: table, caption-top

View File

@ -15,4 +15,5 @@ import setuptools
setuptools.setup(
setup_requires=['pbr>=2.0.0'],
pbr=True)
pbr=True,
py_modules=[])

View File

@ -69,6 +69,4 @@ whitelist_externals =
commands =
rm -rf umn/build/pdf
sphinx-build -a -E -W -b latex umn/source umn/build/pdf
sh -c "for f in umn/build/pdf/*.gif; do gif2png -dprsO $f; done || true"
sh -c "for f in umn/build/pdf/*.tex; do sed -iorig 's/\.gif//g' $f; done"
make -C umn/build/pdf

View File

@ -22,8 +22,8 @@ html_theme_options = {
}
otcdocs_auto_name = False
otcdocs_auto_version = False
project = 'Dummy Service' # FIXME
otcdocs_repo_name = 'opentelekomcloud-docs/template' # FIXME
project = 'Web Application Firewall Service'
otcdocs_repo_name = 'opentelekomcloud-docs/web-application-firewall'
# If extensions (or modules to document with autodoc) are in another directory,
@ -147,11 +147,11 @@ html_title = "Dummy UMN" # FIXME
# html_file_suffix = ''
# Output file base name for HTML help builder.
htmlhelp_basename = 'dummydoc' # FIXME
htmlhelp_basename = 'wafdoc'
latex_documents = [
('index',
'umn-dummy.tex', # FIXME
'umn-waf.tex',
u'%s User Manual Documentation' % project,
u'OpenTelekomCloud', 'manual'),
]

2
umn/source/docutils.conf Normal file
View File

@ -0,0 +1,2 @@
[html writers]
table-style: table, caption-top