Create book from markdown files. Like Gitbook but implemented in Rust
Go to file
Roy Wellington Ⅳ fa6aa2ced8 Default the sidebar to visible in large screens
The code here leads me to believe that the intention is for the sidebar
to be default visible on large screens (where `clientWidth` > 1080) and
hidden otherwise.

However, as previously written, if the `localStorage.getItem` call fails
(for example, if the user agent is not accepting cookies), then we fall
back to `sidebar = sidebar || 'visible';` — but `sidebar` is already set
to `hidden`, so the `|| 'visible'` never happens.

This results in the sidebar hiding itself on every navigation through an
mdBook, meaning if you're just switching between sections trying to find
something that you keep needing to re-open the sidebar.
2023-02-11 18:04:58 -05:00
.github Fix incorrect version command 2023-01-28 20:21:18 +01:00
ci Deploy {x86_64,aarch64}-unknown-linux-musl binary 2022-07-23 00:37:18 +09:00
examples upgrade clap to 4.0 2022-12-14 17:11:08 -08:00
guide Merge pull request #2012 from ehuss/bump-version 2023-02-08 16:09:45 -08:00
src Default the sidebar to visible in large screens 2023-02-11 18:04:58 -05:00
test_book Add styles for <kbd> elements 2022-10-06 16:02:29 -04:00
tests Make fonts part of the theme. 2023-01-15 11:42:46 -08:00
.gitattributes Explicitly mark fonts and images files as binary (#951) 2019-06-11 21:44:15 +02:00
.gitignore Setup basic structure for test book 2021-10-04 13:14:49 +05:30
CHANGELOG.md Update to 0.4.26 2023-02-08 15:58:51 -08:00
CODE_OF_CONDUCT.md add explicit code of conduct, copying other rust-lang repos 2021-07-26 11:52:24 -07:00
CONTRIBUTING.md Add issue templates and update contributor docs 2023-01-16 09:22:54 -08:00
Cargo.lock Merge pull request #2012 from ehuss/bump-version 2023-02-08 16:09:45 -08:00
Cargo.toml Update to 0.4.26 2023-02-08 15:58:51 -08:00
LICENSE Create LICENSE 2015-07-29 01:11:30 +02:00
README.md Update documentation 2021-12-19 20:26:37 -08:00
release.toml Metadata for cargo-release should be in release.toml (#722) 2018-07-09 18:36:55 +08:00
triagebot.toml Add issue templates and update contributor docs 2023-01-16 09:22:54 -08:00

README.md

mdBook

Build Status crates.io LICENSE

mdBook is a utility to create modern online books from Markdown files.

Check out the User Guide for a list of features and installation and usage information. The User Guide also serves as a demonstration to showcase what a book looks like.

If you are interested in contributing to the development of mdBook, check out the Contribution Guide.

License

All the code in this repository is released under the Mozilla Public License v2.0, for more information take a look at the LICENSE file.