-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add make target for docset to be used with Dash/Zeal #180
Conversation
Merged build triggered. Test FAILed. |
Merged build started. Test FAILed. |
Merged build finished. Test PASSed. |
Test PASSed. |
Merged build triggered. Test FAILed. |
Merged build started. Test FAILed. |
Merged build finished. Test PASSed. |
Test PASSed. |
It would be worth looking for such a way. The duplication of |
How about setting an environment variable in the Makefile and inspecting that in |
Hmm, yes that would be rather nicer than this approach. I'll try that later
|
@johntyree can you merged master in this PR? It would be good to get it merged. |
Glad to see this is still alive :) |
It's been plenty useful to me, but I always generate the docset and then forget to ping you on the PR! @mdickinson If you have no objections, shall we merge this? |
LGTM |
This PR makes it simple to create a docset from the TraitsUI html documentation, as used by the [Dash](http://kapelli.com/dash) and [Zeal](http://zealdocs.org/) api browsers. It adds [doc2dash](https://pypi.python.org/pypi/doc2dash) as a documentation dependency to create the docset. All output is kept under $(BUILDDIR). It also builds the docset automatically when doing `etstools.py docs`. This is an adaptation of enthought/traits#180 for TraitsUI.This is an
This PR makes it simple to create a docset from the Traits html documentation, as used by the Dash and Zeal api browsers.
It assumes you have doc2dash installed and keeps all output under
$(BUILDDIR)
.The
docset_html
target lacks the left sidebar to make viewing in Dash/Zeal nicer. Unfortunately, sphinx does not support the notion of configuration files named anything other thanconf.py
and so we must make a directorydocset_resources
in which to hold the modified configuration. If there is a way to tellsphinx-build
to override thehtml_theme_options
dictionary then this directory is unneeded.