Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Greptile SummaryThis PR makes cosmetic and navigational clean-up changes to the docs site: the Enterprise entry is removed from the docs navbar (and its associated active-state logic is cleaned up in both Key changes:
Confidence Score: 5/5Safe to merge — all remaining findings are minor style/cleanup issues with no functional impact. All changes are cosmetic (colour tokens, label renames, layout tweaks) or clean removal of the enterprise nav entry. The only actionable finding is the two unused imports left behind in docpage.py, which is a cleanup nit with no runtime impact. All other notes are whitespace and a pre-existing commented-out CSS rule. pcweb/templates/docpage/docpage.py — unused Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Router Path] --> B{active_str starts with /}
B -- Yes --> C[active = path == active_str\ne.g. Overview active only at /docs]
B -- No --> D{active_str == 'framework'}
D -- Yes --> E[is_docs = path contains /docs\nis_ai_builder = path contains ai-builder\nis_hosting = path contains hosting\nis_start = path == /docs]
E --> F[active = is_docs AND NOT is_ai_builder\nAND NOT is_hosting AND NOT is_start]
D -- No --> G[active = path contains active_str\ne.g. Build with AI, Cloud]
C --> H[Highlight nav item]
F --> H
G --> H
|
| """ | ||
|
|
||
| WHITELISTED_PAGES = [] | ||
| WHITELISTED_PAGES = [] |
There was a problem hiding this comment.
Extra whitespace in assignment
There are two spaces between = and [], which is inconsistent with PEP 8 style.
| WHITELISTED_PAGES = [] | |
| WHITELISTED_PAGES = [] |
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
| border-color: var(--c-slate-4); | ||
| /* padding: 0rem 0.125rem 0rem 0.125rem; */ | ||
| } | ||
|
|
There was a problem hiding this comment.
Commented-out code should be removed
This /* padding: ... */ comment is dead code that has no effect and adds noise. Per project policy, commented-out code should be cleaned up before merging.
Rule Used: Remove commented-out code before merging PRs. (source)
Learnt From
reflex-dev/reflex-web#1619
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
carlosabadia
left a comment
There was a problem hiding this comment.
just need to run ruff to pass the pre-commit
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
Test plan
🤖 Generated with Claude Code