From 72243d9eeb8d7be50c54e35908d4d4aab7b451ce Mon Sep 17 00:00:00 2001 From: nyanpasu64 Date: Thu, 16 Jun 2022 05:37:49 -0700 Subject: [PATCH] Fix incorrect documentation for syntax directory (#1901) Currently the Configuration docs says to load syntax files into config.toml [markdown] extra_syntaxes. However, ever since commit 23064f57c8 (released in Zola v0.15.0), the extra_syntaxes property was replaced by extra_syntaxes_and_themes, and used as both syntax and color theme search paths. Following the docs and trying to set the extra_syntaxes property does nothing, and #1723 ran into this issue. Change the docs to consistently reference extra_syntaxes_and_themes. --- docs/content/documentation/getting-started/configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/documentation/getting-started/configuration.md b/docs/content/documentation/getting-started/configuration.md index 4ddaac2822..f8f2d473fc 100644 --- a/docs/content/documentation/getting-started/configuration.md +++ b/docs/content/documentation/getting-started/configuration.md @@ -93,8 +93,8 @@ build_search_index = false # When set to "true", all code blocks are highlighted. highlight_code = false -# A list of directories used to search for additional `.sublime-syntax` files. -extra_syntaxes = [] +# A list of directories used to search for additional `.sublime-syntax` and `.tmTheme` files. +extra_syntaxes_and_themes = [] # The theme to use for code highlighting. # See below for list of allowed values.