Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
harrydobbs committed Sep 25, 2024
1 parent 7758942 commit 8196f24
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,18 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install -r requirements.txt
- run: pip install sphinx sphinx-autodoc-typehints
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
pip install sphinx sphinx-autodoc-typehints
- name: Sphinx build
run: |
sphinx-apidoc -o . .
sphinx-apidoc -o docs/source .
cd docs
make html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/html
publish_dir: docs/_build/html
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,11 @@ find = {} # Scan the project directory with the default parameters

[project.urls]
Homepage = "https://github.com/harrydobbs/torch_ransac3d"
Issues = "https://github.com/harrydobbs/torch_ransac3d/issues"
Issues = "https://github.com/harrydobbs/torch_ransac3d/issues"


[project.optional-dependencies]
dev = [
"sphinx",
"sphinx-autodoc-typehints",
]

0 comments on commit 8196f24

Please sign in to comment.