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

docs: Remove why page and redirect to OPF #1052

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed docs/general/images/oasis-network/ecosystem.jpg
Binary file not shown.
Binary file removed docs/general/images/oasis-network/features.png
Binary file not shown.
Binary file not shown.
Binary file removed docs/general/images/oasis-network/partners.png
Binary file not shown.
Binary file removed docs/general/images/oasis-network/press_logos.png
Binary file not shown.
Binary file not shown.
Binary file removed docs/general/images/oasis-network/team_logos.png
Binary file not shown.
Binary file removed docs/general/images/oasis-network/timeline.png
Binary file not shown.
Binary file removed docs/general/images/oasis-network/uni_map.png
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/general/oasis-network/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ The versatility of the ParaTime layer allows the Oasis Network to expand and gro
### Learn more

<DocCard item={
findSidebarItem('/general/oasis-network/why-oasis')
findSidebarItem('/general/oasis-network/token-metrics-and-distribution')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can safely remove the "Learn more" section here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, you are right.

} />
222 changes: 0 additions & 222 deletions docs/general/oasis-network/why-oasis.md

This file was deleted.

8 changes: 6 additions & 2 deletions redirects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,13 +183,17 @@ export const redirectsOptions: Options = {
'/oasis-core-ledger/release-process', // #626 Deprecate oasis-core-ledger
]
},
{
to: 'https://oasisprotocol.org/',
from: '/general/oasis-network/why-oasis', // #1052 Redirect why page to OPF
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
from: '/general/oasis-network/why-oasis', // #1052 Redirect why page to OPF
from: [
'/general/oasis-network/why-oasis', // #1052 Redirect why page to OPF
'/oasis-network-primer/', // #200 Restructure docs
]

},
{
to: '/general/oasis-network/',
from: '/general/oasis-network/overview', // #200 Restructure docs
},
{
to: '/general/oasis-network/why-oasis',
from: '/oasis-network-primer/', // #200 Restructure docs
to: 'https://oasisprotocol.org/',
from: '/oasis-network-primer/', // #1052 Redirect why page to OPF
},
{
to: '/general/oasis-network/token-metrics-and-distribution',
Expand Down
1 change: 0 additions & 1 deletion sidebarGeneral.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export const sidebarGeneral: SidebarsConfig = {
id: 'general/oasis-network/README',
},
items: [
'general/oasis-network/why-oasis',
'general/oasis-network/token-metrics-and-distribution',
{
type: 'link',
Expand Down
Loading