Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-33680

Failed to build document with docker

    XMLWordPrintableJSON

Details

    Description

      Follow the documentation, the documentation comes from https://github.com/apache/flink/blob/master/docs/README.md

       

      The implementation results are as follows:

      [root@bigdatadev workpace]# git clone https://github.com/apache/flink.git
      ...
      
      [root@bigdatadev workpace]# cd flink/docs/
      [root@bigdatadev docs]# ./setup_docs.sh
      
      
      [root@bigdatadev docs]# docker pull jakejarvis/hugo-extended:latest
      latest: Pulling from jakejarvis/hugo-extended
      Digest: sha256:f659daa3b52693d8f6fc380e4fc5d0d3faf5b9c25ef260244ff67625c59c45a7
      Status: Image is up to date for jakejarvis/hugo-extended:latest
      docker.io/jakejarvis/hugo-extended:latest
      
      
      [root@bigdatadev docs]#  docker run -v $(pwd):/src -p 1313:1313 jakejarvis/hugo-extended:latest server --buildDrafts --buildFuture --bind 0.0.0.0
      Start building sites … 
      hugo v0.113.0-085c1b3d614e23d218ebf9daad909deaa2390c9a+extended linux/amd64 BuildDate=2023-06-05T15:04:51Z VendorInfo=docker
      Built in 515 ms
      Error: error building site: assemble: "/src/content/_index.md:36:1": failed to extract shortcode: template for shortcode "columns" not found
       

       

      [root@bigdatadev docs]# vim content/_index.md

       30 # Apache Flink Documentation
       31 
       32 < center >
       33 {}Apache Flink{} is a framework and distributed processing engine for stateful computations over unbounded and bounded data streams. Flink has been designed to run in all common cluster en    vironments, perform computations at in-memory speed and at any scale.
       34 < /center >
       35 
       36 {{< columns >}}
       37 
       38 ### Try Flink
       39 
       40 If you’re interested in playing around with Flink, try one of our tutorials:
       41 
       42 * [Fraud Detection with the DataStream API](< ref "docs/try-flink/datastream" >)

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            tomato wangshiheng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: