Several of the changes in the release have altered the public API of the
mdbook library.
Many dependencies have been updated or replaced.
This also removes the --websocket-hostname and --websocket-port from
the serve command.
#1211
A new "404" page is now automatically rendered. This requires knowledge of
the base URL of your site to work properly. If you decide to use this as
your 404 page, you should set the site-url setting in the book
configuration so mdbook can generate the links correctly. Alternatively you
can disable the 404 page generation, or set up your own 404 handling in your
web server.
#1221
If you are using customized themes, you may want to consider setting the
preferred-dark-theme config setting, as it now defaults to "navy".
#1199
"Playpen" has been renamed to "playground". This is generally backwards
compatible for users, but {{#playpen}} will now display warnings. This may
impact books that have modified the "playpen" elements in the theme.
#1241
If a renderer is not installed, it is now treated as an error. If you want
the old behavior of ignoring missing renderers, set the optional setting
for that renderer.
#1122
Added
Added a new [rust] configuration section to book.toml, which allows
setting the default edition with edition = "2018".
#1163
Renderers can now be marked as optional, so that they will be ignored if
the renderer is not installed.
#1122
Added head.hbs to allow adding content to the <head> section in HTML.
#1206
Added "draft chapters". These are chapters listed without a link to indicate
content yet to be written.
#1153
Added "parts" to split a book into different sections. Headers can be added
to SUMMARY.md to signify different sections.
#1171
Added generation of a "404" page for handling missing pages and broken links.
#1221
Added configuration section for specifying URL redirects.
#1237
Added an SVG favicon that works with light and dark colors schemes.
#1230
Commits
138dc69 Merge pull request #1264 from ehuss/update-changelog
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in the `.dependabot/config.yml` file in this repo:
- Update frequency
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Updates the requirements on mdbook to permit the latest version.
Release notes
Sourced from mdbook's releases.
Changelog
Sourced from mdbook's changelog.
Commits
138dc69
Merge pull request #1264 from ehuss/update-changelog91b2fb8
Update changelog.d4df7e7
Merge pull request #1230 from ehuss/favicon-svg4699269
Add SVG favicon.c1ed6ee
Merge pull request #1228 from ehuss/fix-dest-dirf59cfe7
Fix dest-dir command-line flag.9268884
Merge pull request #1221 from manuel-woelker/fb-539-not-found-page4f435c6
Merge pull request #1249 from ThePuzzlemaker/thepuzzlemaker-stylepatch9a97f0a
Fix init creating empty[rust]
table. (#1233)bc23d08
Rename playpen to playground. (#1241)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in the `.dependabot/config.yml` file in this repo: - Update frequency - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)