summaryrefslogtreecommitdiffstats
path: root/src/config.rs
AgeCommit message (Collapse)Author
2024-06-12Add support for Rust Edition 2024Eric Huss
2024-05-13Apply a few minor clippy fixesEric Huss
2024-03-19chore: remove repetitive wordgoodmost
Signed-off-by: goodmost <zhaohaiyang@outlook.com>
2024-03-18Fix typo in docsMax Heller
2024-02-25Rename curly-quotes to smart-punctuation.Eric Huss
2024-02-24Fix redundant imports.Eric Huss
2023-09-02Remove text_drection_from_lang_codeEric Huss
The test above should cover this sufficiently.
2023-09-02Update language list to include missing rtl languages.Eric Huss
2023-09-02Some minor corrections from code review.Eric Huss
2023-09-02Add `text_direction` property in general book metadatacN3rd
Text direction can selected in the config via the `text_direction` attribute in `book.toml`, or be derived from the book's language.
2023-05-28Support hidden lines in languages other than RustJannik Obermann
Co-Authored-By: thecodewarrior <5467669+thecodewarrior@users.noreply.github.com>
2023-05-13Apply clippy::let_unit_valueEric Huss
2023-04-02Convert links from http to https protocolAndreas Deininger
2022-11-28Fix broken doc linkEric Huss
2022-11-13Merge pull request #1884 from willcrichton/masterEric Huss
Add support for watching additional directories
2022-10-28Add support for watching additional directoriesWill Crichton
2022-09-09Require Rust 2021 editionDylan DPC
This allows us to clean up and simplify the code.
2022-06-27Fix Clippy lintsISSOtm
Also remove `allow(clippy::*)`s where possible
2022-03-30Fix html print config default.Eric Huss
2022-03-27Fix comment typoEric Huss
2022-03-27Merge pull request #1771 from FWYongxing/masterEric Huss
livereload uses host, port and HTTP(S) protocol of current page
2022-03-26add testsShogo Takata
2022-03-26Config to toggle the run button on codeblocksShogo Takata
2022-03-19livereload uses host&port of current page; livereload works with a HTTPS siteClark
2022-01-17Revert "Make page-break not configurable"Daniel Morawetz
This reverts commit 0eb23efd44c96d79c96161648a6c286dbc7424c1.
2021-07-04first pass at 2021 supportjosh rotenberg
2021-05-31clippy: PathBuf to Pathjosh rotenberg
2021-05-24Merge pull request #1539 from joshrotenberg/report_config_errorsEric Huss
Report book.toml parse error when invalid fields are found
2021-05-24update build and rust config changejosh rotenberg
2021-05-24Update src/config.rsjosh rotenberg
Co-authored-by: Eric Huss <eric@huss.org>
2021-05-21Fix typos (#1540)Andrea Gelmini
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2021-05-19report book.toml parse errorsjosh rotenberg
check config for book parse errors add invalid_title_type handle build and rust config errors
2021-04-26Rename git-repository-edit-url-templateFlavio Castelli
Change the name of the git-repository-edit-url-template to be more generic: `edit-url-template` Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2021-04-19Fix generation of edit linksFlavio Castelli
The `IndexPreprocessor` rewrites the path for files named `README.md` to be `index.md`. This breaks the edit link in some circumstances. To address this issues, the `Chapter` struct has now a new attribute called `source_path`. This is initialized with the same value as `path`, but is never ever changed. Finally, the edit link is built by using the `source_path` rather than the `path`.
2021-04-19[ReviewFix] Replace edit baseurl with template and make visibility ↵Jonas Berlin
independent of git_repository_url.
2021-04-19Add "Suggest an edit" link next to "Git repository"Jonas Berlin
Includes new configuration option `git-repository-edit-baseurl` for supporting non-GitHub repository layouts.
2021-01-10Add intra-docs links to docspierwill
Also fixes some punctuation and changes some wording.
2020-11-12allow to serialize the "build" sectionSergey Golovin
2020-09-22Add config option to disable print html, css, and iconRoss MacArthur
2020-09-02Support emitting CNAME file for publishing at a custom domainDavid Tolnay
2020-06-23Merge pull request #1221 from manuel-woelker/fb-539-not-found-pageEric Huss
Generate 404.html page (#539)
2020-06-22Fix init creating empty `[rust]` table. (#1233)Eric Huss
2020-06-22Rename playpen to playground. (#1241)Eric Huss
looks good
2020-06-10fix test and formattingManuel Woelker
2020-06-10fix usage of newly stablized inner_deref/as_derefManuel Woelker
2020-06-10additional changes to the 404 mechanism based on feedback:Manuel Woelker
- removed config output_404 - ensure serve overrides the site url, and hosts the correct 404 file - refactor 404 rendering into separate fn - formatting
2020-06-10Add the config parameter output.html.site-url to set base url of the 404 ↵Manuel Woelker
page, making links and relative script/css loads behave correctly even in subdirectory paths
2020-06-10Generate 404.html page (#539)Manuel Woelker
2020-06-08Change default preferred-dark-theme to `navy`.Eric Huss
2020-05-27Changed redirect mapping to HashMap<String, String> and improved error handlingMichael-F-Bryan