Eric Huss
7ddc3df945
Merge pull request #1550 from sunng87/feature/hbs4
...
update handlebars to 4.0
2021-06-06 13:04:54 -07:00
Eric Huss
2f7293af5c
Merge pull request #1567 from tfidfwastaken/patch-1
...
Fix typo in documentation
2021-06-06 12:03:36 -07:00
Atharva Raykar
fa3ae53d46
Fix typo in documentation
...
a very pedantic ommitted -> omitted
2021-06-05 22:50:45 +05:30
Eric Huss
6425c29893
Merge pull request #1562 from ehuss/bump-version
...
Update to 0.4.9
2021-06-02 09:54:43 -07:00
Eric Huss
d0bb830491
Update to 0.4.9
2021-06-01 18:50:29 -07:00
Eric Huss
d325c601bb
Merge pull request #1554 from joshrotenberg/edit_url_custom_src
...
Use the configured book src directory for the edit url template path
2021-06-01 18:36:32 -07:00
Eric Huss
e9e889f523
Merge pull request #1560 from joshrotenberg/clippy_path_fixes
...
clippy: PathBuf to Path fixes.
2021-06-01 10:12:08 -07:00
josh rotenberg
e5e10c681a
add init flags
...
add init flags
update init command in guide
2021-05-31 20:47:51 -07:00
josh rotenberg
05edc4421b
clippy: PathBuf to Path
2021-05-31 20:27:52 -07:00
Eric Huss
22ea5fe335
Merge pull request #1557 from xrmx/cargo-clippy-fixes
...
Some clippy fixes
2021-05-31 07:10:30 -07:00
Riccardo Magliocchetti
714c5fb81e
renderer: remove redundant clone in CmdRenderer
...
As suggested by clippy:
https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
2021-05-30 19:33:46 +02:00
Riccardo Magliocchetti
56ceb627b8
book: simplify is_draft_chapter
...
As suggested by clippy:
https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching
2021-05-30 19:33:46 +02:00
Riccardo Magliocchetti
c1b2bec7d7
book: use non_exhaustive attribute for struct Book
...
As suggested by clippy:
https://rust-lang.github.io/rust-clippy/master/index.html#manual_non_exhaustive
2021-05-30 19:33:46 +02:00
Eric Huss
8201b411ab
Merge pull request #1555 from joshrotenberg/exit_serve_if_panic
...
Use std::panic::set_hook to exit serve thread if serving fails
2021-05-29 15:12:04 -07:00
Eric Huss
836546cf0d
Merge pull request #1544 from joshrotenberg/guide_configuration_restructure
...
Restructure guide configuration section
2021-05-29 14:46:58 -07:00
Ning Sun
9813802b3e
bump msrv to 1.45 as handlebars 4.0 requires
2021-05-28 22:59:56 +08:00
josh rotenberg
fcf8f938d2
use panic::set_hook to exit
2021-05-28 07:40:56 -07:00
josh rotenberg
60aaa7ae31
use book_config.src for edit path
...
use book_config.src for edit path
use book_config.src for edit path
fmt
concat the path, this is a url
2021-05-27 21:54:58 -07:00
Ning Sun
1b584d1746
update handlebars to 4.0
2021-05-26 23:11:01 +08:00
josh rotenberg
aa4cb9465f
restructure guide configuration section
...
restructure guide configuration section
restructure guide configuration section
redirect to new config top level
fix broken links
use a relative path for redirect
Co-authored-by: Eric Huss <eric@huss.org>
remove extra heading
2021-05-25 07:43:36 -07:00
Eldred Habert
89a2e39b80
Mention missing file creation in build/watch/serve's docs ( #1548 )
...
Fixes #1246
2021-05-25 13:45:30 +02:00
Eric Huss
3c2b8cd10f
Merge pull request #1539 from joshrotenberg/report_config_errors
...
Report book.toml parse error when invalid fields are found
2021-05-24 13:25:07 -07:00
josh rotenberg
6b0b42ebcc
update build and rust config change
2021-05-24 12:01:56 -07:00
josh rotenberg
7a3513200f
Update src/config.rs
...
Co-authored-by: Eric Huss <eric@huss.org>
2021-05-24 11:59:32 -07:00
Eric Huss
3db0c0b9a1
Merge pull request #1511 from joshrotenberg/example-semver
...
Use semver crate to validate version compatibility in nop-preprocessor example
2021-05-24 11:10:21 -07:00
Eric Huss
2c7aac6d7a
Merge pull request #1542 from ISSOtm/patch-1
...
Apply max width to video as well as images
2021-05-24 10:33:23 -07:00
Eldred Habert
3ee22fb430
Apply max width to video as well as images
...
Since videos are essentially animated images, this same max width makes sense for both.
2021-05-23 16:10:26 +02:00
Eric Huss
16c5ec4d74
Remove chapter_begin id from print output.
2021-05-22 15:12:54 -07:00
Eric Huss
7e7e779ef7
Merge pull request #1526 from apatniv/add_log_messages
...
Add useful messages when command line preprocessor fails
2021-05-21 10:06:36 -07:00
Andrea Gelmini
b364e8ea2c
Fix typos ( #1540 )
...
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2021-05-21 12:56:32 +02:00
josh rotenberg
78325aaccb
report book.toml parse errors
...
check config for book parse errors
add invalid_title_type
handle build and rust config errors
2021-05-19 09:32:24 -07:00
Eric Huss
1411ea967a
Merge pull request #1534 from joshrotenberg/docs/guide-summary-updates
...
Guide updates: summary.md
2021-05-17 14:38:18 -07:00
josh rotenberg
d147a85006
summary.md updates
2021-05-14 22:05:24 -07:00
Eric Huss
0f0dce8d6c
Merge pull request #1530 from anoadragon453/patch-1
...
Fix a small typo
2021-05-13 16:14:10 -07:00
Andrew Morgan
379574dc61
Fix a small typo
...
misssing -> missing
2021-05-13 23:55:51 +01:00
Eric Huss
6a7de13c6f
Update Cargo.lock, Bump msrv to 1.42 ( #1528 )
...
* Update Cargo.lock
* Bump MSRV to 1.42.
There are a few dependencies that require this version.
2021-05-10 20:08:18 +02:00
Eric Huss
331aad1597
Merge pull request #1525 from joshrotenberg/guide/server-command-updates
...
Update serve documentation in the guide
2021-05-10 09:40:00 -07:00
Eric Huss
7e01cf9e18
Update to 0.4.8 ( #1527 )
2021-05-10 18:38:43 +02:00
josh rotenberg
c922b8aae6
backquote port
2021-05-08 09:51:30 -07:00
apatniv
b21446898a
Add useful messages when command line preprocessor fails
2021-05-08 12:48:57 -04:00
josh rotenberg
f4b4a331d7
consisten note format, update gitignore language
2021-05-07 21:02:55 -07:00
josh rotenberg
aa349e0b7c
update serve documentation
2021-05-07 20:29:01 -07:00
Eric Huss
b592b10633
Merge pull request #1519 from tshepang/patch-1
...
Update init.md
2021-05-05 08:32:52 -07:00
Eric Huss
d62cf8e883
Merge pull request #1520 from apatniv/patch-1
...
Add entry to contributor section
2021-05-05 08:32:23 -07:00
Vivek Bharath Akupatni
c6844dd771
Add entry to contributor section
2021-05-05 08:42:43 -04:00
Tshepang Lekhonkhobe
009247be01
Update init.md
...
make sentence more simple
2021-05-05 12:06:56 +02:00
Eric Huss
84b3b7218e
Merge pull request #1437 from rust-lang-ja/summary-with-html-comments
...
Skip HTML nodes in SUMMARY.md
2021-05-04 07:26:03 -07:00
Eric Huss
71ba6c9eb8
Merge pull request #1514 from c-cube/patch-1
...
more detailed example in summary.md
2021-05-03 17:46:56 -07:00
Simon Cruanes
9d4ee689db
Update guide/src/format/summary.md
...
Co-authored-by: Eric Huss <eric@huss.org>
2021-05-03 20:16:11 -04:00
Simon Cruanes
ffe88d7e29
Update guide/src/format/summary.md
...
Co-authored-by: Eric Huss <eric@huss.org>
2021-05-03 20:16:05 -04:00