[jira] [Created] (FLINK-21717) Links to Java/Python docs are Broken

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-21717) Links to Java/Python docs are Broken

Shang Yuanchun (Jira)
Jane Chan created FLINK-21717:
---------------------------------

             Summary: Links to Java/Python docs are Broken
                 Key: FLINK-21717
                 URL: https://issues.apache.org/jira/browse/FLINK-21717
             Project: Flink
          Issue Type: Bug
          Components: Documentation
    Affects Versions: 1.13.0
            Reporter: Jane Chan
         Attachments: image-2021-03-10-20-22-09-425.png, image-2021-03-10-20-31-52-502.png

After migrating to Hugo, all the hyperlinks refer to Python docs became unreachable.

E.g. {{docs/dev/python/table_environment.md}} 
{code:html}
<a href="{{ site.pythondocs_baseurl }}/api/python/pyflink.table.html#pyflink.table.TableEnvironment.from_pandas">link</a>
{code}
is generating [http://localhost:1313/docs/dev/python/table/table_environment/%7B%7B%20site.pythondocs_baseurl%20%7D%7D/api/python/pyflink.table.html#pyflink.table.TableEnvironment.from_elements]

 Another problem is the param defined in the config.toml is *JavaDocs* while the shortcode javadoc.html has a typo(*JavaDoc*), which rendered broken links either.

E.g. {{docs/connectors/datastream/jdbc.md}}

!image-2021-03-10-20-31-52-502.png!

is generating [http://api/java/org/apache/flink/connector/jdbc/JdbcSink.html]

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)