Skip to content

Commit

Permalink
build from readme
Browse files Browse the repository at this point in the history
  • Loading branch information
PartTimeLegend committed Mar 26, 2024
1 parent 3852b93 commit caab51e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x # Specify the Python version you're using
python-version: 3.x # Change to your Python version if necessary

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install sphinx sphinx-rtd-theme
- name: Build documentation
- name: Build Sphinx documentation
run: |
mkdir -p docs
cd docs
sphinx-build -M html ../ ./ -W --keep-going
sphinx-quickstart --quiet --sep --no-makefile --dot _ --suffix .rst --master index --ext-autodoc --ext-viewcode --ext-doctest docs
mv README.md docs
sphinx-build -b html docs docs/_build
working-directory: ${{ github.workspace }}
- name: Deploy documentation
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit caab51e

Please sign in to comment.