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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct documentation redirects (and fix the workflow) #1621

Merged
merged 13 commits into from Oct 15, 2020

Conversation

siku2
Copy link
Member

@siku2 siku2 commented Oct 15, 2020

Description

See #1619 for what went wrong.

I finally bit the bullet and set up a test Firebase environment again so this time it'll work for sure 馃檭

I also remembered that our redirects were kinda broken so I fixed that too.

Fixes #1563

Change list

  • renamed intro.md to index.md. By having an actual index file, most of the redirect problems magically go away. I added a redirect from /intro to / so old links don't break.
  • removed the redirects which weren't required at all because Docusaurus already builds the file structure with redirects.
  • removed the rewrite. 404s now actually 404 instead of just redirecting to the intro. This should help avoid confusing situations, especially with other languages (See Modified links for documents聽#1562)

@siku2 siku2 added documentation meta Repository chores and tasks labels Oct 15, 2020
@siku2 siku2 merged commit cbf6a13 into yewstack:master Oct 15, 2020
@siku2 siku2 deleted the hello-darkness-my-old-friend branch October 15, 2020 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation meta Repository chores and tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix documentation redirects
1 participant