funkill / mdbook-i18n

MIT License
21 stars 6 forks source link

Update mdbook requirement from 0.3.1 to 0.4.0 #6

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Updates the requirements on mdbook to permit the latest version.

Release notes

Sourced from mdbook's releases.

v0.4.0

See https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-040 for a complete list of changes.

Changelog

Sourced from mdbook's changelog.

mdBook 0.4.0

99ecd4f...d4df7e7

Breaking Changes

  • 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


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)
dependabot-preview[bot] commented 4 years ago

Superseded by #7.