You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by fe...@apache.org on 2022/07/25 06:46:28 UTC

[incubator-kyuubi] branch master updated: [KYUUBI #3126] Using markdown 3.3.7 for kyuubi document build

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

feiwang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new 64090f502 [KYUUBI #3126] Using markdown 3.3.7 for kyuubi document build
64090f502 is described below

commit 64090f502689fe583c18fa330cd7f28c03379ba3
Author: Fei Wang <fw...@ebay.com>
AuthorDate: Mon Jul 25 14:46:20 2022 +0800

    [KYUUBI #3126] Using markdown 3.3.7 for kyuubi document build
    
    ### _Why are the changes needed?_
    
    Close #3126
    The error:
    
    ```
    Running Sphinx v4.5.0
    building [mo]: targets for 0 po files that are out of date
    building [html]: targets for 231 source files that are out of date
    updating environment: [new config] 231 added, 0 changed, 0 removed
    reading sources... [  0%] appendix/index
    Extension error (sphinx_markdown_tables):
    Handler <function process_tables at 0x102589090> for event 'source-read' threw an exception (exception: TableProcessor.__init__() missing 1 required positional argument: 'config')
    make: *** [html] Error 2
    ```
    
    I checked the lib difference with before, seems the only change is Markdown version.
    
    Before, it was 3.3.7 and now it is 3.4.1.
    
    ### _How was this patch tested?_
    
    Re-create the kyuubi virtual env and build docs locally.
    
    Closes #3127 from turboFei/kyuubi_docs.
    
    Closes #3126
    
    ac428ce3 [Fei Wang] nit
    38b56bc3 [Fei Wang] Use markdown 3.3.7 for kyuubi documents build
    
    Authored-by: Fei Wang <fw...@ebay.com>
    Signed-off-by: Fei Wang <fw...@ebay.com>
---
 docs/requirements.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/requirements.txt b/docs/requirements.txt
index 60563aa06..1da934b2a 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -22,3 +22,5 @@ sphinx-book-theme==0.3.2
 sphinx-markdown-tables==0.0.15
 recommonmark==0.7.1
 sphinx-notfound-page==0.8
+# we shall bypass markdown-3.4.1, see details in KYUUBI-3126
+markdown==3.3.7