Skip to content

Commit

Permalink
try building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhxszo committed Aug 26, 2024
1 parent c495b56 commit 47c21f8
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
22 changes: 21 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,24 @@ jobs:
with:
name: code-coverage-report
path: htmlcov/
retention-days: 1
retention-days: 1

build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 'Choose Python version 3.11'
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- run: sudo apt-get install -y pandoc
- name: install package
run: pip install .
- name: install doc_reqs
run: pip install -r docs_requirements.txt
- name: 'run docs-build'
run: sphinx-build -j auto -b html "docs/source" "docs/build/html"
- uses: actions/upload-pages-artifact@v3.0.1
with:
path: 'docs/build/html/'
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
__pycache__/
*.pyc
*.pytest_cache/
*.txt
docs/build/
2 changes: 1 addition & 1 deletion docs_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sphinx<7
sphinx-rtd-theme

nbsphinx

0 comments on commit 47c21f8

Please sign in to comment.