Skip to content

docs: fix incorrect code blocks#51132

Merged
alalazo merged 1 commit intodevelopfrom
hs/docs/overline-convention
Aug 11, 2025
Merged

docs: fix incorrect code blocks#51132
alalazo merged 1 commit intodevelopfrom
hs/docs/overline-convention

Conversation

@haampie
Copy link
Copy Markdown
Member

@haampie haampie commented Aug 9, 2025

Use of :: at the end of a line or .. code-block:: means "default
language", which is Python.

Fix cases where Python is the wrong language by using

.. code-block:: <lang>

Use of `::` at the end of a line or `.. code-block::` means "default
language", which is Python.

Fix cases where Python is the wrong language by using

```
.. code-block:: <lang>
```

Signed-off-by: Harmen Stoppels <[email protected]>
@alalazo alalazo self-assigned this Aug 11, 2025
@alalazo alalazo merged commit e98c62c into develop Aug 11, 2025
33 checks passed
@alalazo alalazo deleted the hs/docs/overline-convention branch August 11, 2025 08:29
@haampie haampie added the v1.0.1 PRs to backport for v1.0.1 label Aug 11, 2025
haampie added a commit that referenced this pull request Aug 11, 2025
Use of `::` at the end of a line or `.. code-block::` means "default
language", which is Python.

Fix cases where Python is the wrong language by using

```
.. code-block:: <lang>
```

Signed-off-by: Harmen Stoppels <[email protected]>
@haampie haampie mentioned this pull request Aug 11, 2025
29 tasks
alecbcs pushed a commit that referenced this pull request Aug 12, 2025
Use of `::` at the end of a line or `.. code-block::` means "default
language", which is Python.

Fix cases where Python is the wrong language by using

```
.. code-block:: <lang>
```

Signed-off-by: Harmen Stoppels <[email protected]>
alstar555 pushed a commit to alstar555/spack that referenced this pull request Aug 27, 2025
Use of `::` at the end of a line or `.. code-block::` means "default
language", which is Python.

Fix cases where Python is the wrong language by using

```
.. code-block:: <lang>
```

Signed-off-by: Harmen Stoppels <[email protected]>
Signed-off-by: Angelica Loshak <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v1.0.1 PRs to backport for v1.0.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants