change build directory to '_build'
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
This commit is contained in:
parent
5ff23d9042
commit
9659c046a3
|
@ -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"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/source/build/
|
/source/_build/
|
||||||
/source/env/
|
/source/env/
|
||||||
*.pyc
|
*.pyc
|
||||||
*.sw*
|
*.sw*
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
|
@ -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'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue