Skip to content

refactor: simplify handlebars generators #727

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Nov 13, 2024

Conversation

alandefreitas
Copy link
Collaborator

@alandefreitas alandefreitas commented Nov 12, 2024

Apart from the DocVisitor, the Adoc and HTML generators are nearly 100% duplicated code.

This is the main reason the HTML Generator is always behind the Adoc Generator: simple features were not duplicated in the HTML generator. This even justified #656, where we would temporarily remove the HTML generator.

This commit unifies the standard code to remove 7000+ lines of duplicated code, simplify maintenance, and ensure that both generators always have access to the same features.

In passing, many missing features in the HTML generator are now available.

fix #656

@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://727.mrdocs.prtest2.cppalliance.org/index.html

1 similar comment
@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://727.mrdocs.prtest2.cppalliance.org/index.html

Apart from the DocVisitor, the Adoc and HTML generators are nearly 100% duplicated code.

This is the main reason the HTML Generator is always behind the Adoc Generator: simple features were not duplicated in the HTML generator. This even justified cppalliance#656, where we would temporarily remove the HTML generator.

This commit unifies the standard code to remove duplicated code, simplify maintenance, and ensure that both generators always have access to the same features.

In passing, many missing features in the HTML generator are now available.

fix cppalliance#656
@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://727.mrdocs.prtest2.cppalliance.org/index.html

@alandefreitas alandefreitas merged commit 6639b8d into cppalliance:develop Nov 13, 2024
11 checks passed
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.

Cut the html generator
2 participants