Add .gitreview file and fix documentation build

Change-Id: Ic95b7a2c04e0578f89d76bd77ca34301776658c8
This commit is contained in:
Joshua Hesketh 2013-11-18 13:06:20 +11:00
parent e8a5b83528
commit 3b7765de0d
6 changed files with 34 additions and 8 deletions

4
.gitreview Normal file
View File

@ -0,0 +1,4 @@
[gerrit]
host=review.openstack.org
port=29418
project=stackforge/turbo-hipster.git

View File

@ -25,7 +25,7 @@ import sys, os
# Add any Sphinx extension module names here, as strings. They can be extensions
# 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.
templates_path = ['_templates']
@ -120,7 +120,7 @@ html_theme = 'default'
# 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,
# 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,
# using the given strftime format.

View File

@ -0,0 +1,7 @@
:title: Configuration
Configuration
=============
todo...

View File

@ -34,7 +34,7 @@ Edit config
-----------
Turbo-hipsters configuration is currently stored in json format.
Modify the config.json appropriately:
Modify the config.json appropriately::
**zuul_server**
A dictionary containing details about how to communicate
@ -122,9 +122,18 @@ turbo hipster can be ran by executing::
./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
*/etc/turbo-hipster/config.json*

7
doc/source/running.rst Normal file
View File

@ -0,0 +1,7 @@
:title: Running
Running
=======
todo...

View File

@ -7,11 +7,12 @@
envlist = pep8, pyflakes, py27
[testenv]
sitepackages = True
setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
usedevelop = True
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
@ -28,8 +29,6 @@ commands =
python setup.py testr --coverage
[testenv:pyflakes]
deps = pyflakes
-r{toxinidir}/requirements.txt
commands = pyflakes turbo_hipster setup.py
[testenv:venv]