Commit graph

1794 commits

Author SHA1 Message Date
Vincent Prouillet
3dde2ce562 Update netlify deploy docs 2022-02-15 20:56:38 +01:00
Sam Vente
fd052252f7 fix crash in build.rs when installing from source on linux (#1760) 2022-02-14 11:08:40 +01:00
Michael Clayton
a13279ea39 ignore links to '#' (#1756) 2022-02-14 11:08:40 +01:00
liushuyu
821fa38bc1 build: include metadata in Windows binary (#1735) 2022-02-14 11:08:40 +01:00
Kartavya Vashishtha
a5890a9901 Make ignored_content work with nested paths and directories (#1738)
* Make ignored_content work with directories
Just had to remove strip_prefix(path) from file ignore code.
Added tests for subdirectory globbing.

* Add documentation

* add more tests
to confim that simple filename globs still match paths
without strip_prefix
2022-02-14 11:08:40 +01:00
Vincent Prouillet
ae3a8b802e Add libs subcrate (#1747)
* Add libs subcrate

* Remove last direct lazy_static usage

* Update pinned ci version

* Update deps
2022-02-14 11:08:40 +01:00
Scott Stevenson
fd0bcfabe6 Include path separator in log message (#1749)
This adds a path separator between the directory and filenames in the
message printed by `zola serve` to indicate it is listening for changes.

Before:

    Listening for changes in /path/to/dir{config.toml, content, sass, static, templates}

After:

    Listening for changes in /path/to/dir/{config.toml, content, sass, static, templates}
                                         ^
2022-02-14 11:08:40 +01:00
Michael Clayton
78b19d7133 Fix markup for fenced code with linenos (#1746)
* fix fenced code blocks with linenos and minify_html

* fix test cases involving linenos
2022-02-14 11:08:40 +01:00
Vincent Prouillet
4bcbf2a545 Update deps 2022-02-14 11:08:40 +01:00
Vincent Prouillet
53fca748e8 Mention Sass version support
Close #1619
2022-02-14 11:08:40 +01:00
Vincent Prouillet
f4f1e4b6e1 Mention translations for default language
Close #1634
2022-02-14 11:08:40 +01:00
Vincent Prouillet
4dfb35d83a Mention paginator in getting started overview
Close #1658
2022-02-14 11:08:40 +01:00
Vincent Prouillet
108d196b85 Add link to theme in syntax doc
Close #1679
2022-02-14 11:08:40 +01:00
Vincent Prouillet
a9b4cc6302 Add stemmer for other languages in the docs
Close #1740
Close #1349
2022-02-14 11:08:40 +01:00
Marcin Puc
0f23a40e3f Update arg parsing to clap v3 (#1717)
* Update arg parsing to clap v3
2022-02-14 11:08:40 +01:00
Vincent Prouillet
502dd92cc6 Next version 2022-02-14 11:08:40 +01:00
Vincent Prouillet
90bddf0ef5
Update themes gallery (#1755)
Co-authored-by: GitHub Action <action@github.com>
2022-02-10 10:09:25 +01:00
alexander
991c18c2de
fixing docs for #1753 (#1757) 2022-02-10 10:09:15 +01:00
Philpax
542daa752c
Shortcodes: Mention argument parens are mandatory (#1752) 2022-02-07 11:15:14 +01:00
Vincent Prouillet
a7abc84067
Update themes gallery (#1742)
Co-authored-by: GitHub Action <action@github.com>
2022-01-23 23:39:09 +01:00
Vincent Prouillet
96db5231e7 Bump MSRV 2022-01-23 14:33:51 +01:00
Vincent Prouillet
c9bc0a29e4 Ready for release 2022-01-23 14:33:51 +01:00
Vincent Prouillet
a61fa3fd80 That's going to be 0.15.3 2022-01-23 14:33:51 +01:00
Jeremy Kerr
1b20acabde config: Don't skip extra syntax loading if highlight_theme = css (#1732)
Currently, init_extra_syntaxtes_and_highlight_themes will supress
loading anything if highlight_theme is "css". This makes sense for the
highlight themes, but will also skip loading any extra syntax
definitions too.

This change defers the theme = css check, so we still load syntaxes in
this case.

Fixes: #1723

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
2022-01-23 14:33:51 +01:00
liushuyu
684bc2dd74 Fix shortcode handling in code-fences (#1720)
* rendering/markdown: fix shortcode handling in codefences

* rendering/tests: add a bunch of tests for codefence + shortcode usages
2022-01-23 14:33:51 +01:00
Teddy Heinen
ef3a16f3a8 make asset colocation find assets which have no extension (as opposed to ignoring them) (#1734) 2022-01-23 14:33:51 +01:00
liushuyu
37b31cb61f templates/load_data: add an optional parameter headers (#1710)
* templates/load_data: add an optional parameter headers ...

... now `load_data` function supports setting extra headers

* docs/templates/overview: cover some edge-cases in the explanation

* templates/load_data: fix caching logic with headers

* docs/templates: change wording for load_data headers explanations
2022-01-23 14:33:51 +01:00
Michael Clayton
78132a8d1d add theme's robots.txt to tera with name "robots.txt" (#1722)
* add theme's robots.txt to tera with correct name

* add TODO reminder to add tests
2022-01-23 14:33:51 +01:00
Tshepang Lekhonkhobe
faec345e84 remove compiler warning (#1698) 2022-01-23 14:33:51 +01:00
Phil Lord
5190b5eba5 Add heuristic checking for HTML anchors (#1716)
* Add heuristic checking for HTML anchors

Previously only anchors specified or generated in markdown could be
linked to, without complaint from the link checker. We now use a
simple heuristic check for `name` or `id` attributes.

Duplicate code has been refactored and all XML anchor checks updated
to use regex rather than substring match.

* Fix regexp and refactor
2022-01-23 14:33:51 +01:00
Jakub Kądziołka
0b7e3cb907 Various comment cleanups (#1726)
* Add a comment to clarify that this bodge is not a bug

* Fix rustdoc warnings
2022-01-23 14:33:51 +01:00
Koen Bolhuis
13e35963ad Fix option in syntax highlighting docs (#1712)
The sentence mentions `highlighting_themes_css` but the actual option is `highlight_themes_css`.
2022-01-23 14:33:51 +01:00
Jakub Kądziołka
4d14c46552 Reduce code repetition in CodeBlock::highlight (#1697) 2022-01-23 14:33:51 +01:00
keno
c5aa1a2a33 docs: Add missing punctuation 2022-01-23 14:33:51 +01:00
Vincent Prouillet
4cef97af2a Next version 2022-01-23 14:33:51 +01:00
Vincent Prouillet
14ccd898ba
Update themes gallery (#1737)
Co-authored-by: GitHub Action <action@github.com>
2022-01-18 10:56:30 +01:00
ilham
baae4d7101
Fix typo in docs (#1739) 2022-01-17 19:55:29 +01:00
Vincent Prouillet
47773c27d3
Update themes gallery (#1728)
Co-authored-by: GitHub Action <action@github.com>
2022-01-13 23:08:57 +01:00
Moritz
2aac1633ee
Improved Cloudflare Pages deployment guide (#1733)
Improved readability and fixed a few mistakes
2022-01-13 19:55:09 +01:00
Rishi Raj Jain
f4d312ba04
simplify Layer0 deployment guide (#1727)
* Update layer0.md

* Update layer0.md
2022-01-10 21:33:10 +01:00
w1kee
25ab1bcd59
docs: fix missing doublequote (#1719) 2022-01-04 21:01:37 +01:00
Philpax
ef26db82f8
docs: filter to main for example GH Pages config (#1715)
* docs: filter to main for example GH Pages config

* docs: update GH Pages wording to indicate choice of branch

* docs: typo fix
2022-01-04 11:51:17 +01:00
Dym Sohin
fac80b76ea
fix thumbnails sqaushing/stretching (#1711) 2022-01-03 13:33:17 +01:00
gcchaan
359de43587
Fix typo (#1709) 2021-12-28 14:18:41 +01:00
Vincent Prouillet
dbdacfabe5 Remove marketing content 2021-12-27 23:22:35 +01:00
Rishi Raj Jain
9a5f5207c1
Guide: Deploy Zola with Layer0 (#1704) 2021-12-23 19:58:53 +01:00
Ricky Nelson
bc51b5da36
Fix typo (#1706)
This file ends up in the public directory, not the static directory.
2021-12-23 19:40:53 +01:00
Folyd
75d9991455
Update source-tag to v0.15.2 (#1703) 2021-12-22 09:13:36 +01:00
Maxime Le Conte des Floris
3a71c8c1c8
Add films.mlcdf.fr to example sites (#1702) 2021-12-21 20:03:06 +01:00
Vincent Prouillet
1ed1fdbee7 Ready for 0.15.2 2021-12-10 22:04:20 +01:00