Visitar URL original
Automatically maintain the /3/ symlink. · Issue #97 · python/docsbuild-scripts · GitHub
The Wayback Machine - https://web.archive.org/web/20201014095304/https://github.com/python/docsbuild-scripts/issues/97
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically maintain the /3/ symlink. #97

Open
JulienPalard opened this issue Oct 6, 2020 · 0 comments
Open

Automatically maintain the /3/ symlink. #97

JulienPalard opened this issue Oct 6, 2020 · 0 comments

Comments

@JulienPalard
Copy link
Member

@JulienPalard JulienPalard commented Oct 6, 2020

Currently, when a release is done, like today with 3.9, we have to maintain /3/ symlinks manually:

# logged as docsbuild, example for /es/ translation:
TRANS=es
cd /src/docs.python.org/$TRANS/
ln -nfs 3.9 3
chown -h docsbuild:docs 3
curl -XPURGE https://docs.python.org/$TRANS/3/
for file in 3/*/* 3/*; do echo "$file $(curl -s -XPURGE https://docs.python.org/pt-br/$file)"; done

It would be nice if the script could do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.