https://github.com/oasisprotocol/docs-redirects
Temporary redirection repo for docs.oasis.dev -> docs.oasis.io
https://github.com/oasisprotocol/docs-redirects
Last synced: 5 months ago
JSON representation
Temporary redirection repo for docs.oasis.dev -> docs.oasis.io
- Host: GitHub
- URL: https://github.com/oasisprotocol/docs-redirects
- Owner: oasisprotocol
- Created: 2022-09-13T07:20:46.000Z (almost 4 years ago)
- Default Branch: gh-pages
- Last Pushed: 2022-09-13T08:16:04.000Z (almost 4 years ago)
- Last Synced: 2025-06-29T17:04:00.965Z (12 months ago)
- Language: HTML
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Temporary redirection repo for docs.oasis.dev -> docs.oasis.io
This is a temporary redirects repository from docs.oasis.dev -> docs.oasis.io.
Remove the repository after Sep 2023 or sooner, if other redirection mechanism
is implemented.
Commands used to generate the redirection pages:
```sh
# create template.phtml by taking arbitrary docusaurus redirect page and replace target url with PLACEHOLDER
cp ../docs/build/* .
find . | grep index\.html -i | xargs rm
for f in `find . -name index.html`; do cp template.phtml $f; done
for f in `find . -name index.html`; do p=${f:1:-11}; echo $p; sed -i "s|PLACEHOLDER|https\://docs.oasis.io$p|i" $f; done
```