Skip to content

docs: replace RST double-backtick notation with single backticks in source docstrings #657

Closed

Description

@planetf1

Context

Follows from #656 (build-time fix for broken cross-reference links).

The root cause is RST-style ````Symbol```` notation in docstrings across the codebase. The build pipeline now auto-corrects this at generation time, but the source should be cleaned up to use standard Markdown/Google-style single backticks.

Scope

91 files, 992 occurrences in `mellea/` and `cli/`.

Detection: run the validator with `--source-dir mellea` — reports all occurrences as warnings.

uv run python tooling/docs-autogen/validate.py docs/docs/api \
    --source-dir mellea --skip-coverage

Example (before/after):

```python

Before (RST)

"""FormatterBackend extends the abstract Backend with a ChatFormatter."""

After (Markdown/Google)

"""FormatterBackend extends the abstract Backend with a ChatFormatter."""
```

Task

Do a bulk find-and-replace of ````word```` → ``word`` throughout `mellea/` and `cli/`. Verify the validator reports 0 warnings afterward.

When complete, the normalize_rst_backticks() pass in decorate_api_mdx.py can optionally be removed (or left as a safety net).

Activity

  1. added
    documentation
    good first issue
    on Mar 16, 2026
  2. self-assigned this
    on Apr 8, 2026
  3. added
    area/cli
    on May 20, 2026
  4. added this to the Release 0.6.0 milestone on May 27, 2026
  5. added 2 commits that reference this issue on May 27, 2026
    d8308a4
    9f32f21
  6. added a commit that references this issue on May 27, 2026
    14704e8
  7. added a commit that references this issue on May 27, 2026
    f0a2351
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/clidocumentationgood first issue

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions