summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2018-11-21 18:33:59 +0100
committerMatěj Cepl <mcepl@cepl.eu>2018-11-21 18:48:48 +0100
commit080fd2b5d3dca8e84dd98a99800e1f0b73566239 (patch)
tree8493a6c7d384828cc8a2c82b72ec3970c118087d
parent22b82ae4a262efbe15289e49607a7e909da3eaa5 (diff)
downloadpyparsing-git-080fd2b5d3dca8e84dd98a99800e1f0b73566239.tar.gz
Not sure how I managed to screw up building documentation again.
-rw-r--r--MANIFEST.in5
-rw-r--r--docs/conf.py2
-rw-r--r--docs/index.rst4
3 files changed, 6 insertions, 5 deletions
diff --git a/MANIFEST.in b/MANIFEST.in
index 9b22b60..3c0e437 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -2,6 +2,7 @@ include pyparsing.py
include HowToUsePyparsing.html pyparsingClassDiagram.*
include README.md CODE_OF_CONDUCT.md CHANGES LICENSE
include examples/*.py examples/Setup.ini examples/*.dfm examples/*.ics examples/*.html
-include docs/*
-include test/*
+recursive-include docs *
+prune docs/_build/*
+recursive-include test *
include simple_unit_tests.py unitTests.py
diff --git a/docs/conf.py b/docs/conf.py
index b4a411c..27e4415 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -14,7 +14,7 @@
#
import os
import sys
-sys.path.insert(0, os.path.abspath(os.path.join('..', '..')))
+sys.path.insert(0, os.path.abspath('..'))
from pyparsing import __version__ as pyparsing_version
diff --git a/docs/index.rst b/docs/index.rst
index e5abc7c..55f30ad 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -4,7 +4,7 @@
contain the root `toctree` directive.
Welcome to PyParsing's documentation!
-=====================================
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. toctree::
:maxdepth: 2
@@ -16,7 +16,7 @@ Welcome to PyParsing's documentation!
Indices and tables
-==================
+~~~~~~~~~~~~~~~~~~
* :ref:`genindex`
* :ref:`modindex`