diff --git a/man/flox-containerize.mdx b/man/flox-containerize.mdx index b14e22d..d0d8d57 100644 --- a/man/flox-containerize.mdx +++ b/man/flox-containerize.mdx @@ -104,12 +104,12 @@ container build time. See details below. ```text ContainerizeConfig ::= { user = null | -, exposed-ports = null | [, ...] -, cmd = null | [, ...] -, volumes = null | [, ...] -, working-dir = null | -, labels = null | Map[STRING, STRING] -, stop-signal = null | + exposed-ports = null | [, ...] + cmd = null | [, ...] + volumes = null | [, ...] + working-dir = null | + labels = null | Map[STRING, STRING] + stop-signal = null | } ``` diff --git a/man/manifest.toml.mdx b/man/manifest.toml.mdx index ad8ff75..6276e83 100644 --- a/man/manifest.toml.mdx +++ b/man/manifest.toml.mdx @@ -154,11 +154,11 @@ The full list of catalog descriptor options is: ```text Descriptor ::= { pkg-group = null | -, version = null | -, systems = null | [, ...] -, pkg-path = -, priority = null | -, outputs = null | "all" | [, ...] + version = null | + systems = null | [, ...] + pkg-path = + priority = null | + outputs = null | "all" | [, ...] } ``` @@ -261,9 +261,9 @@ The full list of flake descriptor options is: ```text Descriptor ::= { flake = -, systems = null | [, ...] -, priority = null | -, outputs = null | "all" | [, ...] + systems = null | [, ...] + priority = null | + outputs = null | "all" | [, ...] } ``` @@ -294,8 +294,8 @@ The full list of store path descriptor options is: ```text Descriptor ::= { store-path = STRING -, systems = null | [, ...] -, priority = null | + systems = null | [, ...] + priority = null | } ``` @@ -470,10 +470,10 @@ The full set of options for an individual service descriptor is: ```text ServiceDescriptor ::= { command = STRING -, vars = null | Map[STRING, STRING] -, is-daemon = null | BOOL -, shutdown = null | Shutdown -, systems = null | [, ...] + vars = null | Map[STRING, STRING] + is-daemon = null | BOOL + shutdown = null | Shutdown + systems = null | [, ...] } Shutdown ::= { @@ -560,18 +560,18 @@ IncludeDescriptor ::= LocalIncludeDescriptor LocalIncludeDescriptor ::= { dir = STRING -, name = null | STRING + name = null | STRING } FloxHubIncludeDescriptor ::= { remote = STRING -, name = null | STRING + name = null | STRING } # Deprecated, will be removed in a future release RemoteIncludeDescriptor ::= { remote = STRING -, name = null | STRING + name = null | STRING } ``` @@ -691,10 +691,10 @@ The full set of options is shown below: ```text BuildDescriptor ::= { command = STRING -, sandbox = null | ("off" | "pure") -, version = null | STRING | VersionFile | VersionCommand -, description = null | STRING -, runtime-packages = null | [, ...] + sandbox = null | ("off" | "pure") + version = null | STRING | VersionFile | VersionCommand + description = null | STRING + runtime-packages = null | [, ...] } VersionFile ::= { @@ -748,10 +748,10 @@ The full set of options are listed below: ```text Options ::= { systems = null | [, ...] -, activate = null | Activate -, allow = null | Allows -, semver = null | Semver -, cuda-detection = null | + activate = null | Activate + allow = null | Allows + semver = null | Semver + cuda-detection = null | } Activate ::= { @@ -760,8 +760,8 @@ Activate ::= { Allows ::= { unfree = null | -, broken = null | -, licenses = null | [, ...] + broken = null | + licenses = null | [, ...] } Semver ::= { diff --git a/scripts/sync-man-pages.sh b/scripts/sync-man-pages.sh index a7d74c8..40c9fea 100755 --- a/scripts/sync-man-pages.sh +++ b/scripts/sync-man-pages.sh @@ -56,7 +56,8 @@ sync_man_pages() { # Rewrite cross-references: (./flox-push.md) -> (/man/flox-push) sed -E -e 's|\(\./([A-Za-z0-9._-]+)\.md\)|(/man/\1)|g' \ -e 's|\[`([A-Za-z0-9._-]+)\([0-9]\)`\]|[`\1`]|g' \ - -e 's|^``` ([A-Za-z0-9_+-]+)$|```\1|' | + -e 's|^``` ([A-Za-z0-9_+-]+)$|```\1|' \ + -e 's/^, / /' | # Drop pandoc's '' block separators (MDX cannot parse HTML # comments) along with the blank line that follows each one awk '{