Commit graph

664 commits

Author SHA1 Message Date
Chris Wong
75b6801f47
Switch documentation to semantic line breaks ()
mdformat will preserve semantic line breaks, so we may as well commit to
using them.

cc 
2021-01-22 19:31:51 +13:00
Chris Wong
eaf552d417
Test documentation examples in CI ()
Closes 

Closes 
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" () 2021-01-09 18:51:05 +13:00
Chris Wong
87b7c9c2ba
Release 0.22.2 () 2021-01-09 18:01:17 +13:00
Chris Wong
b286c65939
Use Span::mixed_site directly from proc-macro2 ()
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 ()
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 () 2021-01-07 17:08:52 +13:00
Chris Wong
01636f5545
Add CNAME to manual deploy script () 2021-01-06 23:33:00 +13:00
Chris Wong
202dc1ef01
Fix pulldown-cmark/ammonia example in docs ()
Closes 
2021-01-06 23:09:59 +13:00
Chris Wong
31bd465b52
Generalize Into impl to From ()
This fixes a Clippy lint.
2021-01-04 21:45:33 +13:00
Chris Wong
07f31e9342
Enable --all-targets for Clippy ()
Closes 
2020-12-23 20:02:34 +13:00
Chris Wong
5f7cec4da1
Remove Travis status badges ()
cc 
2020-12-23 19:38:27 +13:00
Chris Wong
24593d8118
Switch to GitHub Actions ()
Closes 
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 () 2020-12-01 10:44:05 +13:00
Chris Wong
d5dec51c3a
Make the ? suffix for empty attributes optional () 2020-11-11 16:47:23 +13:00
Chris Wong
6ebe6b1fe1
Clean up tests ()
- 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 () 2020-11-02 23:33:40 +13:00
Chris Wong
0c9b6f2150
Release 0.22.1 ()
* 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 () 2020-11-02 16:33:03 +11:00
Chris Wong
3af1397541
Rewrite docs () 2020-11-02 12:53:27 +13:00
Chris Wong
39a866d946
Enable LXD for faster builds ()
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 ()
* 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 () 2020-10-08 11:05:00 +13:00
Chris Wong
b670d85595
Update documentation to account for stable support ()
* Remove `#![feature(proc_macro_hygiene)]` from documentation

Closes 

* Update comment about nightly vs stable
2020-10-08 11:02:19 +13:00
Chris Wong
ca2ba2d13c
Only deploy documentation when a release is tagged ()
I would expect that most people reading the docs are using the crates.io
version, not trunk.
2020-10-08 11:01:42 +13:00
Chris Wong
6c387e8126
Test --all-features separately () 2020-10-06 20:42:24 +13:00
Chris Wong
c139b7b719 Ensure that trybuild tests are actually run
PR  removed the `unstable` flag, but the trybuild tests still
depended on it 🤦
2020-10-06 18:14:47 +11:00
Chris Wong
3e0b2d8df1 Fix documentation deployment
The `cleanup` flag is only available on [dpl v2] which is opt-in. Moreover, dpl v2 defaults to `cleanup: false` anyway so there is no need to specify it.

[dpl v2]: https://docs.travis-ci.com/user/deployment-v2

cc 
2020-10-06 12:39:52 +11:00
Chris Wong
109c59bf62
Fix Travis CI warnings () 2020-10-06 13:27:15 +13:00
Chris Wong
49f3c46bd2
Avoid unstable specialization with this one weird trick! ()
Rustaceans hate him!
2020-10-05 22:44:27 +13:00
Chris Wong
165cfd5fe0
Update benchmarks and documentation dependencies ()
* Add `--locked` to benchmarks and documentation builds

* Update `Cargo.lock` and fix docs generator
2020-09-28 22:57:55 +10:00
Chris Wong
7f354e2c21 Travis: replace --all with --workspace 2020-09-28 22:13:07 +10:00
Chris Wong
64390ec0ce
Switch to version_check ()
version_check has fewer dependencies, and is already used by proc-macro-error and Rocket.
2020-09-28 22:03:06 +10:00
Chris Wong
250d93df9a
Enable stable support 🎉 ()
Infer whether nightly features are available using rustc_version. If this fails, assume stable.

Closes 
2020-09-28 11:06:44 +10:00
Chris Wong
d66c2d66fd
Remove #![feature(proc_macro_hygiene)] () 2020-09-27 23:17:41 +10:00
Chris Wong
2603c1c317 Fix Travis CI badge 2020-09-27 22:50:29 +10:00
Chris Wong
cb81ebe961
Merge pull request from lambda-fairy/rustfmt
Add rustfmt and format the project
2020-09-27 21:58:55 +10:00
Chris Wong
50a7e9ce37 Format everything! 2020-09-27 21:36:27 +10:00
Chris Wong
db28f4c100 Add trybuild tests to config 2020-09-27 21:33:37 +10:00
Chris Wong
0bab139b66 Skip an html! call 2020-09-27 21:30:55 +10:00
Chris Wong
2801530953 Enforce rustfmt on Travis CI 2020-09-27 20:59:49 +10:00
Chris Wong
88154c4c42
Merge pull request from CreepySkeleton/master
Move to proc-macro-error and proc-macro2 and trybuild
2020-09-27 20:39:48 +10:00