Skip to content
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

Generate html doc #400

Closed

Conversation

Phil-Ebsworth
Copy link
Collaborator

PR Summary

This PR introduces HTML generation with Askama.

Key Changes:

  • Added new templates for different declaration types.
  • Added a new module that handles the generation of HTML files from the provided input data.

Copy link

codecov bot commented Dec 3, 2024

Codecov Report

Attention: Patch coverage is 0% with 316 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
lang/docs/src/generate.rs 0.00% 212 Missing ⚠️
lang/docs/src/generate_docs.rs 0.00% 81 Missing ⚠️
lang/docs/src/doc.rs 0.00% 12 Missing ⚠️
lang/printer/src/types.rs 0.00% 7 Missing ⚠️
lang/printer/src/render/html.rs 0.00% 4 Missing ⚠️
Files with missing lines Coverage Δ
lang/printer/src/render/html.rs 0.00% <0.00%> (ø)
lang/printer/src/types.rs 51.82% <0.00%> (-2.80%) ⬇️
lang/docs/src/doc.rs 0.00% <0.00%> (ø)
lang/docs/src/generate_docs.rs 0.00% <0.00%> (ø)
lang/docs/src/generate.rs 0.00% <0.00%> (ø)

MangoIV and others added 6 commits December 3, 2024 18:55
* [feat] make the tutorial a bit more tutoring

* [chore] some spelling corrections

* [chore] Apply suggestions from David's code review

Co-authored-by: David Binder <[email protected]>

---------

Co-authored-by: David Binder <[email protected]>
* use askama for Html generation

* make write_html async

* add template parameter to code.html title

* create path to css recursively

* Revert "create path to css recursively"

This reverts commit 645ed5f.

* create path to css recursively

* change unnecessary exclamation mark

* make CSS_TEMPLATE_PATH static

* delete unused selector

* delete decode_html_entities

* change template name

* escape Html in html.rs

* add newline

* change whitespaces

* Remove unnecessary boxing

---------

Co-authored-by: Tim Süberkrüb <[email protected]>
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.

2 participants