-
Notifications
You must be signed in to change notification settings - Fork 4
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
Migrate organization websites #170
Comments
redeboer
added
❔ Question
Discuss this matter in the team
📝 Docs
Improvements or additions to documentation
labels
Jul 27, 2022
redeboer
changed the title
Migrate organization website to compwa.github.io
Migrate organization websites
Jan 13, 2024
This was referenced Jan 13, 2024
Here's a bash script for checking which ComPWA GitHub pages exist using the COMPWA_REPOS=$(gh repo list ComPWA --visibility=public --json name --jq '.[].name' | sort -f)
COMPWA_PAGES=()
for repo in $COMPWA_REPOS; do
URL="https://compwa.github.io"
if [[ $repo != "compwa.github.io" ]]; then
URL="$URL/$repo"
fi
response=$(curl -s --head -w "%{http_code}" $URL -o /dev/null)
if [[ $response -eq 200 ]] || [[ $response -eq 301 ]]; then
COMPWA_PAGES+="$URL "
fi
done
for page in $(echo "${COMPWA_PAGES[@]}" | tr ' ' '\n' | sort); do
echo $page
done As of writing, these are: |
Forced redirects from RTD work again since v10.15.1 🎉 |
This was referenced Jan 20, 2024
This was referenced Jan 20, 2024
This was referenced Jan 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The pages for this repository are currently hosted on RTD. Its URL is a bit ugly though (compwa-org.rtfd.io), especially since the original ComPWA C++ project has been archived and ComPWA is to be considered an organization anyway.
Since the pages for compwa-org on RTD are not versioned, we could host them on GitHub Pages, particularly on the namespace for the ComPWA GitHub organization (compwa.github.io). That URL currently hosts
pycompwa
's documentation, but that could be moved to compwa.github.io/pycompwa. The only thing that's lost is the ability to have PR previews, but that could be kept by just letting compwa-org.rtfd.io redirect to compwa.github.io (see RTD redirects).ComPWA ++ /
pycompwa
Organization page redirects
The text was updated successfully, but these errors were encountered: