Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Hosting Private password protected Sphinx Docs
import barrel.cooper
import os
import static
app = static.Cling(os.path.join(os.path.dirname(__file__), '_build/html'))
app = barrel.cooper.basicauth(users=[('jacob', 'hunter2')])(app)
web: gunicorn -w4 -b0.0.0.0:$PORT app:app

This comment has been minimized.

Copy link

@brianjking brianjking commented Aug 16, 2016

@mabroor -- Any idea if this still works? I'm getting a 404 on my docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.