Repository navigation
Redirect old CLI, OpenID Connect and Octopus.Client child urls - #3479
Merged
Merged
Conversation
Moving the CLI reference to /docs/cli (#3431) left a redirect at /docs/octopus-rest-api/cli but none for the command pages beneath it, so links to pages such as /docs/octopus-rest-api/cli/octopus-config broke. Each of the 185 command pages now has a redirect stub at its old url. The underscore aliases that #3431 deleted (octopus_config and friends) are restored too, pointing straight at the new pages rather than chaining. The root stub moves back to cli/index.md, where it lived before the move. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The API move (#3439) left redirects at /docs/octopus-rest-api/openid-connect and /docs/octopus-rest-api/octopus.client but not at the pages beneath them. Each child page now redirects to its new home under /docs/api, and the two parent stubs move into their folders as index.md, as the CLI one did. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Pull request environment is available at https://stoctodocspr3479.z22.web.core.windows.net/. You can view the ephemeral environment status in Octopus Deploy. This environment will be automatically deprovisioned when the pull request is closed, or after 7 days of inactivity. |
samwld
approved these changes
Sep 28, 2026
samwld
left a comment
Contributor
There was a problem hiding this comment.
Having a . in a URL may cause you problems in the future.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two moves left redirects at a section's root but not at the pages beneath it, so deep links broke:
/docs/octopus-rest-api/clito/docs/cli. Links such as/docs/octopus-rest-api/cli/octopus-configstopped working./docs/octopus-rest-apito/docs/api. Links such as/docs/octopus-rest-api/octopus.client/getting-startedstopped working.CLI reference
All in
src/pages/docs/octopus-rest-api/cli/:octopus-config.mdredirects tohttps://octopus.com/docs/cli/octopus-config.octopus_config.md. They're back, and they point straight at the new pages so nothing chains through a second redirect.cli/index.md, where it was before the move. It still serves/docs/octopus-rest-api/cliand still redirects to/docs/cli.OpenID Connect and Octopus.Client
/docs/octopus-rest-api/...)/docs/api/...)openid-connect/github-actionsauthentication/openid-connect/github-actionsopenid-connect/other-issuersauthentication/openid-connect/other-issuersoctopus.client/getting-startedoctopus.client/getting-startedoctopus.client/using-client-directlyoctopus.client/using-client-directlyoctopus.client/using-client-in-octopusoctopus.client/using-client-in-octopusoctopus.client/using-resourcesoctopus.client/using-resourcesoctopus.client/working-with-spacesoctopus.client/working-with-spacesThe
openid-connect.mdandoctopus.client.mdparent stubs move into their folders asindex.md, as the CLI one did. Their urls and targets don't change.Checks
The stubs match the existing redirect files: same Redirect layout, frontmatter, byte-order mark and CRLF line endings. Every target was checked against the pages on disk.
🤖 Generated with Claude Code