parent
7ed5877d20
commit
d57e6fbdd2
@ -24,8 +24,8 @@ html_theme_options = {
|
|||||||
"sidebar_mode": "toctree"
|
"sidebar_mode": "toctree"
|
||||||
}
|
}
|
||||||
otcdocs_auto_name = False
|
otcdocs_auto_name = False
|
||||||
project = 'Dummy Service' # FIXME
|
project = 'Web Application Firewall'
|
||||||
otcdocs_repo_name = 'opentelekomcloud-docs/template' # FIXME
|
otcdocs_repo_name = 'opentelekomcloud-docs/web-application-firewall'
|
||||||
|
|
||||||
|
|
||||||
# If extensions (or modules to document with autodoc) are in another directory,
|
# If extensions (or modules to document with autodoc) are in another directory,
|
||||||
@ -156,11 +156,11 @@ pygments_style = 'native'
|
|||||||
# html_file_suffix = ''
|
# html_file_suffix = ''
|
||||||
|
|
||||||
# Output file base name for HTML help builder.
|
# Output file base name for HTML help builder.
|
||||||
htmlhelp_basename = 'dummydoc' # FIXME
|
htmlhelp_basename = 'wafdoc'
|
||||||
|
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
('index',
|
('index',
|
||||||
'api-ref-dummy.tex', # FIXME
|
'api-ref-waf.tex',
|
||||||
u'%s API Reference' % project,
|
u'%s API Reference' % project,
|
||||||
u'OpenTelekomCloud', 'manual'),
|
u'OpenTelekomCloud', 'manual'),
|
||||||
]
|
]
|
||||||
|
2
api-ref/source/docutils.conf
Normal file
2
api-ref/source/docutils.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[html writers]
|
||||||
|
table-style: table, caption-top
|
3
setup.py
3
setup.py
@ -15,4 +15,5 @@ import setuptools
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
setup_requires=['pbr>=2.0.0'],
|
setup_requires=['pbr>=2.0.0'],
|
||||||
pbr=True)
|
pbr=True,
|
||||||
|
py_modules=[])
|
||||||
|
2
tox.ini
2
tox.ini
@ -69,6 +69,4 @@ whitelist_externals =
|
|||||||
commands =
|
commands =
|
||||||
rm -rf umn/build/pdf
|
rm -rf umn/build/pdf
|
||||||
sphinx-build -a -E -W -b latex umn/source 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
|
make -C umn/build/pdf
|
||||||
|
@ -22,8 +22,8 @@ html_theme_options = {
|
|||||||
}
|
}
|
||||||
otcdocs_auto_name = False
|
otcdocs_auto_name = False
|
||||||
otcdocs_auto_version = False
|
otcdocs_auto_version = False
|
||||||
project = 'Dummy Service' # FIXME
|
project = 'Web Application Firewall Service'
|
||||||
otcdocs_repo_name = 'opentelekomcloud-docs/template' # FIXME
|
otcdocs_repo_name = 'opentelekomcloud-docs/web-application-firewall'
|
||||||
|
|
||||||
|
|
||||||
# If extensions (or modules to document with autodoc) are in another directory,
|
# If extensions (or modules to document with autodoc) are in another directory,
|
||||||
@ -147,11 +147,11 @@ html_title = "Dummy UMN" # FIXME
|
|||||||
# html_file_suffix = ''
|
# html_file_suffix = ''
|
||||||
|
|
||||||
# Output file base name for HTML help builder.
|
# Output file base name for HTML help builder.
|
||||||
htmlhelp_basename = 'dummydoc' # FIXME
|
htmlhelp_basename = 'wafdoc'
|
||||||
|
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
('index',
|
('index',
|
||||||
'umn-dummy.tex', # FIXME
|
'umn-waf.tex',
|
||||||
u'%s User Manual Documentation' % project,
|
u'%s User Manual Documentation' % project,
|
||||||
u'OpenTelekomCloud', 'manual'),
|
u'OpenTelekomCloud', 'manual'),
|
||||||
]
|
]
|
||||||
|
2
umn/source/docutils.conf
Normal file
2
umn/source/docutils.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[html writers]
|
||||||
|
table-style: table, caption-top
|
Loading…
x
Reference in New Issue
Block a user