Anyone for a doc cleanup before the release?
Hi, building the documentation currently yields a number of Sphinx warnings: https://sage.math.washington.edu:8091/hudson/job/cython-docs/lastSuccessfulB... It would be nice if someone found the time to clean some of them up. Stefan
Here's my go at it: https://github.com/cython/cython/pull/141 Cheers! Dimitri. On Tue, Aug 7, 2012 at 12:34 AM, Stefan Behnel <stefan_ml@behnel.de> wrote:
Hi,
building the documentation currently yields a number of Sphinx warnings:
https://sage.math.washington.edu:8091/hudson/job/cython-docs/lastSuccessfulB...
It would be nice if someone found the time to clean some of them up.
Stefan _______________________________________________ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel
Dimitri Tcaciuc, 09.08.2012 05:40:
On Tue, Aug 7, 2012 at 12:34 AM, Stefan Behnel wrote:
building the documentation currently yields a number of Sphinx warnings:
https://sage.math.washington.edu:8091/hudson/job/cython-docs/lastSuccessfulB...
It would be nice if someone found the time to clean some of them up.
Here's my go at it:
Thanks! I'm reposting your questions here, in case someone has an opinion on them: """ What to do with duplicate citations (Sage, Pyrex). Perhaps make a separate citations page? What to do with sources that are not included anywhere (welcome, userguide/numpy_tutorial, /userguide/pxd_package) public keyword has a dual use; perhaps a section in reference/language basics describing the two would be appropriate? I've also tentatively enabled intersphinx extension to reference standard python keywords, is that OK? """ Stefan
Question: would you guys be open to including here: http://docs.cython.org/src/quickstart/build.html a note about IPython similar to the Sage one? Something like: """ Similarly, in IPython (as of version 0.13) there is also Cython support that can be used by loading the `cythonmagic` extension. This provides several Cython-related magic functions, the main one being `%%cython` that can be used to prefix blocks of Cython for automatic compilation and importing. This extension can be used at the command line, in the Qt console and in the notebook. """ If you also want an accompanying screenshot, I've made one using the same code and call form as the Sage one for symmetry: http://i.imgur.com/RpUY9.png. If you prefer this in the form of a PR, let me know (and whether you want it with or without figure). Thanks! f
Fernando Perez, 11.08.2012 05:40:
Question: would you guys be open to including here:
http://docs.cython.org/src/quickstart/build.html
a note about IPython similar to the Sage one?
I think it's either both or none.
Something like:
""" Similarly, in IPython (as of version 0.13) there is also Cython support that can be used by loading the `cythonmagic` extension. This provides several Cython-related magic functions, the main one being `%%cython` that can be used to prefix blocks of Cython for automatic compilation and importing. This extension can be used at the command line, in the Qt console and in the notebook. """
If you also want an accompanying screenshot, I've made one using the same code and call form as the Sage one for symmetry: http://i.imgur.com/RpUY9.png.
I was always thinking that that screenshot takes a lot of space on that page compared to the actual text. Looks more like an advertisement and diverts the reader. Maybe we should move both Tools to this page: http://docs.cython.org/src/userguide/source_files_and_compilation.html The quickstart page should then additionally mention cythonize() as an easier alternative to build_ext (although it requires an installed Cython) and can contain a sentence on IPython and the Sage notebook that links to the userguide page. Maybe even more than a sentence because for those who use one of the tools they are the real quickstart. But without the screenshots.
If you prefer this in the form of a PR, let me know (and whether you want it with or without figure).
Yes, once we know what to make of it, please send a pull request. Stefan
On Fri, Aug 10, 2012 at 8:58 PM, Stefan Behnel <stefan_ml@behnel.de> wrote:
Yes, once we know what to make of it, please send a pull request.
I'm happy to do so, though I'm not sure I'd be the best one to do real refactoring of your docs if you want to go that way. But just let me know and if I can help out, I'll be happy to do so (it's perfectly OK if you just decide to paste the above paragraph straight in, I'm not looking for commit credit here :) Cheers, f
participants (3)
-
Dimitri Tcaciuc -
Fernando Perez -
Stefan Behnel