Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb/pull/232#issuecomment-43662154
  
    @robertkowalski yes, but with one moment as @garrensmith noted about 
checking local docs availability. I think it would be something like this:
    ```
    resp = Fauxton.request("/_utils/docs")
    if resp.status_code == 404 :
        version = Fauxton.get_version
        if "+build" in version:  version = "latest"
        else: version = format_version_for_rtd(version)
        Fauxton.redirect_to("http://docs.couchdb.org/en/"; + version + "/" + 
api_endpoint_docs
    else:
        Fauxton.redirect_to("//_utils/docs/" + api_endpoint_docs)
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to