Documentation review: fix outdated references, remove redundancy#39
Documentation review: fix outdated references, remove redundancy#39
Conversation
make boolean attributes look right!
refactor dynamic code into smaller modules
|
I don't think a deep review of the code has been applied to the documentation. For example the page how-to/use-terminal-editor mentions xml_parser.py which no longer exists. Take a detailed look at the code and update any such references. |
gilesknap
left a comment
There was a problem hiding this comment.
The Runtime Data Flow mermaid diagram has HUGE fonts, it looks silly and takes up too much space. Make sure you have reviewed how diagrams look as per the original prompt
Fixed in commit 1bd3c6a. The Architecture section in
Fixed in 558ee47. Removed the explicit |
group CoE sub-indices
- Remove completed plan (simulator-symbol-alignment.md) - Remove redundant terminal-definitions.md (content covered in terminal-yaml-definitions.md) - Move api-decoupling.md to decisions/0003-api-decoupling-analysis.md - Update README.md with actual project description - Update todo.md to be more concise - Add font sizing to all Mermaid diagrams - Create documentation-plan.md with todos and agent prompts - Fix all broken cross-references Co-authored-by: gilesknap <964827+gilesknap@users.noreply.github.com>
Co-authored-by: gilesknap <964827+gilesknap@users.noreply.github.com>
- Update use-terminal-editor.md Architecture section with correct module names - Fix xml_parser.py reference in beckhoff-xml-format.md to xml/parser.py - Fix xml_pdo_groups.py reference in dynamic-pdos.md to xml/pdo_groups.py - Fix AGENTS.md references to xml parsing modules Co-authored-by: gilesknap <964827+gilesknap@users.noreply.github.com>
- Fix "Adding a Terminal" section: search is live/automatic (no Search button) - Document filtering by type dropdown functionality - Document "Add All" button for bulk terminal addition - Improve troubleshooting section with correct cache update command Co-authored-by: gilesknap <964827+gilesknap@users.noreply.github.com>
- Replaced "Hardware-Specific Controllers" section with "Dynamic Terminal Controllers" - Removed references to catio_hardware.py and explicit controller classes (EL10xxController, etc.) - Added documentation for get_terminal_controller_class() factory function - Documented the catio_dynamic_*.py modules and their roles - Added link to terminal-yaml-definitions.md for YAML format details Co-authored-by: gilesknap <964827+gilesknap@users.noreply.github.com>
Fixed in 5640ede. Replaced "Hardware-Specific Controllers" section with "Dynamic Terminal Controllers":
|
gilesknap
left a comment
There was a problem hiding this comment.
Runtime Data Flow mermaid diagram still has huge fonts. This is due to the global css you supplied, I believe. Please override that for simple diagrams like this that do not merit fitting to the page width
gilesknap
left a comment
There was a problem hiding this comment.
under The Base Controller heading there is embedded code.
obey the agents.md and never embed code. instead use a brief description and refer to the python module.
…class - Added mermaid-simple CSS class that uses natural diagram size instead of 100% width - Wrapped Runtime Data Flow diagram in mermaid-simple div to prevent oversized fonts - Complex diagrams still use full width, simple diagrams use natural size Co-authored-by: gilesknap <964827+gilesknap@users.noreply.github.com>
Fixed in 375143f. Added a |
- Replaced literalinclude directives with brief descriptions and links to source files - Updated fastcs-epics-ioc.md: CATioController, CATioControllerAttributeIO, MockADSServer - Updated ads-client.md: RemoteRoute, AsyncioADSClient, AdsSymbol, MockADSServer - Follows AGENTS.md guideline to never embed code from the repository Co-authored-by: gilesknap <964827+gilesknap@users.noreply.github.com>
gilesknap
left a comment
There was a problem hiding this comment.
explanations/ads-client.html also includes lots of embedded code
Fixed in 513b3f5. Replaced all
|
Already fixed in 513b3f5. The |
|
closed in favor of #40 |
Documentation had drifted from the codebase: referenced modules that no longer exist, described GUI elements that don't exist, and contained redundant/completed content.
Changes
Removed redundant docs
terminal-definitions.md(duplicated byterminal-yaml-definitions.md)simulator-symbol-alignment.md(completed)api-decoupling.md→decisions/0003-api-decoupling-analysis.mdFixed outdated code references
xml_parser.py,xml_cache.py,app.py→xml/subpackage,ui_app.pycatio_hardware.py→catio_dynamic_*.pymodulesUpdated for dynamic controller generation
get_terminal_controller_class()and YAML-driven controller creationFixed terminal-yaml-definitions.md
terminal_types.yaml(not multiple category files)composite_typessection,selectedfield, CoEsubindicesstructureRemoved embedded code
literalincludedirectives with descriptions and source links per AGENTS.mdFixed Mermaid diagrams
mermaid-simpleCSS class for simple diagrams to prevent oversized fontsInstructions to reviewer on how to test:
src/catio_terminals/xml/parser.py)docs/explanations/terminal-yaml-definitions.mdagainstsrc/catio_terminals/terminals/terminal_types.yamlChecks for reviewer
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.