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

deletes and redirects #2443

Merged
merged 7 commits into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
7 changes: 0 additions & 7 deletions docs/experiments-plus/experimentation/best-practices.md

This file was deleted.

This file was deleted.

13 changes: 0 additions & 13 deletions docs/experiments-plus/experimentation/common-terms.md

This file was deleted.

24 changes: 0 additions & 24 deletions docs/experiments-plus/experimentation/scenarios.md

This file was deleted.

11 changes: 0 additions & 11 deletions docs/experiments-plus/experimentation/why-experiment.md

This file was deleted.

16 changes: 16 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,22 @@ const config: Config = {
"@docusaurus/plugin-client-redirects",
{
redirects: [
{
from: "/experiments-plus/experimentation/why-experiment",
to: "/experiments-plus#why-experiment",
},
{
from: "/experiments-plus/experimentation/scenarios",
to: "/experiments-plus#scenarios-for-experimentation",
},
{
from: "/experiments-plus/experimentation/common-terms",
to: "/experiments-plus#key-concepts-in-experimentation",
},
{
from: "/experiments-plus/experimentation/choosing-randomization-unit/",
to: "/experiments-plus/#choosing-the-right-randomization-unit",
Copy link

Choose a reason for hiding this comment

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

There are two URL formatting inconsistencies to address:

  1. The from URL has a trailing slash while the to URL does not. For consistency, remove the trailing slash from:
from: "/experiments-plus/experimentation/choosing-randomization-unit/"
  1. The to URL has an extra slash that should be removed:
to: "/experiments-plus/#choosing-the-right-randomization-unit"

Spotted by Graphite Reviewer

Is this helpful? React 👍 or 👎 to let us know.

},
{
from: "/js-migration",
to: "/client/javascript-sdk/migrating-from-statsig-js",
Expand Down
Loading