Browse Source

Fixes rst errors

Ask Solem 13 years ago
parent
commit
445734dad5
2 changed files with 3 additions and 1 deletions
  1. 2 0
      docs/userguide/tasks.rst
  2. 1 1
      pavement.py

+ 2 - 0
docs/userguide/tasks.rst

@@ -661,6 +661,8 @@ The following code,
 
 will do roughly this behind the scenes:
 
+.. code-block:: python
+
     @task
     def AddTask(Task):
 

+ 1 - 1
pavement.py

@@ -40,7 +40,7 @@ def qhtml(options):
 @needs("clean_docs", "paver.doctools.html")
 def ghdocs(options):
     builtdocs = sphinx_builddir(options)
-    sh("sphinx-to-github", cwd=builtdocs)
+    sh("sphinxtogithub", cwd=builtdocs)
     sh("git checkout gh-pages && \
             cp -r %s/* .    && \
             git commit . -m 'Rendered documentation for Github Pages.' && \