Chris Wong
d8941fe0a3
Add workaround for rust-lang/cargo#9919 ( #294 )
2021-09-18 08:22:12 +00:00
Chris Wong
36f786b39d
Fix unused variable in benchmark ( #291 )
2021-09-12 03:07:06 +00:00
Chris Wong
dc028116b8
Enforce merged imports ( #290 )
...
Closes #281
2021-09-11 10:42:25 +00:00
Chris Wong
c9cb58de40
Rename "master" to "main"
2021-09-11 20:30:35 +10:00
Chris Wong
46000ee32e
Don't show the full executable path for Cargo status line
2021-09-04 16:38:37 +10:00
Chris Wong
5aa70751ac
Use \033 instead of \e in Makefile
...
macOS has an old version of `printf` that only supports octal escapes.
2021-09-04 16:37:41 +10:00
Chris Wong
3ceb70d727
Refactor book builder ( #288 )
...
Move page and nav builders to separate modules.
2021-09-04 06:26:32 +00:00
Max Countryman
eb9cd821ca
ensure tide default-features are disabled ( #286 )
...
This ensures that maud itself doesn't dictate what features an author might like to use.
2021-08-29 12:24:22 +10:00
Marcel Müller
cc62bcbb86
Add axum support ( #284 )
...
Co-authored-by: Chris Wong <lambda.fairy@gmail.com>
2021-08-17 19:25:07 +10:00
Chris Wong
9a2c4fba4f
Fix Clippy warning ( #285 )
2021-08-17 19:22:46 +10:00
Max Countryman
ba9c7b523c
Tide support ( #280 )
...
This introduces support for Tide by implementing `From` over markup.
Unlike other frameworks, Tide does not seem to provide e.g. a trait
which could instead be implemented. However as demonstrated, this
alternative results in a simple, ergonomic interface.
Consumers may leverage Tide support by using the "tide" feature.
Co-authored-by: Chris Wong <lambda.fairy@gmail.com>
2021-08-06 14:22:05 +10:00
Benjamin Halsted
3eb4254ffb
Using no_std + alloc ( #279 )
...
Removed references to `std` and replaced them with references to `core` and `alloc`.
Features `rocket` and `iron` still require `std`.
Co-authored-by: Chris Wong <lambda.fairy@gmail.com>
2021-07-30 22:05:31 +10:00
Chris Wong
6a3d3eca6e
Remove #![feature(extended_key_value_attributes)]
( #274 )
...
Closes #273
2021-05-20 05:16:04 +00:00
Chris Wong
56f108c564
Update to rustc 1.54.0-nightly (6d395a1c2 2021-05-13) ( #272 )
2021-05-15 14:14:31 +00:00
Chris Wong
8990049101
Improve error message for non-string literals ( #265 )
...
Closes #208
2021-03-21 22:20:37 +11:00
Chris Wong
ce6458af41
Fix doc comments on parser
2021-03-13 20:49:05 +11:00
Chris Wong
9f7331f427
Remove Attrs
type alias ( #264 )
2021-03-13 20:25:56 +11:00
Chris Wong
7284924cc8
Add more UI tests ( #262 )
...
cc #261
2021-03-13 19:38:50 +11:00
Chris Wong
4cffcd298b
Remove [Foo] tags from changelog ( #260 )
...
I don't think they add much, and they conflict with mdformat which
escapes square brackets (executablebooks/mdformat#112).
cc #231
2021-01-26 22:47:49 +13:00
Chris Wong
75b6801f47
Switch documentation to semantic line breaks ( #259 )
...
mdformat will preserve semantic line breaks, so we may as well commit to
using them.
cc #231
2021-01-22 19:31:51 +13:00
Chris Wong
eaf552d417
Test documentation examples in CI ( #257 )
...
Closes #230
Closes #256
2021-01-15 17:40:46 +13:00
Chris Wong
0a0172e0fe
Update release process to mention automatic docs publish
2021-01-09 19:30:37 +13:00
Chris Wong
587e536fb6
Remove the docs deploy script
2021-01-09 19:23:07 +13:00
Chris Wong
4a6ba2efa5
Update contributing docs and document release process
2021-01-09 19:21:37 +13:00
Chris Wong
a0f6e16958
Run publish docs action on release
...
- Document this change in the readme
2021-01-09 19:20:15 +13:00
Chris Wong
b8872d4098
Don't call the user a "silly bumpkin" ( #255 )
2021-01-09 18:51:05 +13:00
Chris Wong
87b7c9c2ba
Release 0.22.2 ( #253 )
2021-01-09 18:01:17 +13:00
Chris Wong
b286c65939
Use Span::mixed_site
directly from proc-macro2 ( #254 )
...
Since 1.0.19, `proc-macro2` now provides `Span::mixed_site` directly.
2021-01-09 17:15:43 +13:00
Chris Wong
37e11fcb6b
Remove non-Maud benchmarks ( #252 )
...
There's already [template-benchmarks-rs](https://github.com/djc/template-benchmarks-rs ), so we don't need to maintain a separate set here.
The Maud-specific benchmarks are kept, as they're still useful for testing future optimizations.
2021-01-07 21:37:28 +13:00
Chris Wong
605cb86e32
Note that docs CI should be kept in sync with publish script
2021-01-07 21:08:59 +13:00
Chris Wong
eb4729053b
Fix missing dollar sign
2021-01-07 17:12:56 +13:00
Chris Wong
1fab3b02ef
Create GitHub Action that publishes docs ( #251 )
2021-01-07 17:08:52 +13:00
Chris Wong
01636f5545
Add CNAME to manual deploy script ( #250 )
2021-01-06 23:33:00 +13:00
Chris Wong
202dc1ef01
Fix pulldown-cmark/ammonia example in docs ( #249 )
...
Closes #247
2021-01-06 23:09:59 +13:00
Chris Wong
31bd465b52
Generalize Into impl to From ( #248 )
...
This fixes a Clippy lint.
2021-01-04 21:45:33 +13:00
Chris Wong
07f31e9342
Enable --all-targets for Clippy ( #246 )
...
Closes #209
2020-12-23 20:02:34 +13:00
Chris Wong
5f7cec4da1
Remove Travis status badges ( #245 )
...
cc #243
2020-12-23 19:38:27 +13:00
Chris Wong
24593d8118
Switch to GitHub Actions ( #244 )
...
Closes #243
2020-12-23 19:20:58 +13:00
Chris Wong
167afc65bd
Changelog: make "Unreleased" a link
2020-12-01 10:45:54 +13:00
Chris Wong
0358af67dc
Improve "elements and attributes" documentation ( #242 )
2020-12-01 10:44:05 +13:00
Chris Wong
d5dec51c3a
Make the ?
suffix for empty attributes optional ( #238 )
2020-11-11 16:47:23 +13:00
Chris Wong
6ebe6b1fe1
Clean up tests ( #237 )
...
- Call `.into_string()` later
- Rename UI test to match Rust convention
2020-11-07 22:44:47 +13:00
Chris Wong
f1e2b71fed
Use rustfmt from stable instead of nightly ( #236 )
2020-11-02 23:33:40 +13:00
Chris Wong
0c9b6f2150
Release 0.22.1 ( #235 )
...
* Release 0.22.1
* Update benchmarks and docs dependencies
* Comrak breaking change
2020-11-02 19:24:13 +13:00
Chris Wong
159b4080d2
Document splices in classes and IDs ( #232 )
2020-11-02 16:33:03 +11:00
Chris Wong
3af1397541
Rewrite docs ( #232 )
2020-11-02 12:53:27 +13:00
Chris Wong
39a866d946
Enable LXD for faster builds ( #233 )
...
It seems a lot faster – the "All features" build is ~ 1:45 instead of ~ 3:15.
2020-10-11 23:43:41 +13:00
Chris Wong
eac710815b
Update changelog for stable support
2020-10-11 20:11:44 +11:00
Rob Ede
31115a6287
Add actix-web v3 support ( #228 )
...
* Add actix-web v3 support
* Add actix-web example
* Resolve changelog PR number
* Make sure that examples are built on CI
* Format Cargo.toml consistently
Co-authored-by: Chris Wong <lambda.fairy@gmail.com>
2020-10-11 17:22:19 +13:00
Chris Wong
b3d16f83b1
Add a version string to the documentation ( #227 )
2020-10-08 11:05:00 +13:00