Configure and format the project #68
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
name: docs | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "svgdatagrabber/**" | |
- "docs/source/**" | |
- ".github/workflows/pages.yml" | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "svgdatagrabber/**" | |
- "docs/source/**" | |
- ".github/workflows/pages.yml" | |
workflow_dispatch: | |
concurrency: | |
group: pages-${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Installing the library | |
run: | | |
pip install -e .[docs] | |
- name: Build and Commit | |
uses: sphinx-notes/pages@v2 | |
with: | |
documentation_path: docs |