Browse files

Use _build.

  • Loading branch information...
1 parent 063ef01 commit 0056f228c032588f164e1e7810f67092230ad8b8 Shyue Ping Ong committed Apr 1, 2013
Showing with 4 additions and 12 deletions.
  1. +1 −1 docs/Makefile
  2. +1 −1 docs/conf.py
  3. +1 −9 fabfile.py
  4. +1 −1 setup.cfg
View
2 docs/Makefile
@@ -5,7 +5,7 @@
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
-BUILDDIR = ../../docs/custodian
+BUILDDIR = _build
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
View
2 docs/conf.py
@@ -31,7 +31,7 @@
# 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.viewcode', 'sphinx.ext.autodoc', "sphinxtogithub" ]
+extensions = ['sphinx.ext.viewcode', 'sphinx.ext.autodoc']
exclude_patterns = ['../**/tests*']
exclude_dirnames = ['../**/tests*']
autoclass_content = 'both'
View
10 fabfile.py
@@ -48,7 +48,7 @@ def makedoc():
fid.write("".join(newoutput))
local("make html")
- local("cp favicon.ico ../../docs/custodian/html/static/favicon.ico")
+ local("cp favicon.ico _build/html/_static/favicon.ico")
def publish():
@@ -64,14 +64,6 @@ def setver():
local("mv newsetup setup.py")
-def update_dev_doc():
- makedoc()
- with lcd("../docs/custodian/html/"):
- local("git add .")
- local("git commit -a -m \"Update dev docs\"")
- local("git push origin gh-pages")
-
-
def release():
setver()
test()
View
2 setup.cfg
@@ -1,5 +1,5 @@
[aliases]
-upload_pypi = upload_docs --upload-dir=../docs/custodian/html
+upload_pypi = upload_docs --upload-dir=docs/_build/html
release = register sdist bdist_egg upload upload_pypi
[build]

0 comments on commit 0056f22

Please sign in to comment.