Page MenuHomeSolus

Update mdbook to 0.3.7
ClosedPublic

Authored by algent on Mar 20 2020, 6:32 PM.
Tags
None
Referenced Files
F11020663: D8521.diff
Mon, Aug 7, 7:38 AM
F10876430: D8521.id20380.diff
Jun 20 2023, 10:59 AM
F10876420: D8521.id20374.diff
Jun 20 2023, 10:56 AM
F10876415: D8521.id20607.diff
Jun 20 2023, 10:54 AM
F10876411: D8521.id20464.diff
Jun 20 2023, 10:53 AM
F10876408: D8521.id.diff
Jun 20 2023, 10:51 AM
F10876376: D8521.diff
Jun 20 2023, 10:42 AM
F10852342: D8521.id20374.diff
Jun 12 2023, 11:10 PM
Subscribers

Details

Summary

Changelog:

  • Added
    • MDBook::execute_build_process is now publicly accessible in the API so that plugins can more easily initiate the build process.
  • Changed
    • Use a different color for Ayu theme's highlighting for Rust attributes (uses a bright color instead of the comment color).
    • Adjusted spacing of sidebar entries.
    • Slightly adjusted line-height of <p>, <ul>, and <ol>.
    • Handlebars updated to 3.0.
    • Code spans in headers are no longer highlighted as code.
    • The sidebar will now scroll the activate page to the middle instead of the top.
    • Reverted change to reject build output within the src directory, and instead add a check that prevents infinite copies.
  • Fixed
    • Fix an issue with sidebar scroll position on reload.
    • mdbook serve will retain the current scroll position when the page is reloaded.
    • Fixed the page name if the book didn't have a title to not be prefixed with -.
    • HTML attributes rel=next and rel=previous are now supported in "wide" mode (previously they were only set in narrow mode).
    • Prevent recursive copies when the destination directory is contained in the source directory.
    • Adjusted the menu bar animation to not immediately obscure the top content.
    • Fix for comments in SUMMARY.md that appear between items.
    • Fixed sidebar line-height jumping for collapsed chapters.
    • Fixed theme selector focus.

Signed-off-by: Algent Albrahimi <algent@protonmail.com>

Test Plan
  • Install the program and run mdbook init write a few new chapters and then build it with mdbook build.
  • Watch the builded book in browser mdbook serve and clean book folder mdbook clean.

Diff Detail

Repository
R3907 mdbook
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

algent edited the test plan for this revision. (Show Details)

Fix typo

Remove rust from builddeps since it is a rundep of cargo

algent retitled this revision from Update mdbook to 0.3.6 to Update mdbook to 0.3.7.
algent edited the summary of this revision. (Show Details)

Add changelog from 0.3.7

This revision is now accepted and ready to land.Apr 12 2020, 6:05 PM
This revision was automatically updated to reflect the committed changes.