Add .gitreview file and fix documentation build
Change-Id: Ic95b7a2c04e0578f89d76bd77ca34301776658c8
This commit is contained in:
parent
e8a5b83528
commit
3b7765de0d
4
.gitreview
Normal file
4
.gitreview
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[gerrit]
|
||||||
|
host=review.openstack.org
|
||||||
|
port=29418
|
||||||
|
project=stackforge/turbo-hipster.git
|
@ -25,7 +25,7 @@ import sys, os
|
|||||||
|
|
||||||
# Add any Sphinx extension module names here, as strings. They can be extensions
|
# Add any Sphinx extension module names here, as strings. They can be extensions
|
||||||
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||||
extensions = ['sphinx.ext.graphviz', 'sphinxcontrib.programoutput']
|
extensions = ['sphinx.ext.graphviz']
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
templates_path = ['_templates']
|
templates_path = ['_templates']
|
||||||
@ -120,7 +120,7 @@ html_theme = 'default'
|
|||||||
# Add any paths that contain custom static files (such as style sheets) here,
|
# Add any paths that contain custom static files (such as style sheets) here,
|
||||||
# relative to this directory. They are copied after the builtin static files,
|
# relative to this directory. They are copied after the builtin static files,
|
||||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||||
html_static_path = ['_static']
|
# html_static_path = ['_static']
|
||||||
|
|
||||||
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
||||||
# using the given strftime format.
|
# using the given strftime format.
|
||||||
|
7
doc/source/configuration.rst
Normal file
7
doc/source/configuration.rst
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
:title: Configuration
|
||||||
|
|
||||||
|
|
||||||
|
Configuration
|
||||||
|
=============
|
||||||
|
|
||||||
|
todo...
|
@ -34,7 +34,7 @@ Edit config
|
|||||||
-----------
|
-----------
|
||||||
|
|
||||||
Turbo-hipsters configuration is currently stored in json format.
|
Turbo-hipsters configuration is currently stored in json format.
|
||||||
Modify the config.json appropriately:
|
Modify the config.json appropriately::
|
||||||
|
|
||||||
**zuul_server**
|
**zuul_server**
|
||||||
A dictionary containing details about how to communicate
|
A dictionary containing details about how to communicate
|
||||||
@ -122,9 +122,18 @@ turbo hipster can be ran by executing::
|
|||||||
|
|
||||||
./turbo-hipster/worker_server.py
|
./turbo-hipster/worker_server.py
|
||||||
|
|
||||||
and optionally takes the following parameters:
|
and optionally takes the following parameters::
|
||||||
|
|
||||||
.. program-output:: ../../turbo_hipster/worker_server.py --help
|
./turbo_hipster/worker_server.py --help
|
||||||
|
usage: worker_server.py [-h] [-c CONFIG] [-b] [-p PIDFILE]
|
||||||
|
|
||||||
|
optional arguments:
|
||||||
|
-h, --help show this help message and exit
|
||||||
|
-c CONFIG, --config CONFIG
|
||||||
|
Path to json config file.
|
||||||
|
-b, --background Run as a daemon in the background.
|
||||||
|
-p PIDFILE, --pidfile PIDFILE
|
||||||
|
PID file to lock during daemonization.
|
||||||
|
|
||||||
By default turbo-hipster will look for
|
By default turbo-hipster will look for
|
||||||
*/etc/turbo-hipster/config.json*
|
*/etc/turbo-hipster/config.json*
|
||||||
|
7
doc/source/running.rst
Normal file
7
doc/source/running.rst
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
:title: Running
|
||||||
|
|
||||||
|
|
||||||
|
Running
|
||||||
|
=======
|
||||||
|
|
||||||
|
todo...
|
5
tox.ini
5
tox.ini
@ -7,11 +7,12 @@
|
|||||||
envlist = pep8, pyflakes, py27
|
envlist = pep8, pyflakes, py27
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
sitepackages = True
|
|
||||||
setenv = VIRTUAL_ENV={envdir}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
LANG=en_US.UTF-8
|
LANG=en_US.UTF-8
|
||||||
LANGUAGE=en_US:en
|
LANGUAGE=en_US:en
|
||||||
LC_ALL=C
|
LC_ALL=C
|
||||||
|
usedevelop = True
|
||||||
|
install_command = pip install {opts} {packages}
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands =
|
commands =
|
||||||
@ -28,8 +29,6 @@ commands =
|
|||||||
python setup.py testr --coverage
|
python setup.py testr --coverage
|
||||||
|
|
||||||
[testenv:pyflakes]
|
[testenv:pyflakes]
|
||||||
deps = pyflakes
|
|
||||||
-r{toxinidir}/requirements.txt
|
|
||||||
commands = pyflakes turbo_hipster setup.py
|
commands = pyflakes turbo_hipster setup.py
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
|
Loading…
Reference in New Issue
Block a user