[jira] [Commented] (MESOS-4384) Documentation cannot link to external URLs that end in .md
[ https://issues.apache.org/jira/browse/MESOS-4384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15105273#comment-15105273 ] Joerg Schad commented on MESOS-4384: That pattern doesn't solve the problem of external .md urls, I also removed the match group around .md as we don't use it. > 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 https://test.com/foo/ > ">label" > 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)
[jira] [Commented] (MESOS-4384) Documentation cannot link to external URLs that end in .md
[ https://issues.apache.org/jira/browse/MESOS-4384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15102015#comment-15102015 ] Joseph Wu commented on MESOS-4384: -- Note: I modified the regex here: https://reviews.apache.org/r/42172/ > 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 https://test.com/foo/ > ">label" > 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)
[jira] [Commented] (MESOS-4384) Documentation cannot link to external URLs that end in .md
[ https://issues.apache.org/jira/browse/MESOS-4384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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 https://test.com/foo/ > ">label" > 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)
[jira] [Commented] (MESOS-4384) Documentation cannot link to external URLs that end in .md
[ https://issues.apache.org/jira/browse/MESOS-4384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15101271#comment-15101271 ] Joerg Schad commented on MESOS-4384: That means we cannot link to any external md file (I updated to reflect that better). > 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 https://test.com/foo/ > ">label" > 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)