[jira] [Created] (FLINK-1248) Manually built docu doesn't apply CSS/images

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

[jira] [Created] (FLINK-1248) Manually built docu doesn't apply CSS/images

Shang Yuanchun (Jira)
Chesnay Schepler created FLINK-1248:
---------------------------------------

             Summary: Manually built docu doesn't apply CSS/images
                 Key: FLINK-1248
                 URL: https://issues.apache.org/jira/browse/FLINK-1248
             Project: Flink
          Issue Type: Bug
          Components: Documentation
    Affects Versions: 0.7.0-incubating
         Environment: Ubuntu 14.04 LTS
Firefox 33
            Reporter: Chesnay Schepler
            Priority: Minor


When i opened the .html files created by the build_docs.sh script no CSS or images were applied. a quick investigation found leading '/' in a lot of relative paths to be the cause, ex.:
(taken from config.html)

{code}
  <head>
    ...
    <link rel="stylesheet" href="/css/bootstrap.css">
    <link rel="stylesheet" href="/css/bootstrap-lumen-custom.css">
    <link rel="stylesheet" href="/css/syntax.css">
{code}

removing these causes the website to be shown properly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)