Skip to content

Conversation

@OskarStark
Copy link
Contributor

Q A
Bug fix? no
New feature? no
Docs? no
Issues --
License MIT

Changed single backticks to double backticks for inline code/literals
in RST documentation, following reStructuredText conventions:
- Single backticks are for interpreted text roles (references)
- Double backticks are for inline literals (code, identifiers)

🤖 Generated with [Claude Code](https://claude.com/claude-code)
@OskarStark OskarStark merged commit 9fc6e02 into symfony:main Nov 28, 2025
15 checks passed
OskarStark added a commit to OskarStark/doctor-rst that referenced this pull request Nov 28, 2025
This adds a new UseDoubleBackticksForInlineLiterals rule that detects
inline literals wrapped in single backticks and suggests using double
backticks instead.

In RST, single backticks are for interpreted text roles (like :ref:,
:doc:, :class:), while double backticks are for inline literals.

The rule correctly skips RST roles and only flags standalone single
backtick text like `vector` that should be ``vector``.

See: symfony/ai#1014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants