brief version
Manage documentation versions, defaults, settings, and navigation order within a tab.
Manage versions within a tab
Usage#
Subcommands#
brief version list— List versionsbrief version add— Create an empty version or copy an existing versionbrief version rename— Rename a versionbrief version remove— Remove a version and its pagesbrief version set-default— Set the default versionbrief version inspect— Inspect authored and effective settingsbrief version update— Update validated settingsbrief version order— Place an entry among its siblings; defaults to lastbrief version help— display help for command
Options#
-h, --helpDefaultundefinedbooleanDisplay the concise help for this command
Global options are also accepted.
brief version list#
List versions
Usage#
Options#
--tab <tab>DefaultundefinedstringTab to use; required when the site has several
-h, --helpDefaultundefinedbooleanDisplay the concise help for this command
brief version add#
Create an empty version or copy an existing version
Usage#
Arguments#
<VERSION>RequiredstringVersion name, such as v2
Options#
--dry-runDefaultundefinedbooleanPrint changes without writing them
--no-update-linksDefaulttruebooleanDo not rewrite links when URLs change
--tab <tab>DefaultundefinedstringTab to use; required when the site has several
--from <version>DefaultundefinedstringCopy pages from this version
--emptyDefaultundefinedbooleanStart with no pages
--label <text>DefaultundefinedstringLabel shown in the version picker; defaults to the name
--set-defaultDefaultundefinedbooleanSet the new version as the default
-h, --helpDefaultundefinedbooleanDisplay the concise help for this command
brief version rename#
Rename a version
Usage#
Arguments#
<VERSION>RequiredstringVersion to rename
<NEW-NAME>RequiredstringNew name
Options#
--dry-runDefaultundefinedbooleanPrint changes without writing them
--no-update-linksDefaulttruebooleanDo not rewrite links when URLs change
--tab <tab>DefaultundefinedstringTab to use; required when the site has several
-h, --helpDefaultundefinedbooleanDisplay the concise help for this command
brief version remove#
Remove a version and its pages
Usage#
Arguments#
<VERSION>RequiredstringVersion to remove
Options#
--dry-runDefaultundefinedbooleanPrint changes without writing them
--no-update-linksDefaulttruebooleanDo not rewrite links when URLs change
--tab <tab>DefaultundefinedstringTab to use; required when the site has several
--forceDefaultundefinedbooleanConfirm deletion of the version and its pages
-h, --helpDefaultundefinedbooleanDisplay the concise help for this command
brief version set-default#
Set the default version
Usage#
Arguments#
<VERSION>RequiredstringVersion to set as default
Options#
--dry-runDefaultundefinedbooleanPrint changes without writing them
--no-update-linksDefaulttruebooleanDo not rewrite links when URLs change
--tab <tab>DefaultundefinedstringTab to use; required when the site has several
-h, --helpDefaultundefinedbooleanDisplay the concise help for this command
brief version inspect#
Inspect authored and effective settings
Usage#
Arguments#
<PATH>RequiredstringSource path relative to the documentation root
Options#
--locale <tag>DefaultundefinedstringTranslation to inspect or update
--jsonDefaultundefinedbooleanPrint a structured result
-h, --helpDefaultundefinedbooleanDisplay the concise help for this command
brief version update#
Update validated settings
Usage#
Arguments#
<PATH>RequiredstringSource path relative to the documentation root
Options#
--locale <tag>DefaultundefinedstringTranslation to inspect or update
--jsonDefaultundefinedbooleanPrint a structured result
--input <file>DefaultundefinedstringJSON settings patch file; use - for stdin
--set <key=json>Default[]string[]Set a field to a JSON value; repeat as needed
--unset <key>Default[]string[]Remove a field or override; repeat as needed
--dry-runDefaultundefinedbooleanValidate and preview without writing
--no-update-linksDefaulttruebooleanLeave authored links unchanged when URLs change
--title <value>DefaultundefinedstringSet title
--description <value>DefaultundefinedstringSet description
--label <value>DefaultundefinedstringSet label
--slug <value>DefaultundefinedstringSet slug
--canonical <value>DefaultundefinedstringSet canonical
--draft <value>DefaultundefinedstringSet draft
--hidden <value>DefaultundefinedstringSet hidden
--noindex <value>DefaultundefinedstringSet noindex
--searchable <value>DefaultundefinedstringSet searchable
--agents <value>DefaultundefinedstringSet agents
-h, --helpDefaultundefinedbooleanDisplay the concise help for this command
brief version order#
Place an entry among its siblings; defaults to last
Usage#
Arguments#
<PATH>RequiredstringSource path relative to the documentation root
Options#
--before <path>DefaultundefinedstringPlace before this sibling
--after <path>DefaultundefinedstringPlace after this sibling
--firstDefaultundefinedbooleanPlace first
--lastDefaultundefinedbooleanPlace last
--locale <tag>DefaultundefinedstringUpdate this locale override
--dry-runDefaultundefinedbooleanValidate and preview without writing
--jsonDefaultundefinedbooleanPrint a structured result
-h, --helpDefaultundefinedbooleanDisplay the concise help for this command
brief version help#
display help for command