Page MenuHomeSolus

Update mdbook to 0.3.7

Authored by algent on Mar 20 2020, 6:32 PM.




  • 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 that appear between items.
    • Fixed sidebar line-height jumping for collapsed chapters.
    • Fixed theme selector focus.

Signed-off-by: Algent Albrahimi <>

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

R3907 mdbook
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

algent created this revision.Mar 20 2020, 6:32 PM
algent requested review of this revision.Mar 20 2020, 6:32 PM
algent updated this revision to Diff 20380.Mar 20 2020, 10:26 PM
algent edited the test plan for this revision. (Show Details)

Fix typo

algent updated this revision to Diff 20464.Mar 26 2020, 12:22 PM

Remove rust from builddeps since it is a rundep of cargo

algent updated this revision to Diff 20606.Apr 4 2020, 8:56 PM

Update to 0.3.7

algent updated this revision to Diff 20607.Apr 4 2020, 8:58 PM
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

DataDrake accepted this revision.Apr 12 2020, 6:05 PM
DataDrake added a subscriber: DataDrake.

LGTM. Thanks!

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.