Skip to content

Commit

Permalink
Reorganize documentation and Sphinx files
Browse files Browse the repository at this point in the history
This should allow a more consistent experience between reading
Sphinx-generated HTML docs and just using GitHub's renderer.

Signed-off-by: Zack Cerza <[email protected]>
  • Loading branch information
Zack Cerza committed Dec 2, 2014
1 parent 933f7dc commit e76a681
Show file tree
Hide file tree
Showing 27 changed files with 6 additions and 9 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions LAB_SETUP.rst → docs/LAB_SETUP.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ We started by setting aside two of the test machines: one as the 'teuthology nod
paddles/pulpito node
====================

We're currently running both paddles and pulpito on the same node. We have a proxy server up front listening on port 80 that forwards to the proper service based on which hostname is used. Feel free to modify our `paddles <docs/reference/nginx_paddles>`_ and `pulpito <docs/reference/nginx_pulpito>`_ configurations for your use.
We're currently running both paddles and pulpito on the same node. We have a proxy server up front listening on port 80 that forwards to the proper service based on which hostname is used. Feel free to modify our `paddles <_static/nginx_paddles>`_ and `pulpito <_static/nginx_pulpito>`_ configurations for your use.

Do the following as root or as another user with sudo access::

Expand Down Expand Up @@ -135,6 +135,6 @@ Serving Test Logs

pulpito tries to provide links to test logs. Out-of-the-box, those links will be broken, but are easy to fix.

First, install your favorite web server on the teuthology node. If you use nginx, you may use `our configuration <docs/reference/nginx_test_logs>`_ as a template.
First, install your favorite web server on the teuthology node. If you use nginx, you may use `our configuration <_static/nginx_test_logs>`_ as a template.

Once you've got log files being served, edit paddles' ``config.py`` and update the ``job_log_href_templ`` value. Restart paddles when you're done.
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
SOURCEDIR = source
SOURCEDIR = .
BUILDDIR = build

# User-friendly check for sphinx-build
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/source/conf.py → docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
# 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']

# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.. include:: ../README.rst
1 change: 0 additions & 1 deletion docs/source/ChangeLog.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/INSTALL.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/LAB_SETUP.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/index.rst

This file was deleted.

2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ commands=flake8 --select=F {posargs:teuthology scripts}

[testenv:docs]
basepython=python
changedir=docs/source
changedir=docs
deps=sphinx
commands=
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

0 comments on commit e76a681

Please sign in to comment.