Commit graph

465 commits

Author SHA1 Message Date
Enmanuel de la Nuez e2f2f4f779
Briefly explain TOML tables (#1576)
* Briefly explain TOML tables

There's a warning about a possible source of errors, but it doesn't give you the relevant information to actually make sense of it. I hope this saves someone a search since I personally had to find this out reading the TOML spec.

Any other ways to phrase this?

* Update configuration.md
2021-08-03 09:20:34 +02:00
GitHub Action 8c98d11363 Update themes gallery 2021-08-02 14:32:05 +00:00
Vincent Prouillet 0f9638120e
Merge pull request #1557 from coastalwhite/local-devices-sidenote
Added sidenote on serving to local devices
2021-07-22 09:05:51 +02:00
Gijs Burghoorn 365b15ccc2 Added sidenote on serving to local devices
[Issue #1556]
2021-07-21 22:18:37 +02:00
Herby Gillot f8d3dabc17
README: add MacPorts info 2021-07-21 07:11:51 -04:00
Vincent Prouillet fa00914db6 Mention paginator.current_index is 1-indexed
Closes #835
2021-07-19 20:56:23 +02:00
Vincent Prouillet b89fc2c274
Merge branch 'master' into next 2021-07-18 13:53:27 +02:00
Vincent Prouillet 4a87689cfb Add class based syntax higlighting + line numbers (#1531)
* Add class based syntax higlighting + line numbers

* Use fork of syntect for now

* Fix tests

* Fix diff background on inline highlighter

Co-authored-by: evan-brass <evan-brass@protonmail.com>
2021-07-10 08:53:19 +02:00
Bert JW Regeer 57705aa82e
Add permalink to Taxonomy (#1516)
* Add permalink to Taxonomy

* Document permalink addition to TaxonomyConfig
2021-07-10 08:43:22 +02:00
Avinash Sonawane 96e28ddd5c
Docs: Fix resize_image and gallery shortcodes (#1543) 2021-07-07 11:08:37 +02:00
Vincent Prouillet ee85300303 Mention load_data only works with utf-8
Closes #1539
2021-06-29 22:24:34 +02:00
Vincent Prouillet 3e1a934604 Fix tests and add note about translations 2021-06-25 10:12:05 +02:00
Marshall Bowers 93900fb623
Add num_format filter (#1460)
* Add `num_format` filter for displaying formatted numbers

* Register the filter

* Update docs

* Make `locale` argument required

* Revert "Make `locale` argument required"

This reverts commit 9cdbf285915f0257d1b9157572588b0ce6698a44.

* Pull the default locale from the site config

* Add note about defaults to the docs

* Add missing borrow
2021-06-25 10:07:52 +02:00
Vincent Prouillet 545e766818 Allow functions to look into current theme static folder
Closes #1416
2021-06-24 23:12:05 +02:00
Vincent Prouillet 8e9b779fc6 Mention lang for get_taxonomy
Closes #1517
2021-06-24 22:03:33 +02:00
Vincent Prouillet 1e6768b18d Remove search index for themes 2021-06-24 08:37:25 +02:00
Matt Ronchetto 312ffcb04c
chore: update Vercel documentation (#1527)
This brings in the proper and latest method to use Zola with Vercel.
2021-06-14 09:42:05 +02:00
Vincent Prouillet c0a0df4fe9 Update resize_image docs 2021-06-11 23:39:48 +02:00
Vincent Prouillet 1bf5cd7bf8 Update docs + sandbox files 2021-06-11 21:14:45 +02:00
Tim Schumacher 16c123aa20
Include path in the search index with include_path (#1509) 2021-06-02 09:18:39 +02:00
Avinash Sonawane 7fab9b4774
Improve docs (#1506)
* Docs: Mention page.summary for summary

* Docs: Link global functions

* Docs: Fix typos
2021-05-31 09:21:18 +02:00
Pankaj Patil b292f452bd
Fix|Docs: paginate_reversed is missing from example _index.md (#1501)
* Fix|Docs: paginate_reversed is missing from example _index.md

* Update docs/content/documentation/content/section.md

Co-authored-by: Vincent Prouillet <balthek@gmail.com>
2021-05-30 17:39:43 +02:00
Abhishek Dahal 1cecf60bf6
Update Travis CI link to point to updated website (#1498) 2021-05-28 17:59:08 +02:00
Avinash Sonawane ff8805ec09
Docs: Don't suggest/use a CSS framework (#1495) 2021-05-27 15:10:51 +02:00
Avinash Sonawane 0ca311fdd1
Docs: Document variables with default values (#1493) 2021-05-26 22:42:24 +02:00
Avinash Sonawane 6a84f1b4b8
Docs: weight ties sort sections in random order (#1492) 2021-05-26 16:34:39 +02:00
Avinash Sonawane 14b1a3570a
Docs: Add highlight theme green to docs (#1486) 2021-05-24 10:42:57 +02:00
Vincent Prouillet aaa4f4e872 Fix highlighting 2021-05-24 08:20:28 +02:00
Avinash Sonawane 60386292a8
Docs: Move build_search_index to root level in config.toml (#1479) 2021-05-23 17:15:48 +02:00
Avinash Sonawane 8ee6df030f
Docs: Mention that the output directory will be deleted before build (#1472)
and serve
2021-05-23 13:53:25 +02:00
Avinash Sonawane 22fcae457a
Docs: Add second.md filename to directory structure overview (#1469) 2021-05-21 22:00:30 +02:00
Avinash Sonawane 0596b9944c
Docs: Remove --watch-only flag (#1468) 2021-05-21 21:58:13 +02:00
François b244bcdfbb
Hide lines in code block (#1453)
* hide lines

* test hide ines

* add documentation

* fix test

* factor shared code with hl_lines
2021-05-14 20:25:13 +02:00
Vincent Prouillet 5365efebb3 Add protobuf syntax highlighting 2021-05-10 22:09:36 +02:00
Vincent Prouillet 5df6e034c4 Update MSRV 2021-05-09 23:03:19 +02:00
Vincent Prouillet 998f700f30
Update themes gallery (#1449)
Co-authored-by: GitHub Action <action@github.com>
2021-05-08 23:24:44 +02:00
Chanakya 3a5ae0f073
Update configuration.md (#1450) 2021-05-08 20:44:31 +02:00
Vincent Prouillet b2adfae4bc Add Zig highlighting
Closes #1370
2021-05-05 21:55:30 +02:00
Vincent Prouillet 10c1739c62 Update pinned MSRV 2021-05-05 21:36:56 +02:00
Vincent Prouillet dc0c7df3b0
Update themes gallery (#1443)
Co-authored-by: GitHub Action <action@github.com>
2021-05-05 21:31:15 +02:00
Vincent Prouillet 84fb2f30f3 Mention WSL2 filesystem
From #1440
2021-05-05 19:35:59 +02:00
Jordan Stanway dedd8692fd
revise documentation for gh-pages (#1441) 2021-05-04 13:11:26 +02:00
Martin Simon a0b92be9f6
doc(installation): add Debian package (#1432) 2021-04-26 09:27:23 +02:00
Vincent Prouillet e92e4f1003 Tweaks to load_data + update deps 2021-04-21 21:43:02 +02:00
Marco Tolk 1bd777f0e5
Add HTTP POST capability to load_data() (#1400)
* Fixed failing tests on windows when user is not VssAdministrator.

* Fixed windows specific testcases related to \r

* Added the ability to perform POST requests to load_data

* make tests on windows deal with both \r being there on windows, and \r not being generated as on my personal windows system.

* undo earlier commit eaaa8c3ddd65d474161073a6fb80599eea1a9a21

because it fails on azure buildserver

* added new arguments to the hash for the cache function.

So caching now works as it should

* added new arguments to the hash for the cache function.

* improved documentation of load_data POST with better example.

* added basic derive traits

* changed load_data param contenttype to content_type

* fixed caching issues that went missing?

* format

* made code more idiomatic as suggested by keats
2021-04-21 21:29:47 +02:00
Songmin Li 4f7b960985
Fix can not build with indexing-zh (#1433)
* fix can not build zola with search/indexing-zh feature

* fix can not build components/utils after enabled indexing-zh feature

error[E0252]: the name `Deserialize` is defined multiple times
 --> components/utils/src/de.rs:2:5
  |
1 | use serde::{Deserialize, Deserializer};
  |             ----------- previous import of the macro `Deserialize` here
2 | use serde_derive::Deserialize;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^ `Deserialize` reimported here
  |
  = note: `Deserialize` must be defined only once in the macro namespace of this module
2021-04-19 10:33:12 +02:00
Stanislas 6e2595a191
doc(syntax-highlighting): fix available values (#1427) 2021-04-07 21:17:02 +02:00
Stanislas a9afb076b4
doc(content/page): fix typo (#1419) 2021-03-27 08:54:11 +01:00
Bert JW Regeer 5bf9ebc43a
Feature: allow spaces between dashes in filename for page (#1323)
* Allow optional whitespace around dash/underscore in filename

Allow file names that are as follows:

    2021-01-01 - test.md

To be parsed the same as if they were

    2021-01-01-test.md

The slug for both will now just be "test" instead of previously the
first example would have become "2021-01-01-test".

* Add documentation for optional whitespace in filename

* Test that updated regex does not take space after dash
2021-03-22 20:00:25 +01:00
Roman 226ff377c7
add Cloudflare Pages to docs (#1414) 2021-03-17 22:10:21 +01:00