Skip to content

Commit

Permalink
Merge pull request #2354 from Agenta-AI/docs/forward-old-reference-li…
Browse files Browse the repository at this point in the history
…nks-cli

Redirects for cli quick-usage in docs
  • Loading branch information
mmabrouk authored Dec 8, 2024
2 parents 413bf0f + 6667ed1 commit 3bc24a6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,13 +277,17 @@ const config: Config = {
{
redirects: [
{
from: "/prompt-management/creating-a-custom-template",
to: "/custom-workflows/quick-start",
from: "/prompt-management/creating-a-custom-template",
to: "/custom-workflows/quick-start",
},
{
from: "/reference/sdk/quick_start",
to: "/reference/sdk/deprecated-v2/quick_start",
},
{
from: "/reference/cli/quick-usage",
to: "/reference/cli/cli-reference",
},
],
createRedirects(existingPath) {
if (existingPath.includes('/reference/sdk/core_functions')) {
Expand Down

0 comments on commit 3bc24a6

Please sign in to comment.