Skip to content
This repository was archived by the owner on Jun 12, 2023. It is now read-only.

Commit 2dba9d6

Browse files
delete web stuff
1 parent 9cf9671 commit 2dba9d6

File tree

3 files changed

+20
-37
lines changed

3 files changed

+20
-37
lines changed

Makefile

-13
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,12 @@ SHELL := /bin/bash
1515

1616
init-repos:
1717
git clone https://github.com/pandas-dev/pandas && git -C pandas remote rename origin upstream && git -C pandas remote add origin https://github.com/$(GH_USERNAME)/pandas
18-
git clone https://github.com/pandas-dev/pandas-website && git -C pandas-website remote rename origin upstream && git -C pandas-website remote add origin https://github.com/$(GH_USERNAME)/pandas-website
1918
git clone https://github.com/conda-forge/pandas-feedstock && git -C pandas-feedstock remote rename origin upstream && git -C pandas-feedstock remote add origin https://github.com/$(GH_USERNAME)/pandas-feedstock
2019
git clone --recursive https://github.com/MacPython/pandas-wheels && git -C pandas-wheels remote rename origin upstream && git -C pandas-wheels remote add origin https://github.com/$(GH_USERNAME)/pandas-wheels
2120

2221
update-repos:
2322
git -C pandas checkout master && git -C pandas pull
2423
git -C pandas-wheels checkout master && git -C pandas-wheels pull
25-
git -C pandas-website checkout master && git -C pandas-website pull
2624
git -C pandas-feedstock checkout master && git -C pandas-feedstock pull
2725
pushd pandas-wheels && git submodule update --recursive --remote && popd
2826

@@ -105,17 +103,6 @@ link-version:
105103

106104
push-doc: | upload-doc link-stable link-version
107105

108-
website:
109-
pushd pandas/web && \
110-
git checkout master && \
111-
git pull && \
112-
./pandas_web.py pandas && \
113-
popd
114-
115-
116-
push-website:
117-
rsync -ravzI -e ssh pandas/web/build/* pandas.pydata.org:/usr/share/nginx/pandas/
118-
119106
push-tag:
120107
pushd pandas && ../scripts/push-tag.py $(TAG) && popd
121108

README.md

+1-20
Original file line numberDiff line numberDiff line change
@@ -93,34 +93,15 @@ Finalize the docs
9393

9494
```
9595
make upload-doc
96-
make website
9796
```
9897

99-
You also need to make edits to the pandas-website to appropriately display items.
100-
Ideally this could be done via `make push-website` as the rule exists but the
101-
intermediary steps aren't fully automated yet.
98+
To make sure /stable and the latest minor revision point to the new release run the following.
10299

103-
```sh
104-
pushd pandas-website
105-
mv latest.rst previous.rst
106-
# Recreate latest.rst to match release notes from GH in earlier steps
107-
# Update pre_release.json and releases.json
108-
git commit -am "Your updates"
109-
git push
110-
make html
111-
make upload
112100
```
113-
114-
To make sure /stable and the latest minor revision point to the new release run the following from root
115-
116-
```sh
117-
popd # should bring us back to root from pandas-website
118101
make link-stable
119102
make link-version
120103
```
121104

122-
Now check pandas.pydata.org and ensure the sidebar and links are correct!
123-
124105
goto announce.
125106

126107

windows.md

+19-4
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,12 @@ TODO: add steps to clean the pandas-docs directory from the docker container bef
224224
docker run -t --rm -v %cd%:/local -v pandas-release:/pandas-release pandas-release /bin/bash -c "cp -r /pandas-release/pandas/doc/build/ /local/pandas-docs"
225225
```
226226

227-
## Upload the docs
227+
## Upload the Docs
228228
<!--
229229
TODO: add steps to update website and reorder so that docs are uploaded b4 github release
230230
TODO: add the ssh keys to the Docker image or on container creation
231231
-->
232-
Copy ssh key and config into release container and restart container
232+
Copy ssh key and config into release container and restart container.
233233

234234
```
235235
docker cp %userprofile%/.ssh pandas-release:/root/.ssh
@@ -259,6 +259,21 @@ make upload-pypi
259259
exit
260260
```
261261

262-
## Finalize the docs
262+
## Finalize the Docs
263263

264-
...
264+
Do this once the wheels are available on PyPI.
265+
266+
```
267+
docker start pandas-release -i
268+
269+
make link-stable
270+
271+
make link-version
272+
273+
exit
274+
```
275+
276+
# Announce
277+
278+
- [ ] Announce Mailing List
279+
- [ ] Announce Twitter

0 commit comments

Comments
 (0)