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 uses: actions/upload-artifact@v2
with: with:
name: Documentation-HTML name: Documentation-HTML
path: build/sphinx/html path: _build/html
- name: 🚀 Publish site to GitHub Pages - name: 🚀 Publish site to GitHub Pages
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
run: | run: |
cd build/sphinx/html cd _build/html
touch .nojekyll touch .nojekyll
git init git init
cp ../../../.git/config ./.git/config cp ../../.git/config ./.git/config
git add . git add .
git config --local user.email "BuildTheDocs@GitHubActions" git config --local user.email "BuildTheDocs@GitHubActions"
git config --local user.name "GitHub Actions" git config --local user.name "GitHub Actions"

2
.gitignore vendored
View File

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

View File

@ -18,7 +18,7 @@ include third_party/make-env/conda.mk
SPHINXOPTS = SPHINXOPTS =
SPHINXBUILD = sphinx-build SPHINXBUILD = sphinx-build
PAPER = PAPER =
BUILDDIR = build/sphinx BUILDDIR = _build
# Internal variables. # Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4 PAPEROPT_a4 = -D latex_paper_size=a4

View File

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