Skip to content

Commit 0f46842

Browse files
committed
Revert previous commit - was pushed accidentally
This reverts commit cf03be8.
1 parent cf03be8 commit 0f46842

File tree

11 files changed

+12
-12
lines changed

11 files changed

+12
-12
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- CIBW_SKIP: '*-musllinux_*'
3535
- CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014_base_aarch64
3636
- CIBW_MANYLINUX_PYPY_AARCH64_IMAGE: manylinux2014_base_aarch64
37-
- CIBW_BEFORE_BUILD: pip install Sphinx"<7.2.0" && python buildconfig/makeref.py
37+
- CIBW_BEFORE_BUILD: pip install Sphinx"<7.2.0" && python setup.py docs
3838
- CIBW_TEST_COMMAND: python -m pygame.tests -v --exclude opengl,music,timing --time_out 300
3939
- CIBW_BUILD_VERBOSITY: 2
4040

.github/workflows/build-debian-multiarch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
# (done for optimization reasons)
101101
run: |
102102
echo "\nBuilding pygame wheel\n"
103-
python3 buildconfig/makeref.py
103+
python3 setup.py docs
104104
pip3 wheel . --no-build-isolation --wheel-dir /artifacts -vvv
105105
echo "\nInstalling wheel\n"
106106
pip3 install --no-index --pre --break-system-packages --find-links /artifacts pygame-ce

.github/workflows/build-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
154154
CIBW_BEFORE_BUILD: |
155155
pip install numpy Sphinx"<7.2.0"
156-
python buildconfig/makeref.py
156+
python setup.py docs
157157
cp -r ${{ github.workspace }}/pygame_mac_deps_${{ matrix.macarch }} ${{ github.workspace }}/pygame_mac_deps
158158
159159
# To remove any speculations about the wheel not being self-contained

.github/workflows/build-manylinux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
# command that runs before every build
6464
CIBW_BEFORE_BUILD: |
6565
pip install Sphinx"<7.2.0"
66-
python buildconfig/makeref.py
66+
python setup.py docs
6767
6868
CIBW_TEST_COMMAND: python -m pygame.tests -v --exclude opengl,music,timing --time_out 300
6969

.github/workflows/build-on-msys2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272

7373
- name: Building pygame wheel
7474
run: |
75-
python3 buildconfig/makeref.py
75+
python3 setup.py docs
7676
pip3 wheel . --wheel-dir /artifacts -vvv --no-build-isolation
7777
7878
- name: Installing wheel

.github/workflows/build-ubuntu-sdist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
6767
- name: Make sdist and install it
6868
run: |
69-
python3 buildconfig/makeref.py
69+
python3 setup.py docs
7070
python3 setup.py sdist
7171
pip3 install dist/pygame-*.tar.gz -vv
7272

.github/workflows/build-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
CIBW_BUILD: ${{ matrix.pyversions }}
133133
CIBW_ARCHS: ${{ matrix.winarch }}
134134

135-
CIBW_BEFORE_BUILD: pip install numpy Sphinx"<7.2.0" && python buildconfig/makeref.py
135+
CIBW_BEFORE_BUILD: pip install numpy Sphinx"<7.2.0" && python setup.py docs
136136

137137
CIBW_TEST_COMMAND: python -m pygame.tests -v --exclude opengl,timing --time_out 300
138138

.github/workflows/format-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ jobs:
5050

5151
- name: Check docs changes are checked in
5252
run: |
53-
python3 buildconfig/makeref.py
53+
python3 setup.py docs
5454
if [[ `git status --porcelain` ]]; then
5555
echo "Generating docs caused changes. Please check them in."
56-
echo "You may need to run: python3 buildconfig/makeref.py fullgeneration"
56+
echo "You may need to run: python3 setup.py docs --fullgeneration"
5757
# Run git status again, so people can see what changed.
5858
git status --porcelain
5959
exit 1

buildconfig/manylinux-build/build-wheels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ for PYVER in $SUPPORTED_PYTHONS; do
4242

4343
${PYTHON} -m pip install Sphinx
4444
cd io
45-
${PYTHON} buildconfig/makeref.py
45+
${PYTHON} setup.py docs
4646
cd ..
4747
${PYTHON} -m pip wheel --global-option="build_ext" --global-option="-j4" -vvv /io/ -w wheelhouse/
4848
done

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ but the documentation can also be launched with `python -m pygame.docs`
1010
Steps:
1111
- Install Sphinx (`pip install Sphinx`)
1212
- Fork the pygame-ce repository, download and navigate to it in the terminal
13-
- Run `python buildconfig/makeref.py`
13+
- Run `python setup.py docs`
1414

1515
This will create a new folder under the `docs` folder.
1616
In `docs/generated`, you will find a local copy of the pygame documentation.

0 commit comments

Comments
 (0)