summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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`