You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by dz...@apache.org on 2021/11/24 14:32:34 UTC

[drill-site] branch master updated: Move create_data_docs from post_read to pre_render for lang fix.

This is an automated email from the ASF dual-hosted git repository.

dzamo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 56ecd46  Move create_data_docs from post_read to pre_render for lang fix.
56ecd46 is described below

commit 56ecd46244b0724ebf7b021408db440de6dcb29a
Author: James Turton <ja...@somecomputer.xyz>
AuthorDate: Wed Nov 24 16:32:15 2021 +0200

    Move create_data_docs from post_read to pre_render for lang fix.
---
 _plugins/create_data_docs.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/_plugins/create_data_docs.rb b/_plugins/create_data_docs.rb
index 0d0b2bb..141e77e 100644
--- a/_plugins/create_data_docs.rb
+++ b/_plugins/create_data_docs.rb
@@ -4,7 +4,7 @@ require 'tempfile'
 # This plugin generates the JSON data files _data/docs_*.json which are used
 # in liquid tags across the site to generate the docs nav menu, forward/back
 # links and breadcrumbs.
-Jekyll::Hooks.register :site, :post_read do |site|
+Jekyll::Hooks.register :site, :pre_render do |site|
     # The Polyglot plugin launches a Jekyll build per language, optionally in
     # parallel, meaning that this hook will be called once for each language.