mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joerg Schad (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-4384) Documentation cannot link to external URLs that end in .md
Date Fri, 15 Jan 2016 08:57:39 GMT

    [ https://issues.apache.org/jira/browse/MESOS-4384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15101496#comment-15101496
] 

Joerg Schad commented on MESOS-4384:
------------------------------------

FYI also links in the form [RecordIO](scheduler-http-api.md#recordio-response-format) in executor-http-api.md
are broken, gets rendered to /documentation/latest/executor-http-api/scheduler-http-api.md#recordio-response-format.

> Documentation cannot link to external URLs that end in .md
> ----------------------------------------------------------
>
>                 Key: MESOS-4384
>                 URL: https://issues.apache.org/jira/browse/MESOS-4384
>             Project: Mesos
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Neil Conway
>            Assignee: Joerg Schad
>            Priority: Minor
>              Labels: documentation, mesosphere
>
> Per [~joerg84]: "In fact it seems that all links ending with .md are interpreted as
> relative links on the webpage, i.e. [label](https://test.com/foo.md) is
> rendered into <a href="/documentation/latest/https://test.com/foo/
> ">label</a>"
> Currently the rakefile will rewrite all with this too general regex 
> {code}
> '''f.read.gsub(/\((.*)(\.md)\)/, '(/documentation/latest/\1/)')'''
> {code}



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

Mime
View raw message