-
-
Notifications
You must be signed in to change notification settings - Fork 121
Fix docs to use definition lists #1318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
📝 WalkthroughWalkthroughThis update reformats documentation across multiple CLI command and configuration files. Markdown tables and plain text lists describing arguments, flags, and configuration keys have been replaced with HTML definition lists ( Changes
Suggested labels
Suggested reviewers
✨ Finishing Touches🧪 Generate Unit Tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🔭 Outside diff range comments (2)
website/docs/cli/configuration/stacks.mdx (1)
52-230
: Nested markdown lists inside<dd>
may not render in MDX.
Embedding-
lists inside an HTML<dd>
block can prevent proper parsing. To ensure the nested examples render, convert those markdown lists to HTML<ul><li>
or nested<dl>
elements.website/docs/cli/commands/describe/describe-component.mdx (1)
62-67
: Inconsistent arguments formatting: still using a markdown table.
For consistency with flags and the rest of the CLI reference, convert the## Arguments
table into a<dl>
block.
🧹 Nitpick comments (2)
website/docs/core-concepts/projects/configuration/opentofu.mdx (1)
158-163
: Unify indentation for definition list entries
The<dt>
/<dd>
entries here are indented by two spaces, whereas the earlier list at lines 56–75 uses four spaces. For visual consistency, align both lists to the same indentation level.website/docs/cli/commands/helmfile/helmfile-generate-varfile.mdx (1)
49-60
: Adjust multi-line<dd>
indentation
The second line in the<dd>
for--file
is unindented, which reduces readability. Consider wrapping the content in a block and indenting consistently:<dl> <dt>`--file` (`-f`)</dt> - <dd>File name to write the varfile to.<br/> -If not specified, the varfile name is generated automatically from the context</dd> + <dd> + File name to write the varfile to.<br/> + If not specified, the varfile name is generated automatically from the context + </dd> </dl>
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (16)
website/docs/cli/commands/aws/aws-eks-update-kubeconfig.mdx
(1 hunks)website/docs/cli/commands/completion.mdx
(1 hunks)website/docs/cli/commands/describe/describe-component.mdx
(1 hunks)website/docs/cli/commands/describe/describe-dependents.mdx
(2 hunks)website/docs/cli/commands/helmfile/helmfile-generate-varfile.mdx
(1 hunks)website/docs/cli/commands/helmfile/usage.mdx
(1 hunks)website/docs/cli/commands/terraform/terraform-plan-diff.mdx
(2 hunks)website/docs/cli/commands/validate/validate-component.mdx
(1 hunks)website/docs/cli/commands/validate/validate-editorconfig.mdx
(1 hunks)website/docs/cli/commands/validate/validate-schema.mdx
(1 hunks)website/docs/cli/commands/validate/validate-stacks.mdx
(1 hunks)website/docs/cli/configuration/stacks.mdx
(4 hunks)website/docs/core-concepts/components/helmfile.mdx
(1 hunks)website/docs/core-concepts/components/terraform/terraform.mdx
(1 hunks)website/docs/core-concepts/projects/configuration/opentofu.mdx
(1 hunks)website/docs/tutorials/atmos-example-infra.mdx
(1 hunks)
🧰 Additional context used
🪛 LanguageTool
website/docs/tutorials/atmos-example-infra.mdx
[typographical] ~161-~161: To join two clauses or introduce examples, consider using an em dash.
Context: ...a terminal: - cd example
- make all
- it will build the Docker image, build th...
(DASH_RULE)
⏰ Context from checks skipped due to timeout of 90000ms (4)
- GitHub Check: Analyze (javascript-typescript)
- GitHub Check: Analyze (go)
- GitHub Check: Lint (golangci)
- GitHub Check: Summary
🔇 Additional comments (23)
website/docs/core-concepts/components/terraform/terraform.mdx (1)
157-162
: Semantically correct definition listThe
<dl>
,<dt>
, and<dd>
tags are used appropriately here to replace the previous bullet list, improving semantic structure and accessibility without altering content.website/docs/cli/commands/completion.mdx (1)
122-125
: Definition list for command argumentsThe new
<dl>
block correctly replaces the markdown table forshell_name
, preserving the description and required status.website/docs/tutorials/atmos-example-infra.mdx (2)
125-140
: Definition list for stack config sectionsThe
<dl>
markup clearly and semantically outlinesimport
,vars
,terraform
,helmfile
, andcomponents
sections. This enhances readability and consistency.
144-154
: Definition list for component typesThe second
<dl>
block correctly describes theterraform
andhelmfile
component configuration entries, matching the surrounding style.website/docs/core-concepts/components/helmfile.mdx (1)
26-31
: Argument definition listThe
<dl>
markup fornginx-ingress
and--stack=ue2-dev
is well-formed and aligns with the updated documentation style.website/docs/cli/commands/terraform/terraform-plan-diff.mdx (2)
27-30
: Definition list for command argumentReplacing the markdown list with
<dl>
for thecomponent
argument improves semantic clarity and consistency.
34-46
: Definition list for command flagsThe
<dl>
block covering-s, --stack
,--orig
,--new
, and--skip-init
is correctly structured and preserves all descriptions.website/docs/core-concepts/projects/configuration/opentofu.mdx (1)
56-75
: Approve semantic HTML definition list for Terraform options
The<dl>
correctly structures the Terraform component settings, improving semantic clarity without altering content.website/docs/cli/commands/helmfile/usage.mdx (2)
69-72
: Use<dl>
for arguments section (approved)
The conversion to a definition list correctly represents the requiredcomponent
argument semantically and preserves the original meaning.
74-83
: Use<dl>
for flags section (approved)
All flags (--stack
,--dry-run
,--redirect-stderr
) are accurately represented in the<dl>
, maintaining clarity and content.website/docs/cli/commands/validate/validate-schema.mdx (1)
52-55
: Use<dl>
for--schemas-atmos-manifest
flag (approved)
The single-flag entry is converted correctly to a definition list entry, keeping the full description intact.website/docs/cli/commands/validate/validate-stacks.mdx (1)
93-96
: Use<dl>
for--schemas-atmos-manifest
flag (approved)
The definition list entry accurately preserves the existing flag semantics and description.website/docs/cli/commands/helmfile/helmfile-generate-varfile.mdx (1)
42-45
: Use<dl>
for arguments section (approved)
The<dl>
for thecomponent
argument is correctly formatted, making the requirement explicit without content changes.website/docs/cli/commands/validate/validate-editorconfig.mdx (1)
41-86
: Looks good: Semantic definition list for flags is valid.
The<dl>
block correctly replaces the previous table and all<dt>
/<dd>
pairs are balanced.website/docs/cli/commands/aws/aws-eks-update-kubeconfig.mdx (2)
78-82
: Arguments section properly converted to<dl>
.
The single-argument<dl>
is concise and semantically correct.
86-113
: Flags section correctly formatted as a definition list.
All flags are now<dt>
/<dd>
entries with inline aliases and descriptions.website/docs/cli/commands/validate/validate-component.mdx (2)
44-47
: Argument<dl>
is correctly implemented.
The requiredcomponent
term is clearly defined in a semantic list.
49-64
: Flags refactored to<dl>
as intended.
Each flag description is clear, and the default timeout is noted.website/docs/cli/commands/describe/describe-component.mdx (2)
70-94
: Flags already converted to a semantic list.
The<dl>
for flags is well-formed with proper<dt>
/<dd>
pairs.
101-149
: Output sections broken into multiple<dl>
s correctly.
Both the top-level and nested<dl>
lists are balanced and semantically organized.Also applies to: 150-195
website/docs/cli/commands/describe/describe-dependents.mdx (3)
250-253
: Semantic definition list for Arguments
Switching from a plain list to<dl>
adds proper semantics for the CLI arguments.
255-267
: Flags section updated to<dl>
for clarity
The flag descriptions are now properly grouped under<dt>
/<dd>
pairs, improving readability.
294-327
: Output schema reformatted as HTML definition list
Converting the output fields to<dl>
ensures consistent, semantic documentation of each property.
Summary
<dl>
elementsTesting
git status --short
https://chatgpt.com/codex/tasks/task_b_68546ebc7f188332a30b6269b50073e7
Summary by CodeRabbit