Commit graph

527 commits

Author SHA1 Message Date
Chris Wong
f652784adb Add overflow: auto to documentation CSS
Closes 
2019-04-03 20:16:32 +13:00
Chris Wong
13a5cfcaa3 Document the documentation
[skip ci]
2019-03-30 16:23:15 +13:00
Chris Wong
b86ba7af85 Use absolute paths in generated code
Closes 
2019-03-28 20:18:12 +13:00
Chris Wong
eb4ef2f969 Travis: build and deploy the book 2019-03-27 22:13:47 +13:00
Chris Wong
c5e8eb4d5f Travis: split build into jobs
- Change benchmarks build to use `cargo test --benches`. This runs the
  benchmarks and compiles faster than `cargo bench`.

Closes 
2019-03-27 21:00:00 +13:00
Chris Wong
dae5074c8d Build all the features together (apparently it works now) 2019-03-25 21:22:38 +13:00
Chris Wong
b681a93cbd Use stable compiletest 2019-03-25 20:47:48 +13:00
Chris Wong
5b027d08ae
Remove maud_extras crate ()
I don't think the examples in this crate are very useful, or demonstrate how to best use the library.
2019-03-25 20:36:23 +13:00
Chris Wong
be10b9837e
Merge pull request from lfairy/new-docs
Redesign the book
2019-03-25 19:53:49 +13:00
Chris Wong
5c2d5ca5e8 Update readme link 2019-03-24 16:22:52 +13:00
Chris Wong
5632250644 In watch script, exclude built files from watch 2019-03-24 14:56:44 +13:00
Chris Wong
3a038d8f95 Tweak colors 2019-03-24 14:51:41 +13:00
Chris Wong
a16b26a64e Add publish script 2019-03-24 14:39:20 +13:00
Chris Wong
327480c442 Build table of contents in a separate step
- Add pretty logging to Makefile
2019-03-24 14:27:04 +13:00
Chris Wong
612208a344 Don't link a page to itself 2019-03-23 23:03:51 +13:00
Chris Wong
d23bbe6680 Add Makefile 2019-03-23 22:58:16 +13:00
Chris Wong
5f8b3047df Update Horrorshow 2019-03-17 19:35:06 +13:00
Chris Wong
d7620f04c8 Update benchmarks 2019-03-16 21:28:51 +13:00
Chris Wong
39f543c819 Rust 2018 2019-03-16 20:18:58 +13:00
Chris Wong
07ca29aa55 Rust 2018 the web framework examples 2019-03-16 19:53:24 +13:00
Chris Wong
6c2b5a9aa9 Check in Cargo.lock 2019-03-16 19:47:13 +13:00
Chris Wong
9be2d31d72 Update Comrak 2019-03-16 19:46:29 +13:00
Chris Wong
e3ee44cd4b Add meta tags 2019-03-16 19:40:46 +13:00
Chris Wong
a986c22526 Remove tagline 2019-03-16 19:36:07 +13:00
Chris Wong
b21892b512 Make title less ridiculous 2019-03-16 19:13:04 +13:00
Chris Wong
71709edc51 Tweak CSS 2019-03-16 16:29:31 +13:00
Chris Wong
00a38a32b3 Add files from existing book 2019-03-16 16:29:31 +13:00
Chris Wong
f8b19960dd Rewrite .md links to .html 2019-03-16 16:29:31 +13:00
Chris Wong
65849b051e Rewrite the book! 2019-03-16 16:29:31 +13:00
Chris Wong
65874efb98 Remove redundant closures 2019-02-21 21:22:22 +13:00
Chris Wong
6de2cf1998 Release 0.20.0 2019-01-17 16:01:55 +13:00
likewhatevs
51a0243c40 bump rocket to 0.4 ()
* Update Cargo.toml

bump rocket ver to 0.4

* Update maud/Cargo.toml

accept rocket >= 0.3, < 0.5

Co-Authored-By: likewhatevs <12107998+likewhatevs@users.noreply.github.com>
2018-12-17 21:06:41 +13:00
Joe Taber
892aaac383 Set content-type and charset for actix feature 2018-12-15 16:33:50 +13:00
Chris Wong
9fc9ea5c60 Use clippy instead of clippy-preview 2018-12-09 11:54:21 +13:00
Chris Wong
b1dd7b729f Merge branch 'keyword_warn_compiletest' 2018-12-09 11:49:50 +13:00
Chris Wong
4b2707c51e Remove #![feature(tool_lints)] 2018-12-09 11:38:27 +13:00
Chris Wong
c70bd98656 Skip Clippy if it is missing 2018-12-09 11:37:52 +13:00
Chris Wong
6d9aa86506 Fix formatting 2018-12-09 11:21:23 +13:00
Chris Wong
2e41db8c70 Run all the tests at the beginning 2018-12-09 10:46:05 +13:00
Isaac van Bakel
59d9ec9620 Moved compiletests into the maud crate 2018-11-05 23:31:36 +00:00
Isaac van Bakel
19bb1b351b Remove redundant warning comment in UI test 2018-11-04 16:47:30 +00:00
Isaac van Bakel
ccf54ad6eb Try to change travis build ordering to fix compiletests
Multiple versions of the maud base crate get built, so compiletest
doesn't know which one to use in the same way that cargo would.
A possible solution is to build a canonical version of the crate first
(no features) and then explicitly run the compiletest tests. After, we
run builds and tests as normal, excluding the compiletest tests.
2018-10-24 17:34:00 +01:00
Chris Wong
0ccb2829c9 Release 0.19.0 2018-10-20 17:15:57 +13:00
Chris Wong
61e5f9d954
Merge pull request from ivanbakel/warn_on_keyword_names
Added warning when elements have keyword names
2018-10-20 16:49:01 +13:00
Isaac van Bakel
f1f67e5aac Added compile tests to check keyword warning
compiletest_rs is now used to check that elements which have keyword
names are now warned against in a UI test.
compiletest_rs has been added as a build dependency.
2018-10-19 22:39:11 +01:00
Isaac van Bakel
485ee13afb Corrected formatting on keyword element warning
The formatting argument is now only passed once.
2018-10-14 12:10:24 +01:00
Chris Wong
365d0ab956 Update to rustc 1.31.0-nightly (77af31408 2018-10-11) 2018-10-12 19:26:16 +13:00
Isaac van Bakel
5a74dd0232 Added warning when elements have keyword names
Fixes .
To avoid erroneously preventing elements which are actually meant to be
called `if` from being used, this is only a warning, with a suggestion
of the template syntax.
2018-10-11 22:05:47 +01:00
Chris Wong
d2af7c3f54 Fix benchmarks 2018-10-06 21:44:31 +13:00
Chris Wong
6aee65a6f1 Update to rustc 1.31.0-nightly (fddcd316a 2018-10-05) 2018-10-06 18:03:15 +13:00