change build directory to '_build'

Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
This commit is contained in:
Unai Martinez-Corral 2022-02-10 03:19:21 +01:00
parent 5ff23d9042
commit 9659c046a3
4 changed files with 8 additions and 6 deletions

View File

@ -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"

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
/source/build/
/source/_build/
/source/env/
*.pyc
*.sw*

View File

@ -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

View File

@ -32,7 +32,9 @@ master_doc = 'index'
today_fmt = '%Y-%m-%d'
exclude_patterns = []
exclude_patterns = [
'env'
]
pygments_style = 'default'