Skip to content
This repository was archived by the owner on Jul 3, 2025. It is now read-only.

Commit b412176

Browse files
committed
rtd pynb fix
1 parent a6eecf8 commit b412176

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/rtd.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
run: |
1818
shopt -s extglob
1919
cd examples/ && cp -r !(statmechcrack) ../docs/ && cd ../
20+
cp ./setup.py docs/setup.py
2021
cp ./README.rst docs/README.rst
2122
cp ./.readthedocs.yaml docs/.readthedocs.yaml
2223
- name: Upload docs
@@ -47,6 +48,7 @@ jobs:
4748
- name: Move README.rst and .readthedocs.yaml
4849
run: |
4950
ls docs/
51+
mv docs/setup.py ./setup.py
5052
mv docs/README.rst ./README.rst
5153
mv docs/.readthedocs.yaml ./.readthedocs.yaml
5254
- name: Download source
@@ -58,6 +60,7 @@ jobs:
5860
run: |
5961
git config user.name "GitHub Actions"
6062
git config user.email "<>"
63+
git add setup.py
6164
git add README.rst
6265
git add .readthedocs.yaml
6366
git add docs/

0 commit comments

Comments
 (0)