Skip to content

Fixes minor code block formatting for AutoMate docs - #4807

Merged
kellyguo11 merged 2 commits into
isaac-sim:developfrom
yijieg:fix_env_doc
Mar 4, 2026
Merged

kellyguo11 merged 2 commits into
isaac-sim:developfrom
yijieg:fix_env_doc

Conversation

@yijieg

@yijieg yijieg commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

The document is updated for the AutoMate environment. Now the code block looks correct in the document

Type of change

  • Documentation update

Checklist

  • [ x ] I have read and understood the contribution guidelines
  • [ x ] I have run the pre-commit checks with ./isaaclab.sh --format
  • [ x ] I have made corresponding changes to the documentation
  • [ x ] My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • [ x ] I have added my name to the CONTRIBUTORS.md or my name already exists there

@github-actions github-actions Bot added bug Something isn't working documentation Improvements or additions to documentation labels Mar 3, 2026
@greptile-apps

greptile-apps Bot commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR fixes a minor RST formatting issue in the AutoMate environment documentation by inserting a required blank line between a prose sentence and a .. code-block:: bash directive. In reStructuredText, directives must be preceded by a blank line; without it, the directive is treated as plain text and the code block does not render in the generated HTML documentation.

  • Adds one blank line before the .. code-block:: bash directive at line 301 of docs/source/overview/environments.rst
  • No logic, API, or behavioral changes — documentation only
  • The fix is correct and consistent with RST syntax requirements and the formatting used elsewhere in the same file

Confidence Score: 5/5

  • This PR is safe to merge — it is a one-line documentation fix with no code changes.
  • The change adds a single blank line required by RST syntax before a code-block directive. It is trivially correct, consistent with RST standards and with other usages in the same file, and carries zero risk of regressions.
  • No files require special attention.

Important Files Changed

Filename Overview
docs/source/overview/environments.rst Adds a missing blank line before a .. code-block:: bash directive in the AutoMate section; RST requires this blank line for the directive to render correctly as a code block rather than plain text.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["RST prose paragraph\n(CUDA 13 install note)"] -->|"blank line added by this PR"| B[".. code-block:: bash directive"]
    B --> C["Sphinx renders code block\nas formatted HTML"]
    A2["RST prose paragraph\n(before fix — no blank line)"] -->|"no blank line"| B2[".. code-block:: bash directive"]
    B2 --> C2["Directive treated as plain text\n(broken rendering)"]

    style C fill:#c8e6c9
    style C2 fill:#ffcdd2
Loading

Last reviewed commit: 40118ba

@kellyguo11 kellyguo11 changed the title minor fix for the code block in doc Fixes minor code block formatting for AutoMate docs Mar 4, 2026
@kellyguo11
kellyguo11 merged commit f684c95 into isaac-sim:develop Mar 4, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants