On Thu, May 2, 2013 at 9:07 PM, <
josef...@gmail.com> wrote:
> On Thu, May 2, 2013 at 8:56 PM, <
josef...@gmail.com> wrote:
>> On Thu, May 2, 2013 at 7:15 PM, Skipper Seabold <
jsse...@gmail.com> wrote:
>>> Just seeing if it works before I merge the PR for the automatic doc
>>> building. Only tested on firefox and chrome.
>>>
>>>
http://statsmodels.sourceforge.net/notebooks/examples/index.html#notebook-examples
>>>
>>> I think this will make example writing much less tedious. Just drop
>>> the output-less .ipynb in examples/notebooks/ and that's it.
>>>
>>> Should I go ahead and move all the files in ipynb to be automatically
>>> created as part of this PR. I guess also remove the redundant examples
>>> using the ipython directive? Downside is these won't be automatically
>>> built unless you set it up in tools/nbgenerate.py (until nbconvert is
>>> in IPython), but I don't know how many people build the docs locally
>>> anyway. There is a warning though if they aren't generated.
>>
>> Given that the current examples work nicely, I wouldn't rush into it,
>> until we have a bit more experience with the notebook conversion.
IMO, it's much more robust than the ipython_directive because of the
refactored IPython code it's built on. It's much easier for me to get
my head around the new IPython internals than the more or less hacked
together ipython_directive.
>>
>> The notebooks look nice, I didn't even know yet about some of the
>> content that you put in.
>>
>> I don't think the rmagic in M-estimators will work for poor guys like
>> me that don't have rpy2 installed. (An incentive to merge my
>> MM-estimation branch)
>>
>> Is it possible to tweak the css styles for the converted notebooks
>> (like section titles)?
Yeah, the CSS for the notebooks is in nbviewer.min.css.
>>
>> Some of the notebooks are a bit long for my taste without a TOC. Will
>> there be a way to eventually get a toc into the side bar?
Yes, this is all under very active development. You could also easily
make a TOC with some pretty simple javascript (or in the nbgenerate
conversion).
Feel free to edit the notebooks. I'm writing these kinds of things
*much* differently now and will probably work on these here and there.
>
>
> There are Vincent's notebooks that are linked from the wiki page.
> They, or some of them should be candidates for inclusion into the new
> notebook documentation.
>
Are they still? I couldn't find links that worked anywhere, but I
didn't try that hard.
> (I'm still not a notebook person, if we convert more examples, then I
> need to figure out a way how to get them as python modules without
> having to start a notebook each time.)
I just taught a whole semester using the notebooks. They were *very*
popular and effective.
Skipper