You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zookeeper.apache.org by dd...@apache.org on 2021/09/01 08:48:12 UTC

[zookeeper] branch branch-3.7 updated: ZOOKEEPER-4356: Code blocks do not render correctly in ZK docs site

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

ddiederen pushed a commit to branch branch-3.7
in repository https://gitbox.apache.org/repos/asf/zookeeper.git


The following commit(s) were added to refs/heads/branch-3.7 by this push:
     new e920633  ZOOKEEPER-4356: Code blocks do not render correctly in ZK docs site
e920633 is described below

commit e920633e69389e99770ec07e3cc99577e6eec7e6
Author: Nihal Jain <ni...@gmail.com>
AuthorDate: Wed Sep 1 08:47:18 2021 +0000

    ZOOKEEPER-4356: Code blocks do not render correctly in ZK docs site
    
    * Configure to use FENCED_CODE_BLOCKS.
    * Note: TABLES is the default setting. See https://github.com/walokra/markdown-page-generator-plugin for details on default `pegdownExtensions` setting
    
    Author: Nihal Jain <ni...@gmail.com>
    
    Reviewers: maoling <ma...@apache.org>, Damien Diederen <dd...@apache.org>
    
    Closes #1741 from NihalJain/ZOOKEEPER-4356
    
    (cherry picked from commit 2797116b33a505c8b36b396216c26afd7f7ba28c)
    Signed-off-by: Damien Diederen <dd...@apache.org>
---
 zookeeper-docs/pom.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/zookeeper-docs/pom.xml b/zookeeper-docs/pom.xml
index 9ba7938..9977ede 100644
--- a/zookeeper-docs/pom.xml
+++ b/zookeeper-docs/pom.xml
@@ -49,6 +49,7 @@
           <headerHtmlFile>${project.basedir}/src/main/resources/markdown/html/header.html</headerHtmlFile>
           <footerHtmlFile>${project.basedir}/src/main/resources/markdown/html/footer.html</footerHtmlFile>
           <copyDirectories>images,skin</copyDirectories>
+          <pegdownExtensions>TABLES,FENCED_CODE_BLOCKS</pegdownExtensions>
         </configuration>
       </plugin>
       <plugin>