From 080fd2b5d3dca8e84dd98a99800e1f0b73566239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Wed, 21 Nov 2018 18:33:59 +0100 Subject: Not sure how I managed to screw up building documentation again. --- MANIFEST.in | 5 +++-- docs/conf.py | 2 +- docs/index.rst | 4 ++-- 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` -- cgit v1.2.1