Skip to content

Remove old renderer#81

Open
has2k1 wants to merge 3 commits intoposit-dev:mainfrom
has2k1:merge-renderer
Open

Remove old renderer#81
has2k1 wants to merge 3 commits intoposit-dev:mainfrom
has2k1:merge-renderer

Conversation

@has2k1
Copy link
Copy Markdown
Collaborator

@has2k1 has2k1 commented Apr 2, 2026

While core modular functions introduced by qrenderer replaced the original renderer, they were applied through a subclass of the old renderer. This PR makes qrenderer the first-class renderer, and completes the transition from the original renderer.

has2k1 added 3 commits April 1, 2026 21:47
The three-layer renderer hierarchy (Renderer → MdRenderer → bridge
Renderer →
assets Renderer) existed only to satisfy the old class structure. The
new
_render/ subpackage only uses the renderer as a config holder (3
properties).
RenderConfig was a pass-through dataclass threaded through every Render
object but only consumed in two places. Move its properties to their
natural homes:

- display_name_format, signature_name_format → RenderDoc fields
- header_level, typing_module_paths → Builder attributes
- show_signature → already a RenderDoc field (redundant override removed)

Delete _render_config.py and remove config from RenderBase.
The "q" prefix was a historical artifact. Rename the private subpackage
to the simpler _renderer name, updating all 138 references across
source, tests, and configuration.
@has2k1 has2k1 mentioned this pull request Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant