-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs/reference: rename cli hierarchy to command
This performs two multi-page rename operations in one change (so that aliases don't have to be left around for pages in the short-lived, interim state). This is done to create space in the reference namespace for manually-curated pages about the different cue subcommands, as described below. Practically, this change moves all /docs/reference/cli/* pages to /docs/reference/command/*, continuing with our aim of not referring to the "CLI", but instead preferring the "cue command". It then moves all the /docs/reference/command/cue* pages (i.e. the same set as were renamed above) to /docs/reference/command/cue-help*, and updates the page's title to reflect the cue-help-based form. Whilst this second change nominally results in the on-page title and URL path reflecting the command that's actually demonstrated on the page, the primary rationale is to provide space in the hierarchy for future manually-curated pages to live. E.g. /docs/reference/command/cue-export/ will be the location where "cue export"-related links can point towards, showing the reader a page designed to receive the link, rather than the current generated cue command help text. Appropriate aliases are put in place so that inbound requests (for example) for /docs/reference/cli/cue-export/ will correctly end up at /docs/reference/command/cue-help-export/. Links across the site are updated. The distinct (but identical) "cue" and "cue help" pages are merged, conceptually now being served at "cue help". This is done via the removal of the bare "cue" page, whose original URL path (/docs/reference/cli/cue/) is added as an alias to the moved "cue help" page. This looks like a lot of changes to review (and it is, numerically), but it's mainly the result of changes to site.cue and content/docs/reference/command/commands.cue, followed by a go-generate. Some light "git grep"/"sed"/etc was also applied, to update the content of Hugo shortcodes in order to allow the site to build successfully. A non-exhaustive representative sample of pages is included in preview links, below, to help the reviewer satisfy themselves as to the correctness of the renames. Futher confidence may be gained from clicking from the references index page to the renamed "The cue command" section, and selecting various subcommands' pages. Preview-Path: /docs/reference/ Preview-Path: /docs/reference/cli/ Preview-Path: /docs/reference/command/ Preview-Path: /docs/reference/cli/cue-export/ Preview-Path: /docs/reference/command/cue-help-export/ Preview-Path: /docs/reference/cli/cue/ Preview-Path: /docs/reference/cli/cue-help/ Preview-Path: /docs/reference/command/cue-help/ Signed-off-by: Jonathan Matthews <github@hello.jonathanmatthews.com> Change-Id: I7d7ecb7bcb6a6a1d477002bfe3a31d8104db73e5 Dispatch-Trailer: {"type":"trybot","CL":1196994,"patchset":3,"ref":"refs/changes/94/1196994/3","targetBranch":"master"}
- Loading branch information
1 parent
fcdc044
commit e46a742
Showing
209 changed files
with
446 additions
and
545 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.