You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/12/08 07:25:51 UTC

[GitHub] [pulsar] sijie opened a new issue #5816: website failed to build due to "Invalid code tab markdown"

sijie opened a new issue #5816: website failed to build due to "Invalid code tab markdown"
URL: https://github.com/apache/pulsar/issues/5816
 
 
   **Describe the bug**
   
   The website fails to build because there is an "invalid code tab markdown" in `website/translated_docs/zh-CN/version-2.4.2/functions-develop.md`
   
   ```
   Error: Invalid code tab markdown
       at forEach (/pulsar/site2/website/node_modules/docusaurus/lib/core/Doc.js:104:15)
       at Array.forEach (<anonymous>)
       at splitTabsToTitleAndContent (/pulsar/site2/website/node_modules/docusaurus/lib/core/Doc.js:30:9)
       at replace (/pulsar/site2/website/node_modules/docusaurus/lib/core/Doc.js:190:14)
       at String.replace (<anonymous>)
       at Doc.renderContent (/pulsar/site2/website/node_modules/docusaurus/lib/core/Doc.js:160:20)
       at Doc.render (/pulsar/site2/website/node_modules/docusaurus/lib/core/Doc.js:247:32)
       at processChild (/pulsar/site2/website/node_modules/react-dom/cjs/react-dom-server.node.development.js:3293:18)
       at resolve (/pulsar/site2/website/node_modules/react-dom/cjs/react-dom-server.node.development.js:3124:5)
       at ReactDOMServerRenderer.render (/pulsar/site2/website/node_modules/react-dom/cjs/react-dom-server.node.development.js:3598:22)
   error Command failed with exit code 1.
   ```
   
   
   **Additional context**
   
   It seems that when crowdin generates the translated markdown file, some code tabs (e.g. `<!--DOCUSAURUS_CODE_TABS-->`, `<!--Java-->`) are removed.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services