Skip to content

Commit 5994202

Browse files
authored
Merge pull request #201 from ndem0/github_action
GitHub action for doc deploy
2 parents 227e701 + 40c1776 commit 5994202

File tree

2 files changed

+33
-9
lines changed

2 files changed

+33
-9
lines changed

.github/workflows/sphinx-build.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,23 @@ jobs:
1919

2020
- name: Conda install dependecies
2121
shell: bash -l {0}
22-
run: conda install --yes -c conda-forge pythonocc-core=7.4.0 numpy scipy matplotlib vtk nose setuptools coveralls python=3.7
22+
run: conda install --yes -c conda-forge pythonocc-core=7.4.0 numpy scipy matplotlib vtk nose setuptools coveralls sphinx_rtd_theme sphinx python=3.7
2323

2424
- name: Conda info
25-
shell: pwsh
26-
run: conda info -a
25+
shell: bash -l {0}
26+
run: conda info
27+
28+
- name: Conda info
29+
shell: bash -l {0}
30+
run: cd docs && sphinx-build -b html -d build/doctrees --keep-going --no-color -w '/tmp/sphinx-log' source build/html
31+
32+
#- name: Create the new documentation
33+
#uses: ammaraskar/sphinx-action@master
34+
#with:
35+
#docs-folder: "docs/"
36+
#pre-build-command: "ls -l /usr/share"
37+
#build-command: "sphinx-build -b html -d build/doctrees --keep-going --no-color -w '/tmp/sphinx-log' source build/html"
2738

28-
- name: Create the new documentation
29-
uses: ammaraskar/sphinx-action@master
30-
with:
31-
pre-build-command: "python -m pip install pip sphinx_rtd_theme -U"
32-
docs-folder: "docs/"
3339

3440
- name: Deploy
3541
uses: peaceiris/actions-gh-pages@v3

docs/source/LICENSE.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/source/LICENSE.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
License
2+
=======
3+
4+
The MIT License (MIT)
5+
6+
Copyright (c) 2016-2020 PyGeM contributors
7+
8+
Permission is hereby granted, free of charge, to any person obtaining a copy
9+
of this software and associated documentation files (the "Software"), to deal
10+
in the Software without restriction, including without limitation the rights
11+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
copies of the Software, and to permit persons to whom the Software is
13+
furnished to do so, subject to the following conditions:
14+
15+
The above copyright notice and this permission notice shall be included in all
16+
copies or substantial portions of the Software.
17+
18+
19+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)