Vincent Prouillet
f98efe5311
Merge pull request #384 from Freaky/linkchecker-headers
link_checker: Set Accept header
6 years ago
Vincent Prouillet
29e8b48581
Merge pull request #387 from Freaky/fix-rendering-benchmark
Fix rendering benchmarks.
6 years ago
Thomas Hurst
2a53955696
Fix rendering benchmarks.
6 years ago
Thomas Hurst
6a5ace62fc
link_checker: Set Accept header
As mentioned in #381, crates.io 404's any request without an Accept:
text/html header. It 200's any request with one, but at least
false-successes don't prevent checking any other links.
This also makes it easier to add a custom User-Agent if desired.
rustfmt and fix a clippy nit (unnecessary return) while I'm here.
6 years ago
Vincent Prouillet
6d875db4c7
Update changelog
6 years ago
Vincent Prouillet
0b874c9248
Merge pull request #380 from Freaky/rework-summary
Improve summary handling
6 years ago
Thomas Hurst
68690a2cf1
Add a test for summary handling in Markdown rendering.
6 years ago
Thomas Hurst
c53c403790
Update rendering tests
6 years ago
Thomas Hurst
5f1f9efe7a
Derive debug for markdown::Rendered
6 years ago
Thomas Hurst
f2f3bed080
Markdown parsing: prefer Borrowed over Owned where possible
As mentioned in #376
6 years ago
Thomas Hurst
c069bfdafa
Rework summary handling.
Push summary handling into Markdown parsing, identifying the presence
of one by giving its length in the rendered markup.
Hopefully a better fix for #376 .
6 years ago
Vincent Prouillet
e0291cec65
Add Swift, MiniZinc syntax and update the rest
Also fix tests
Close #367, #372
6 years ago
Vincent Prouillet
ce813fab1b
Merge pull request #369 from remexre/feature/runtime-syntax-loading
Runtime syntax loading
6 years ago
Nathan Ringo
48391dbafb
extra_syntaxes documentation
6 years ago
Nathan Ringo
9df5da4697
Fixes bug with extra syntaxes in non-root section, adds tests.
6 years ago
Nathan Ringo
64fa890aa9
Adds support for loading additional syntaxes via extra_syntaxes.
6 years ago
Vincent Prouillet
9675ab190d
Merge pull request #364 from paulcmal/section-assets
Section assets
6 years ago
cmal
7875387a04
Document assets on sections doc
6 years ago
cmal
ec65d01a72
Add assets to Sections variables
6 years ago
cmal
b8bc13c351
Make link more specific
6 years ago
cmal
26ffc31850
Document section assets + add example asset interaction from Markdown
6 years ago
cmal
31479ff23b
Remove condition that's always true (optimization)
6 years ago
cmal
739c2011a7
Remove redundant filtering operation (optimization)
6 years ago
cmal
77f8d96c9c
Make comment more explicit
6 years ago
cmal
3b9c8c71b5
Revert "Start implementing _index folder for section content/assets"
This reverts commit c7156a84f0
.
6 years ago
cmal
c7156a84f0
Start implementing _index folder for section content/assets
6 years ago
cmal
15190962ba
Copy relevant assets in case of colocation for section
6 years ago
cmal
8473dff23d
Implement assets colocation in section
6 years ago
Vincent Prouillet
cc46c81bbd
Prepare 0.4.1
6 years ago
Vincent Prouillet
abd9c26d81
Update deps for notify
6 years ago
Vincent Prouillet
a4e47f9435
Update deps
6 years ago
Vincent Prouillet
f7bc88de59
Merge pull request #360 from johansigfrids/fix_window_path_handling
Fix path handling on windows
6 years ago
Vincent Prouillet
3ddfc303ec
Document extending theme templates ( #361 )
6 years ago
Vincent Prouillet
8149b0db99
No need for beta & nightly in Travis
6 years ago
Vincent Prouillet
4f418a11b4
Fix live reload of section content
6 years ago
Johan Sigfrids
883357a7dd
Handle relative path case
6 years ago
Johan Sigfrids
9be5e640ff
Only test windows path handling on windows.
Otherwise Path won't know what to do.
6 years ago
Johan Sigfrids
64ec7e1578
Fix path handling on windows.
Delay turning paths into string. Instead, use methods on Path/PathBuf
to manipulate paths. This way the Rust Path implementation gets to deal with
all werid cross-platform issues.
This should fix #359
6 years ago
Vincent Prouillet
f0ba604075
Update README.md
6 years ago
Vincent Prouillet
3db404c9f9
Update themes docs
6 years ago
Vincent Prouillet
d9bc70c6fa
Last minute cargo update
6 years ago
Vincent Prouillet
37a8f5f643
Build site with 0.4.0
6 years ago
Vincent Prouillet
fb6e3bd5cc
Fix CIs
6 years ago
Vincent Prouillet
8fcb4c3ae6
Merge pull request #290 from Keats/next
Next version
6 years ago
Vincent Prouillet
84a3193e97
Last fixes
6 years ago
Vincent Prouillet
bd6578e71c
Fix failing test
6 years ago
Vincent Prouillet
f2d1e25c3d
cargo update
6 years ago
Vincent Prouillet
648b700667
One more cargo update
6 years ago
Vincent Prouillet
8e3e3a52f1
Updated deps
6 years ago
Vincent Prouillet
6707078479
Clarify pelican and netlify
6 years ago