17

I am currently writing some extensive documentation using Sphinx for a rather complex Django web site. I have been working on this in-house and before I leave soon I want to leave behind detailed documentation accessible by the new devs/admins for the site.

My question is what are my options for hosting this documentation? I would prefer it to be private. Also the docs are concerning a website not a python package. For these two reasons I am thinking that Read the Docs may not be the most appropriate option.

I ran across django-sphinxdoc , though this requires setting up Haystack as the backend. Is there not a way to simply server the docs using the built in js search? Or a service which allows private hosting of the docs?

Any options would be much appreciated.

mzjn
  • 48,958
  • 13
  • 128
  • 248
Darwin Tech
  • 18,449
  • 38
  • 112
  • 187
  • I felt the same need to host documentation privately. So I have built a web service that supports private Sphinx documentation hosting: HasDocs. https://github.com/narrowcast/hasdocs.com It should eliminate the need to set up your own web server, etc. You can sync your GitHub repositories and permissions. Private projects have private docs that are accessible only by those with the right privileges. The documentation gets rebuilt whenever you push new code to your GitHub repository. It's currently in beta and supports Sphinx, Jekyll, and Javadoc as documentation generator. Please give it a try – yoonchee Jan 21 '13 at 02:30

2 Answers2

20

Sphinx can generate static .html files (make html). Put those HTML files up on an internal web server and you should be good to go.

David Wolever
  • 148,955
  • 89
  • 346
  • 502
0

See the answer to this question (full disclosure, I asked the question, got no answer did some research and coding and posted the answer, so while it works there may be better ones out there. I'd be much obliged if someone would point them out.)

This gitlab repo shows a working example here.

Uses static password protection and is also discussed in this issue.

ic_fl2
  • 831
  • 9
  • 29