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

feat: better htmlization views #4825

Merged
merged 19 commits into from
Dec 2, 2022
Merged

feat: better htmlization views #4825

merged 19 commits into from
Dec 2, 2022

Conversation

rjsparks
Copy link
Member

@rjsparks rjsparks commented Dec 2, 2022

This set of changes:

  • creates valid bootstrap-5 html
  • renders directly from the document's html when possible
  • adds customization to the view

larseggert and others added 19 commits September 13, 2022 15:14
Co-authored-by: Martin Thomson <mt@lowentropy.net>
* fix: Pref labels were switched

* fix: Fix ToC for htmlized docs

* Replace datatracker button with document name link to datatracker

* ui: Make fonts even larger on larger window widths

* fix: Document format buttons open new tabs

* fix: Various suggestions from Jay

* fix: Don't show "htmlized" self-link under formats

* ui: Font size fix for iOS

* ui: More little tweaks
* fix: Don't open htmlized view in new tab

* fix: Tests were failing

* feat: Add pref settings to cap max font size

* feat: Add ability to hide side panel
* fix: Remove superfluous scrollbars

* fix: Show email links for authors

* fix: Only show "email authors" button for latest reversion

* fix: Remove duplicate code, fix nav scrolling

* feat: Add RFCs to revision lists

* feat: Add pref option to control dependency inlining

* fix: Add analytical tags

* feat: Notify user of rendering inconsistencies

* feat: Split out bootstrap-icons when not inlining dependencies

* fix: Revision list and minor other fixes
* fix: Remove superfluous scrollbars

* fix: Show email links for authors

* fix: Only show "email authors" button for latest reversion

* fix: Remove duplicate code, fix nav scrolling

* feat: Add RFCs to revision lists

* feat: Add pref option to control dependency inlining

* fix: Add analytical tags

* feat: Notify user of rendering inconsistencies

* feat: Split out bootstrap-icons when not inlining dependencies

* fix: Revision list and minor other fixes

* feat: Show stream logos when possible
…t-html (#4520)

* fix: Remove superfluous scrollbars

* fix: Show email links for authors

* fix: Only show "email authors" button for latest reversion

* fix: Remove duplicate code, fix nav scrolling

* feat: Add RFCs to revision lists

* feat: Add pref option to control dependency inlining

* fix: Add analytical tags

* feat: Notify user of rendering inconsistencies

* feat: Split out bootstrap-icons when not inlining dependencies

* fix: Revision list and minor other fixes

* feat: Show stream logos when possible

* fix: Pick up CSS changes from https://github.com/martinthomson/rfc-txt-html
* Merge main

* fix: Rename some CSS classes to handle recent xml2rfc changes

Fixes #4784.
* Fix dependency issues

* Cap fontsize at 12pt by default

Co-authored-by: Nicolas Giard <github@ngpixel.com>
@codecov
Copy link

codecov bot commented Dec 2, 2022

Codecov Report

Merging #4825 (23ac513) into main (b8dbd65) will decrease coverage by 0.05%.
The diff coverage is 74.24%.

@@            Coverage Diff             @@
##             main    #4825      +/-   ##
==========================================
- Coverage   88.52%   88.46%   -0.06%     
==========================================
  Files         296      296              
  Lines       39838    39742      -96     
==========================================
- Hits        35266    35158     -108     
- Misses       4572     4584      +12     
Impacted Files Coverage Δ
ietf/doc/utils.py 88.29% <ø> (-0.26%) ⬇️
ietf/doc/models.py 88.44% <63.63%> (-2.40%) ⬇️
ietf/doc/views_doc.py 90.78% <75.00%> (-0.18%) ⬇️
ietf/doc/templatetags/ietf_filters.py 87.52% <94.11%> (-0.09%) ⬇️
ietf/utils/text.py 87.80% <0.00%> (+1.82%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@rjsparks rjsparks merged commit 9457e2b into main Dec 2, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 6, 2022
@NGPixel NGPixel deleted the feat/htmlize branch December 8, 2022 23:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants