Change-Id: I63c5b10a14085233a44329437930f660c8c26988
This commit is contained in:
ZhongShengping 2019-04-12 16:23:09 +08:00
parent d1a0b37aee
commit e4c066142a
3 changed files with 15 additions and 8 deletions

View File

@ -21,9 +21,9 @@ sys.path.insert(0, os.path.abspath('../..'))
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
'openstackdocstheme',
'sphinx.ext.autodoc',
#'sphinx.ext.intersphinx',
'oslosphinx',
'yasfb',
]
@ -64,9 +64,9 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
# html_theme_path = ["."]
# html_theme = '_theme'
# html_static_path = ['static']
html_theme_path = []
html_theme = "openstackdocs"
html_static_path = []
# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project
@ -83,3 +83,10 @@ latex_documents = [
# Example configuration for intersphinx: refer to the Python standard library.
#intersphinx_mapping = {'http://docs.python.org/': None}
# openstackdocstheme options
repository_name = 'openstack/puppet-openstack-specs'
bug_project = 'puppet-openstack-specs'
bug_tag = ''
# Must set this variable to include year, month, day, hours, and minutes.
html_last_updated_fmt = '%Y-%m-%d %H:%M'

View File

@ -1,6 +1,6 @@
oslosphinx
pbr>=0.6,!=0.7,<1.0
sphinx>=1.1.2,<1.2
pbr!=2.1.0,>=2.0.0 # Apache-2.0
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
openstackdocstheme>=1.18.1 # Apache-2.0
stestr>=2.0.0
testtools>=0.9.34
yasfb>=0.5.1

View File

@ -6,7 +6,7 @@ skipsdist = True
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
deps = -r{toxinidir}/requirements.txt
commands = stestr run --slowest {posargs}