Skip to content

remove unneeded escapes#6403

Merged
Alek99 merged 1 commit intomainfrom
remove-unneeded-escapes
Apr 28, 2026
Merged

remove unneeded escapes#6403
Alek99 merged 1 commit intomainfrom
remove-unneeded-escapes

Conversation

@adhami3310
Copy link
Copy Markdown
Member

No description provided.

@adhami3310 adhami3310 requested review from a team and Alek99 as code owners April 28, 2026 02:46
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Apr 28, 2026

Greptile Summary

This PR removes unnecessary backslash escapes (\{, \}) from 24 documentation markdown files, where curly braces were being escaped despite the documentation renderer not requiring it inside code blocks. Several files also benefit from secondary cleanup: python exec template blocks replaced with static code blocks, long lines reformatted, indentation fixed, and single quotes standardised to double quotes.

Confidence Score: 5/5

Safe to merge — all changes are documentation-only, with no impact on runtime code.

Every changed file is a Markdown documentation file. The edits are mechanical escape removals, static content substitutions, and minor formatting fixes. No logic, configuration, or executable code is modified.

No files require special attention.

Important Files Changed

Filename Overview
docs/enterprise/ag_grid/index.md Removes backslash escapes throughout, reformats long dict literals and long lines for readability, adds blank lines before class definitions.
docs/getting_started/project-structure.md Replaces python exec block (dynamic app_name variable) with hardcoded 'hello' throughout — simplifies docs without loss of clarity.
docs/pages/overview.md Replaces python exec + template block with a plain static code block; single quotes changed to double quotes for consistency.
docs/styling/overview.md Replaces template-interpolated style dict blocks with hardcoded dict literals, removing the python exec indirection.
docs/wrapping-react/more-wrapping-examples.md Removes backslash escapes from JavaScript/Python code blocks including JSX expressions and leaflet URL template placeholders.
docs/wrapping-react/example.md Removes backslash escapes from dict literals and f-strings; changes single quotes to double quotes throughout Python examples.
docs/getting_started/chatapp_tutorial.md Fixes MDX link syntax (removes erroneous {} wrapper around URL) and removes escapes from dict/f-string examples.
docs/advanced_onboarding/how-reflex-works.md Removes backslash escapes from JSX code blocks and Python f-strings in documentation examples.
docs/api-reference/var_system.md Removes escape from ObjectVar example and f-string in code block; changes are purely cosmetic for the docs renderer.
docs/hosting/deploy-with-github-actions.md Removes backslash escapes from GitHub Actions ${{ }} expression syntax so it renders correctly in docs.
docs/wrapping-react/custom-code-and-hooks.md Removes escapes from dict literals, reformats VarData imports dict across multiple lines, fixes type hint spacing.
docs/database/queries.md Removes escape from dict literal passed to session.execute and collapses SQL string concatenation into a single line.
docs/database/relationships.md Removes backslash escapes from sa_relationship_kwargs dict literals in SQLModel relationship examples.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[24 Documentation .md Files] --> B{Change Type}
    B --> C[Remove backslash escapes from code blocks]
    B --> D[Replace python exec blocks with static code]
    B --> E[Reformat long lines and fix indentation]
    C --> F[Docs render correct syntax]
    D --> F
    E --> F
Loading

Reviews (1): Last reviewed commit: "remove unneeded escapes" | Re-trigger Greptile

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 28, 2026

Merging this PR will not alter performance

✅ 9 untouched benchmarks


Comparing remove-unneeded-escapes (13ea3ff) with main (e6e3784)

Open in CodSpeed
@Alek99 Alek99 merged commit eb43df4 into main Apr 28, 2026
27 checks passed
@Alek99 Alek99 deleted the remove-unneeded-escapes branch April 28, 2026 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants