-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update documentation workflow to support config files (#54)
Fix spacing Update conf.py Update doc-gen.yml Update doc-gen.yml Update doc-gen.yml Update doc-gen.yml Update doc-gen.yml Update conf.py Update doc-gen.yml Update doc-gen.yml Update dgp.rst Fix lint error Update conf.py Update doc-gen.yml
- Loading branch information
1 parent
ccf67e7
commit 998feae
Showing
3 changed files
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,18 +10,23 @@ jobs: | |
OS: ubuntu-18.04 | ||
PYTHON: '3.6' | ||
steps: | ||
- uses: actions/checkout@master | ||
with: | ||
fetch-depth: ‘1’ | ||
- name: Setup Python | ||
uses: actions/setup-python@master | ||
with: | ||
python-version: 3.6 | ||
- name: Setup reqs | ||
- name: Setup requirements and run sphinx | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install cython==0.29.21 numpy==1.19.4 | ||
- name: Push Sphinx Pages | ||
uses: seanzhengw/sphinx-pages@master | ||
pip install -r requirements.txt | ||
cd docs | ||
make html | ||
- name: Push Sphinx Pages to Webserver | ||
uses: JamesIves/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
create_readme: true | ||
source_dir: ./docs/source | ||
install_extensions: false | ||
branch: gh-pages | ||
folder: ./docs/build/html | ||
commit-message: 'docs: update build documentation' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,9 +8,7 @@ Subpackages | |
:maxdepth: 4 | ||
|
||
dgp.annotations | ||
dgp.contribs | ||
dgp.datasets | ||
dgp.proto | ||
dgp.scripts | ||
dgp.utils | ||
|
||
|