Skip to content

Commit a5ab28e

Browse files
committed
🎨 format and use non-editable installation
1 parent 5378bfa commit a5ab28e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/docs.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [main]
88
release:
99
types: [published]
10-
10+
1111
jobs:
1212
test:
1313
name: Test
@@ -21,24 +21,24 @@ jobs:
2121
uses: actions/setup-python@v5
2222
with:
2323
python-version: ${{ matrix.python-version }}
24-
cache: 'pip' # caching pip dependencies
25-
cache-dependency-path: '**/pyproject.toml'
24+
cache: "pip" # caching pip dependencies
25+
cache-dependency-path: "**/pyproject.toml"
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip
29-
pip install -e .[docs]
29+
pip install .[docs]
3030
- name: Build references
3131
run: |
32-
cd docs
33-
sphinx-apidoc --force --implicit-namespaces --module-first -o reference ../src/vuegen
32+
cd docs
33+
sphinx-apidoc --force --implicit-namespaces --module-first -o reference ../src/vuegen
3434
- name: Build documentation
3535
run: |
36-
cd docs
37-
sphinx-build -n --keep-going -b html ./ ./_build/
36+
cd docs
37+
sphinx-build -n --keep-going -b html ./ ./_build/
3838
# --- HTML example deployment ---
3939
- name: Rename entry point of report to index.html
4040
run: |
41-
mv docs/quarto_report/quarto_report.html docs/quarto_report/index.html
41+
mv docs/quarto_report/quarto_report.html docs/quarto_report/index.html
4242
- name: Publish HTML report to GitHub Pages (gh-pages branch)
4343
# Only publish a new static report upon a new release -> can be changed.
4444
if: startsWith(github.ref, 'refs/tags')
@@ -62,4 +62,4 @@ jobs:
6262
with:
6363
github_token: ${{ secrets.GITHUB_TOKEN }}
6464
publish_dir: docs/
65-
publish_branch: streamlit-report-example
65+
publish_branch: streamlit-report-example

0 commit comments

Comments
 (0)