couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxepal <>
Subject [GitHub] couchdb pull request: Link local docs in Fauxton
Date Tue, 20 May 2014 18:06:08 GMT
Github user kxepal commented on the pull request:
    @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("" + version + "/" + api_endpoint_docs
        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 or file a JIRA ticket
with INFRA.

View raw message