Vincent Prouillet
42939b9a66
Fix error and cargo update
6 years ago
Owen Nelson
908f16855a
Fixes #279 switch from iron to actix-web.
This implementation seems to match the behavior of the previous iron
server.
Static files are rendered as-is, and when a directory is requested, we
attempt to render a `index.html` found inside, or 404 if it's not
present.
The actix docs mention using channels to send a message to the server to
shut it down gracefully while running in another thread (as we're doing
here), but it seems like there would have to be some reorganization in
order to manage this effectively, perhaps holding the channel sender inside
`main.rs` so we can push a message through to the server when the call
to `cmd::serve()` finally returns.
For the time being, I left things without any careful attempts to
cleanup the server thread. This more or less matches the old iron
implementation as far as I can see.
The static file handling in actix is _just_ a little off from what we'd
want.
I left some comments in the source regarding why we can't just use their hook
for directory index redirection.
6 years ago
Vojtech Kral
6662014e55
Add image resizing support #225
6 years ago
Vincent Prouillet
d334b1cf46
More shortcode docs update
6 years ago
Vincent Prouillet
a853bef933
v0.3.4
6 years ago
Vincent Prouillet
ddf8970ad8
[WIP] Search
6 years ago
Vincent Prouillet
2eacb8247b
Fix config CLI option
Closes #254
6 years ago
Vincent Prouillet
15dd8e629e
v0.3.2
6 years ago
Vincent Prouillet
45fc1ee761
Release 0.3.1
6 years ago
Vincent Prouillet
16f658c70c
Move test_site and turn rebuild.rs into a component
6 years ago
Vincent Prouillet
fea728d413
Update cargo metadata
6 years ago
Vincent Prouillet
b73ff48482
Fix not compiling on nightly
Fix #215
6 years ago
Vincent Prouillet
a44dd5f49a
serve cleans after itself now
Closes #199
6 years ago
Vincent Prouillet
bfdc93f948
Cargo update
7 years ago
Vincent Prouillet
11be340a92
v0.2.2
7 years ago
Geoff Shannon
c19e900bec
Extract syntex highlighting module into a new component in workspace
This removes the dependency cycle between config and rendering that
causes 4 packages to be recompiled every time a change is made.
I just want to code fast!
7 years ago
Vincent Prouillet
3e421fb951
Releasing 0.2.1
7 years ago
Vincent Prouillet
97d5561569
Next version will be 0.2.0
7 years ago
Vincent Prouillet
20c1947b47
Clippy run
7 years ago
Vincent Prouillet
f5e1b0c170
Get ready for 0.1.3 release
7 years ago
Vincent Prouillet
145829023c
Prepare for 0.1.2 release
7 years ago
Vincent Prouillet
23e4b911e7
Improve gutenberg init
Fix #104
7 years ago
Vincent Prouillet
62a24c3700
Forgot to bump Cargo.toml version
7 years ago
Vincent Prouillet
b585239348
Disable build.rs now that completions files are built
7 years ago
Vincent Prouillet
2ea77f3883
Generate completions for all shells
7 years ago
Vincent Prouillet
903b456276
v.0.1.0
7 years ago
Vincent Prouillet
c3b525745e
Convert project to a workspace
7 years ago
Vincent Prouillet
1811255b92
Update deps
7 years ago
William Yao
b759cf7681
parallelize site rendering with rayon ( Keats/gutenberg#70 )
7 years ago
Vincent Prouillet
549644683b
v0.0.7
7 years ago
Vincent Prouillet
4fa88ebc21
Update deps and only do one cargo test on windows
7 years ago
Vincent Prouillet
2c8ff5e08e
v0.0.6
7 years ago
Vincent Prouillet
958f1cf88c
Update Tera and fix tests
7 years ago
Vincent Prouillet
d2b6cbde2f
Update jinja2 syntax to include html syntax
7 years ago
Vincent Prouillet
54fc1055ad
v0.0.5
7 years ago
Vincent Prouillet
aa7ddef123
Update toml
7 years ago
Vincent Prouillet
9669c3562c
Some fix and use toml master branch for now
7 years ago
Vincent Prouillet
a8c8c5cb07
Update changelog and base64
7 years ago
Vincent Prouillet
d37ca10905
Update serde and tera
7 years ago
Vincent Prouillet
e6b48dff38
Release 0.0.3
7 years ago
Vincent Prouillet
cf3a8142c2
Try to make windows work + remove musl
7 years ago
Vincent Prouillet
b86a30fb78
Add markdown and base64 filters
7 years ago
Vincent Prouillet
a02d50c22a
Add some colours
7 years ago
Vincent Prouillet
573ab48eb0
serde_json is not used
7 years ago
Vincent Prouillet
769878032a
Release 0.0.2
7 years ago
Vincent Prouillet
81596af366
Update clap
7 years ago
Vincent Prouillet
7e496878e5
Sections
Parse _index.md files as sections and render them
7 years ago
Vincent Prouillet
2d26bf038c
Force refresh on content/template change and various fixes
7 years ago
Vincent Prouillet
57fd159025
Copy static directory and live reload changes to it
7 years ago
Vincent Prouillet
d43d738a4f
RSS feed generation
7 years ago