Chesnay Schepler created FLINK-8726:
---------------------------------------
Summary: Code highlighting partially broken
Key: FLINK-8726
URL:
https://issues.apache.org/jira/browse/FLINK-8726 Project: Flink
Issue Type: Improvement
Components: Documentation
Affects Versions: 1.5.0
Reporter: Chesnay Schepler
Fix For: 1.5.0
With the recent changes around the documentation build dependencies code highlighting is no longer fully working.
Sections as below are rendered without any background [like here|
https://ci.apache.org/projects/flink/flink-docs-master/dev/stream/operators/windows.html].
{code}
~~~bash
# get the hadoop2 package from the Flink download page at
# {{ site.download_url }}
curl -O <flink_hadoop2_download_url>
tar xvzf flink-{{ site.version }}-bin-hadoop2.tgz
cd flink-{{ site.version }}/
./bin/flink run -m yarn-cluster -yn 4 -yjm 1024 -ytm 4096 ./examples/batch/WordCount.jar
~~~
{code}
Sections using the {{\{% highlight java %}}} syntax are still working.
We may have to do a sweep over the docs and port all code sections to the working syntax.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)