diff --git a/.gitignore b/.gitignore index 5aabfd8cc..9a1eddd33 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ /build/ .coverage /dist/ -/docs/.build/ +/docs/_build/ /src/*.egg-info *.pyc .pytest_cache/ diff --git a/MANIFEST.in b/MANIFEST.in index b2d3fadcf..4c1bb79b3 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,7 +4,7 @@ graft src/docx/templates graft features graft tests graft docs -prune docs/.build +prune docs/_build global-exclude .DS_Store global-exclude __pycache__ global-exclude *.py[co] diff --git a/Makefile b/Makefile index 0478b2bce..6f2b94837 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ install: pip install -Ue . opendocs: - open docs/.build/html/index.html + open docs/_build/html/index.html sdist: $(BUILD) --sdist . diff --git a/docs/Makefile b/docs/Makefile index 0cf52977b..ade325c75 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -5,7 +5,7 @@ SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = -BUILDDIR = .build +BUILDDIR = _build # Internal variables. PAPEROPT_a4 = -D latex_paper_size=a4 diff --git a/docs/conf.py b/docs/conf.py index 06b428064..ff0ab204c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -201,7 +201,7 @@ # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. -exclude_patterns = [".build"] +exclude_patterns = ["_build"] # The reST default role (used for this markup: `text`) to use for all # documents. diff --git a/requirements-docs.txt b/requirements-docs.txt index 11f9d2cd2..d7cb85b01 100644 --- a/requirements-docs.txt +++ b/requirements-docs.txt @@ -1,4 +1,4 @@ -Sphinx==1.8.6 -Jinja2==2.11.3 -MarkupSafe==0.23 +Sphinx==7.2.6 +Jinja2==3.1.3 +MarkupSafe==2.1.5 -e .