File tree Expand file tree Collapse file tree 6 files changed +53
-13
lines changed Expand file tree Collapse file tree 6 files changed +53
-13
lines changed Original file line number Diff line number Diff line change @@ -106,8 +106,9 @@ jobs:
106
106
steps :
107
107
- uses : actions/download-artifact@v4
108
108
with :
109
+ merge-multiple : true
109
110
path : artifacts
110
111
111
112
# note wheels should be in subdirectories named <artifact_name>
112
113
- name : Check number of downloaded artifacts
113
- run : ls -l artifacts/*
114
+ run : ls -l artifacts/
Original file line number Diff line number Diff line change
1
+ name : Docs
2
+ on :
3
+ workflow_dispatch :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - master
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-22.04
12
+
13
+ steps :
14
+ - uses : actions/checkout@v4
15
+ with :
16
+ fetch-depth : 0
17
+
18
+ - uses : actions/setup-python@v5
19
+ with :
20
+ python-version : ' 3.9'
21
+
22
+ - name : Add python requirements
23
+ run : |
24
+ python -m pip install --upgrade pip
25
+ pip install tox
26
+
27
+ - name : Install Ubuntu build deps
28
+ run : |
29
+ sudo apt-get -qq update
30
+ sudo apt-get install -y libre2-dev
31
+
32
+ - name : Build docs
33
+ run : |
34
+ tox -e ldocs,docs
35
+
36
+ - uses : actions/upload-artifact@v4
37
+ with :
38
+ name : ApiDocsHTML
39
+ path : " docs/_build/html/"
40
+
41
+ - name : set nojekyll for github
42
+ run : |
43
+ sudo touch docs/_build/html/.nojekyll
44
+
45
+ - name : Deploy docs to gh-pages
46
+ if : ${{ github.event_name == 'push' }}
47
+ uses : JamesIves/github-pages-deploy-action@v4
48
+ with :
49
+ folder : docs/_build/html/
Original file line number Diff line number Diff line change 18
18
:target: https://badge.fury.io/py/pyre2
19
19
:alt: Pypi version
20
20
21
- .. image :: https://github.com/andreasvc/pyre2/workflows/Conda /badge.svg
22
- :target: https://github.com/andreasvc/pyre2/actions?query=workflow:Conda
21
+ .. image :: https://github.com/andreasvc/pyre2/actions/ workflows/conda-dev.yml /badge.svg
22
+ :target: https://github.com/andreasvc/pyre2/actions/workflows/conda-dev.yml
23
23
:alt: Conda CI Status
24
24
25
25
.. image :: https://img.shields.io/github/license/andreasvc/pyre2
Original file line number Diff line number Diff line change 42
42
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
43
43
# ones.
44
44
extensions = [
45
- 'sphinx_git' ,
46
45
'sphinxcontrib.apidoc' ,
47
- 'sphinx.ext.autodoc' ,
48
46
'sphinx.ext.doctest' ,
49
47
'sphinx.ext.intersphinx' ,
50
48
'sphinx.ext.todo' ,
Original file line number Diff line number Diff line change 1
1
Welcome to the Pyre2 documentation!
2
2
===================================
3
3
4
- .. git_commit_detail ::
5
- :branch:
6
- :commit:
7
- :sha_length: 10
8
- :uncommitted:
9
- :untracked:
10
-
11
4
.. toctree ::
12
5
:caption: Contents:
13
6
:maxdepth: 3
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ setup_requires =
27
27
[options.extras_require]
28
28
doc =
29
29
sphinx
30
- sphinx_git
31
30
sphinx_rtd_theme
32
31
sphinxcontrib-apidoc
33
32
You can’t perform that action at this time.
0 commit comments