[
https://issues.apache.org/jira/browse/COUCHDB-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Shorin updated COUCHDB-1658:
--------------------------------------
Attachment: COUCHDB-1658.1.patch
Patch attached. The idea is based on the fact that /usr/share/couchdb/www/docs
directory is missed if sphinx-build is not available. So we're able to place
dummy index.html there that redirects to online version. Otherwise, sphinx
files will just replace him.
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira