-
Notifications
You must be signed in to change notification settings - Fork 78
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
add query to the wiki url to hide the header #1363
Conversation
- wiki issue #355 - this improves display of the wiki when it is embedded in MetaOS.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A quick search of the codebase reveals a whole bunch of links to wiki.metagame.wtf, do we want to change those too?
Any links that currently link out to the wiki will work as normal but yes, there's a couple that should be updated - 2 in the megamenu for a start. I'll update them. |
922e05a
to
e97c0b0
Compare
@alalonde i have updated the 3 other wiki references in the megamenu but i think other links to the wiki that are present throughout only link out to the wiki and don't iframe the wiki in MetaOS. Would be nice if we didn't have to link out and could keep all wiki links iframed but that is a bigger job that we could maybe tackle after v1.0? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've no problems.
Successfully undeployed the Preview of this Pull Request |
Overview
What features/fixes does this PR include?
adds a query to the url for the wiki so it hides and applies some specific styles to the wiki header when it is embedded in metaOS.
We've also removed the old wiki homepage and added a 301 redirect in Vercel to handle the removal of
/docs/
from wiki URLs.Please provide the GitHub issue number
Wiki issue 355
Requires MetaFam/metagame-wiki#356 to be merged first.
Follow up Improvement Ideas
Implementation
Describe technical (nontrivial / non-obvious) parts of your code
Side effects
Assets
[Include screenshots/videos if it makes reviewing easier.]