Commit graph

1212 commits

Author SHA1 Message Date
Vincent Prouillet 1811255b92 Update deps 2017-06-22 16:28:52 +09:00
Vincent Prouillet b158ca7952 Read off disk in parallel 2017-06-22 14:21:56 +09:00
Vincent Prouillet b45f8c3116 Merge pull request #89 from williamyaoh/add-parallel
Parallelize site rendering using rayon
2017-06-21 18:14:30 +09:00
Vincent Prouillet 414457ed92 Get assets of page only if file is named index.md 2017-06-21 18:07:40 +09:00
William Yao 40cfd6fff8 add changelog entry for parallelization 2017-06-21 04:06:14 -05:00
William Yao 2109787625 coalesce syntect data structures into rendering::highlighting (Keats/gutenberg#89) 2017-06-21 04:00:37 -05:00
William Yao b759cf7681 parallelize site rendering with rayon (Keats/gutenberg#70) 2017-06-21 04:00:37 -05:00
Vincent Prouillet 53b0ec0244 Add loading benches 2017-06-21 15:15:43 +09:00
Vincent Prouillet cfcc4e7c38 Add script to generate test sites for benches 2017-06-20 23:21:57 +09:00
Vincent Prouillet 60e3352b7b Remove tests flakyness
Tags/Categories only work on dates
and tests were assigning them randomly
2017-06-20 21:59:54 +09:00
Vincent Prouillet 549644683b v0.0.7 2017-06-19 18:44:31 +09:00
Vincent Prouillet 6508b7e4d3 Name the index section 2017-06-19 18:14:13 +09:00
Vincent Prouillet 77ad6547e5 Update some dependencies 2017-06-18 20:06:18 +09:00
Vincent Prouillet 264d1e3742 Merge pull request #77 from Keats/next
v0.0.7
2017-06-18 20:04:28 +09:00
Vincent Prouillet 03bbe9cc90 Revert "Reverse order sorting to be desc"
This reverts commit 26e119479c.
2017-06-17 08:42:18 +09:00
Vincent Prouillet 6a059d86d0 Add aliases to pages. Fix #86 2017-06-16 23:09:01 +09:00
Vincent Prouillet 26e119479c Reverse order sorting to be desc 2017-06-16 22:12:38 +09:00
Vincent Prouillet e76ee7ae4a Pass section in context when rendering a page if there is one 2017-06-16 21:53:54 +09:00
Vincent Prouillet e57fb7d594 Add docs for toc 2017-06-16 14:05:14 +09:00
Vincent Prouillet c3986b701a Add table of contents support 2017-06-16 13:00:48 +09:00
Vincent Prouillet 4fa88ebc21 Update deps and only do one cargo test on windows 2017-06-13 20:50:16 +09:00
Vincent Prouillet 2d949249c3 Add trailing slash to paths and permalinks. Fix #85 2017-06-11 02:52:39 +09:00
Vincent Prouillet 0037f743cd Add license of livereload-js in serve.rs 2017-06-07 18:25:59 +09:00
William Yao 4c9d1e3af7 Add shortcode for Streamable videos (Electric Boogaloo) (#80)
Add shortcode for Streamable video
2017-06-06 12:51:20 +09:00
Vincent Prouillet 5b777cf587 Update syntect 2017-05-31 20:06:04 +09:00
Vincent Prouillet 9b6948a0ab Add code<future to readme 2017-05-30 19:24:19 +09:00
Vincent Prouillet ffe8a24333 Sort tag/category page by date
Fix #75
2017-05-30 19:23:10 +09:00
Vincent Prouillet f3cfca23a5 Update submodule and re-do dumps for syntect 1.4.0 2017-05-30 18:44:56 +09:00
Vincent Prouillet 913595ad67 Merge pull request #76 from emosenkis/patch-1
Fix typo.
2017-05-25 08:54:13 +09:00
Eitan Mosenkis 1ec5d56a52 Fix typo. 2017-05-24 19:50:06 +03:00
Vincent Prouillet 2c8ff5e08e v0.0.6 2017-05-24 21:28:33 +09:00
Vincent Prouillet ba7be32535 Update dependencies 2017-05-24 20:57:23 +09:00
Vincent Prouillet 5559dff996 Merge pull request #68 from Keats/moar
v0.0.6
2017-05-24 20:29:29 +09:00
Vincent Prouillet bae3ade471 Add get_section fn and update readme 2017-05-23 20:03:25 +09:00
Vincent Prouillet 958f1cf88c Update Tera and fix tests 2017-05-23 19:49:10 +09:00
Vincent Prouillet 3fb06ac791 Clippy 2017-05-22 20:58:28 +09:00
Vincent Prouillet 92d81509d3 Rebuild pages on changes to insert_anchor 2017-05-22 20:56:37 +09:00
Vincent Prouillet 916f7407db Rename anchor link class 2017-05-22 20:44:33 +09:00
Vincent Prouillet efb4d16ede Remove next/previous page when adding a previous/next to avoid chains
Where all the posts would be serialized
2017-05-22 20:38:04 +09:00
Vincent Prouillet dbe4a1d517 Move insert_anchor to section and allow left/right 2017-05-22 20:28:43 +09:00
Vincent Prouillet 2a11b9d116 Better error if address in use
Fix #72
2017-05-21 00:00:42 +09:00
Vincent Prouillet 33faf6fe70 Make number RSS item configurable
Fix #71
2017-05-20 23:45:32 +09:00
Vincent Prouillet d2b6cbde2f Update jinja2 syntax to include html syntax 2017-05-20 22:53:47 +09:00
Vincent Prouillet 26159609d2 Add a rendering module 2017-05-17 21:53:26 +09:00
Vincent Prouillet b2a63e2ada Add a get_url global fn
Close #67
2017-05-17 19:06:11 +09:00
Vincent Prouillet 59b4b07cb3 Use Path for fs utils rather than AsRef 2017-05-16 14:54:50 +09:00
Vincent Prouillet be784bbaa3 Refactor taxonomies
Fix #66
2017-05-16 13:39:42 +09:00
Vincent Prouillet 056bf55881 Add a FileInfo struct to hold some common data about the files 2017-05-15 19:53:39 +09:00
Vincent Prouillet d9ed7df118 Minify livereload.js 2017-05-15 17:11:14 +09:00
Vincent Prouillet b2c3adff37 Move page tests inside content mod 2017-05-15 17:02:38 +09:00