Skip to content

Commit

Permalink
Move docs to doc.
Browse files Browse the repository at this point in the history
To better facilitate the building and publishing of sphinx
documentation by Jenkins we are moving all openstack projects with
sphinx documentation to a common doc tree structure. Documentation
goes in project/doc/source and build results go in project/doc/build.

Change-Id: I868df12e3c15cc30043e782ce0a609b9574295cd
  • Loading branch information
cboylan committed Jun 11, 2012
1 parent d263f1f commit ebceca9
Show file tree
Hide file tree
Showing 17 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Expand Up @@ -3,6 +3,6 @@ include HACKING
include LICENSE
include README.rst
include run_tests.sh tox.ini
recursive-include docs *
recursive-include doc *
recursive-include tests *
recursive-include tools *
1 change: 1 addition & 0 deletions doc/.gitignore
@@ -0,0 +1 @@
build/
5 changes: 3 additions & 2 deletions docs/Makefile → doc/Makefile
Expand Up @@ -4,13 +4,14 @@
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXSOURCE = source
PAPER =
BUILDDIR = _build
BUILDDIR = build

# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) $(SPHINXSOURCE)

.PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/conf.py → doc/source/conf.py
Expand Up @@ -64,7 +64,7 @@

# List of directories, relative to source directory, that shouldn't be searched
# for source files.
exclude_trees = ['_build']
exclude_trees = []

# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion docs/.gitignore

This file was deleted.

6 changes: 3 additions & 3 deletions setup.cfg
Expand Up @@ -7,9 +7,9 @@ verbosity=2
detailed-errors=1

[build_sphinx]
source-dir = docs/
build-dir = docs/_build
source-dir = doc/source
build-dir = doc/build
all_files = 1

[upload_sphinx]
upload-dir = docs/_build/html
upload-dir = doc/build/html

0 comments on commit ebceca9

Please sign in to comment.