File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Docs
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+
8
+ jobs :
9
+ docs :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v1
13
+ - uses : actions/setup-python@v1
14
+ - name : Build docs
15
+ run : |
16
+ pip install --upgrade tox
17
+ tox -e docs
18
+ - name : Publish to gh-pages
19
+
20
+ env :
21
+ ACCESS_TOKEN : ${{ secrets.DocsPushToken }}
22
+ BRANCH : gh-pages
23
+ FOLDER : docs/_build/html/
Original file line number Diff line number Diff line change 42
42
"sphinx.ext.viewcode" ,
43
43
# Link to other sphinx docs
44
44
"sphinx.ext.intersphinx" ,
45
+ # Add a .nojekyll file to the generated HTML docs
46
+ # https://help.github.com/en/articles/files-that-start-with-an-underscore-are-missing
47
+ "sphinx.ext.githubpages" ,
45
48
]
46
49
47
50
intersphinx_mapping = {"python" : ("https://docs.python.org/3/" , None )}
You can’t perform that action at this time.
0 commit comments