Use openstackdocstheme
Change theme of docs by using openstackdocstheme Change-Id: I26ea48e9862e1e8652aecd873b1298cdfa0bdafd
This commit is contained in:
parent
52e4ab5779
commit
0db820b9cb
|
@ -31,7 +31,7 @@ from freezer_dr import __version__ as FREEZER_DR_VERSION
|
|||
# ones.
|
||||
extensions = ['sphinx.ext.autodoc',
|
||||
'sphinx.ext.viewcode',
|
||||
'oslosphinx']
|
||||
'openstackdocstheme']
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['_templates']
|
||||
|
@ -101,7 +101,7 @@ pygments_style = 'sphinx'
|
|||
|
||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||
# a list of builtin themes.
|
||||
html_theme = 'default'
|
||||
html_theme = 'openstackdocs'
|
||||
|
||||
# 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
|
||||
|
|
|
@ -6,11 +6,13 @@
|
|||
Welcome to Freezer's Disaster Recovery documentation!
|
||||
=====================================================
|
||||
|
||||
Contents:
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
freezer-dr, OpenStack Compute node High Available provides compute node high
|
||||
availability for OpenStack. Simply freezer-dr monitors all compute nodes running
|
||||
in a cloud deployment and if there is any failure in one of the compute nodes
|
||||
freezer-dr will fence this compute node then freezer-dr will try to evacuate
|
||||
all running instances on this compute node, finally freezer-dr will notify all
|
||||
users who have workload/instances running on this compute node as well as will
|
||||
notify the cloud administrators.
|
||||
|
||||
|
||||
Indices and tables
|
||||
|
@ -23,6 +25,3 @@ Indices and tables
|
|||
:maxdepth: 1
|
||||
|
||||
api/autoindex
|
||||
|
||||
.. toctree::
|
||||
:hidden:
|
||||
|
|
|
@ -12,5 +12,5 @@ pylint==1.9.2 # GPLv2
|
|||
pyflakes==0.8.1
|
||||
stestr>=2.0.0 # Apache-2.0
|
||||
testtools>=0.9.36
|
||||
oslosphinx>=2.5.0 # Apache-2.0
|
||||
sphinx>=1.1.2,!=1.6.7,!=1.6.6 # BSD
|
||||
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
|
||||
openstackdocstheme>=1.18.1 # Apache-2.0
|
||||
|
|
9
tox.ini
9
tox.ini
|
@ -4,10 +4,8 @@ skipsdist = True
|
|||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
deps =
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
passenv =
|
||||
FREEZER_TEST_OS_TENANT_NAME
|
||||
FREEZER_TEST_OS_USERNAME
|
||||
|
@ -15,7 +13,6 @@ passenv =
|
|||
FREEZER_TEST_OS_PASSWORD
|
||||
FREEZER_TEST_OS_AUTH_URL
|
||||
http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||
|
||||
install_command = pip install -U {opts} {packages}
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
|
@ -30,12 +27,10 @@ commands =
|
|||
# coverage report -m
|
||||
rm -f .coverage
|
||||
rm -rf .testrepository
|
||||
|
||||
whitelist_externals =
|
||||
find
|
||||
coverage
|
||||
rm
|
||||
|
||||
python_files = test_*.py
|
||||
norecursedirs = .tox .venv
|
||||
|
||||
|
|
Loading…
Reference in New Issue