-
-
Notifications
You must be signed in to change notification settings - Fork 180
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
Switch tutorial infrastructure to use Sphinx #153
Conversation
why do we need astropy_helpers here, is it only for the css? |
Yea, AFAIK |
OK, you should be able to check out my branch and run |
Would be (I'm asking so that it's not dummy script that I put in the travis framework POC PR) |
I think build_docs might be enough? have to think about it |
In case of narrative docs it doesn't checks the content. Does it work that differently for notebooks? |
I just found out about nbval - that might be the solution, and just use nbsphinx to build/display the tutorials? |
As @eteq pointed out in a chat window, it looks like nbval operates by comparing pre-cached output to output generated from re-running the notebook. Currently, the notebooks stored in the repo have their output cleared, so we would have to change our routine if we went with this route... But @bsipocz: I didn't follow your point
|
Ugh, just noticed something else undesirable... In many of our notebooks, we have links that are formatted like code, e.g.,
A consequence of this is that links like: Of course, #160 would solve this...but that requires some serious engineering... |
Addressed some of comments in astropy#153
Almost there. @eteq 's changes are merged and comments addressed, but still a few things to resolve. Travis and RTD both passing right now, here's the current version of the site: http://astropy-tutorials.readthedocs.io/en/latest/:
|
OK, I've pushed some changes that remove the One remaining task:
will try to do that ASAP |
This is a major overhaul of the build/deploy machinery underlying the astropy tutorials site. The core idea is to move from our (custom, broken) scripts for running and deploying the tutorial content as static pages. This instead uses
nbsphinx
and the astropy sphinx template to build the tutorials into a website that looks more like the astropy documentation.There is a rendered demo of this here.
cc @eteq @astrofrog @bsipocz @kelle