couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1658) Redirect to online docs if local aren't available
Date Fri, 16 May 2014 10:38:50 GMT

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

ASF GitHub Bot commented on COUCHDB-1658:
-----------------------------------------

Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb/pull/232#issuecomment-43236139
  
    Just recall that we could apply [COUCHDB-1658](https://issues.apache.org/jira/browse/COUCHDB-1658)
[patch](https://issues.apache.org/jira/secure/attachment/12567123/COUCHDB-1658.1.patch) that
could be the solution for missed local docs. And then this PR makes links right. In case of
missed local docs you'll be just redirected to online ones instead of browsing 404 page.


> Redirect to online docs if local aren't available
> -------------------------------------------------
>
>                 Key: COUCHDB-1658
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1658
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: Alexander Shorin
>         Attachments: COUCHDB-1658.1.patch
>
>
> Probably, it's better to redirect user to online docs (e.g. https://couchdb.readthedocs.org/en/{version}/
) instead of showing "Not found." message if CouchDB was built without local docs support.
Since {version} might not be equal to the branch name, may be take major and minor numbers
with 'x' joined by dot '.' or set it as 'latest' if 'git' substring was found in version.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message