diff --git a/.github/workflows/Doc.yml b/.github/workflows/Doc.yml index 9a109ce..d13fe3c 100644 --- a/.github/workflows/Doc.yml +++ b/.github/workflows/Doc.yml @@ -34,15 +34,15 @@ jobs: uses: actions/upload-artifact@v2 with: name: Documentation-HTML - path: build/sphinx/html + path: _build/html - name: 🚀 Publish site to GitHub Pages if: github.event_name != 'pull_request' run: | - cd build/sphinx/html + cd _build/html touch .nojekyll git init - cp ../../../.git/config ./.git/config + cp ../../.git/config ./.git/config git add . git config --local user.email "BuildTheDocs@GitHubActions" git config --local user.name "GitHub Actions" diff --git a/.gitignore b/.gitignore index 5ae293c..4611acf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -/source/build/ +/source/_build/ /source/env/ *.pyc *.sw* diff --git a/Makefile b/Makefile index 2224752..72a857f 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ include third_party/make-env/conda.mk SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = -BUILDDIR = build/sphinx +BUILDDIR = _build # Internal variables. PAPEROPT_a4 = -D latex_paper_size=a4 diff --git a/source/conf.py b/source/conf.py index c53ddea..9680142 100644 --- a/source/conf.py +++ b/source/conf.py @@ -32,7 +32,9 @@ master_doc = 'index' today_fmt = '%Y-%m-%d' -exclude_patterns = [] +exclude_patterns = [ + 'env' +] pygments_style = 'default'