Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
HuakunShen committed Oct 29, 2023
1 parent 612e53c commit 4d020d9
Show file tree
Hide file tree
Showing 120 changed files with 61 additions and 25,803 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,27 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Build Docs
run: |
cd docs
rm -rf code-doc && sphinx-apidoc -o source/code-doc ../fmtree
make html
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload entire repository
path: './docs'
path: './docs/build/html'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ python -m fmtree.image.dup ~/Downloads/images --output_dir ./out --remove_inplac
https://fmtree-dev.github.io/fmtree/

```bash
sphinx-build -b html build-docs/source docs
sphinx-build -b html docs/source docs
```

This command will generate docs in `docs` folder, push it and the content will be deployed to GitHub Pages.
4 changes: 0 additions & 4 deletions docs/.buildinfo

This file was deleted.

Binary file removed docs/.doctrees/environment.pickle
Binary file not shown.
Binary file removed docs/.doctrees/fmtree.core.doctree
Binary file not shown.
Binary file removed docs/.doctrees/fmtree.doctree
Binary file not shown.
Binary file removed docs/.doctrees/fmtree.visualizer.doctree
Binary file not shown.
Binary file removed docs/.doctrees/index.doctree
Binary file not shown.
Binary file removed docs/.doctrees/installation.doctree
Binary file not shown.
Binary file removed docs/.doctrees/modules.doctree
Binary file not shown.
Binary file removed docs/.doctrees/sample.doctree
Binary file not shown.
Binary file removed docs/.doctrees/tests.doctree
Binary file not shown.
File renamed without changes.
69 changes: 0 additions & 69 deletions docs/_sources/fmtree.core.rst.txt

This file was deleted.

19 changes: 0 additions & 19 deletions docs/_sources/fmtree.rst.txt

This file was deleted.

29 changes: 0 additions & 29 deletions docs/_sources/fmtree.visualizer.rst.txt

This file was deleted.

22 changes: 0 additions & 22 deletions docs/_sources/index.rst.txt

This file was deleted.

6 changes: 0 additions & 6 deletions docs/_sources/installation.rst.txt

This file was deleted.

8 changes: 0 additions & 8 deletions docs/_sources/modules.rst.txt

This file was deleted.

37 changes: 0 additions & 37 deletions docs/_sources/sample.rst.txt

This file was deleted.

21 changes: 0 additions & 21 deletions docs/_sources/tests.rst.txt

This file was deleted.

123 changes: 0 additions & 123 deletions docs/_static/_sphinx_javascript_frameworks_compat.js

This file was deleted.

Loading

0 comments on commit 4d020d9

Please sign in to comment.