Commit Graph

58 Commits

Author SHA1 Message Date
Fabian Pedregosa 2425381d1b Print running time as a floating-point number with two decimals.
Otherwise printing it as integer truncates the result and prints
'0 seconds' on most example.
2012-09-11 18:15:59 +02:00
Lars Buitinck 7896f7281d COSMIT don't call magic methods directly
One tricky case left in doc/sphinxext/gen_rst.py.

Also, don't use relative imports in tests.
2012-07-21 17:38:15 +02:00
Gael Varoquaux 0613f834df ENH: backport gen_rst changes from NISL
* Display example running time
* Tee the stdout to __stdout__ and a file
2012-07-16 08:20:41 +02:00
Jaques Grobler f53aaa1aec comment added to gen_rst. Arrow added to button 2012-03-15 14:43:33 +01:00
Jaques Grobler eba34defc3 Collapsable sidebar adding complete - appears to work well 2012-03-13 22:24:22 +01:00
GaelVaroquaux 23504029bb MISC: make sure two figures hold on a line 2012-01-31 18:10:43 +01:00
Jake Vanderplas 3fa8271a98 TYPO: generate all images 2012-01-05 12:31:29 -08:00
Jake Vanderplas 567338fd41 fix for doc math issue 2012-01-05 12:18:28 -08:00
Jake Vanderplas b322539478 remove unneeded import 2011-12-21 07:30:49 -08:00
Jake Vanderplas ac5b12223b simplify removal of _images dir 2011-12-21 07:29:05 -08:00
Jake Vanderplas cad0ee07f8 HACK: sphinx/prevent proliferation of build images in doc 2011-12-21 03:50:58 -08:00
Bala Subrahmanyam Varanasi 36d0adb8c1 pep8 compliant 2011-12-17 00:48:40 +05:30
Gael varoquaux 0961424589 DOC: proper link structure in examples 2011-11-12 00:28:39 +01:00
Gael varoquaux 2782c532aa BUG: fix layout in examples 2011-11-11 10:41:51 +01:00
Gael varoquaux 2e1c5e88ae ENH: Capture stdout in executed examples 2011-11-10 15:07:28 +01:00
Fabian Pedregosa cca1fcf7db layout tweaks 2011-09-02 10:29:10 +02:00
Fabian Pedregosa b40247bcda Layout tweaks 2011-09-02 10:12:08 +02:00
Fabian Pedregosa 7f78eaa098 Link images to example file in new gallery 2011-09-01 11:16:14 +02:00
Fabian Pedregosa a6918a49a5 Generate thumbnails in the example gallery 2011-09-01 09:35:29 +02:00
Lars Buitinck 28fe278df3 More mutable default args
Two more remain in this file, but I'm lazy; these methods should be
using super.
2011-07-23 21:17:18 +02:00
Lars Buitinck 9fe5e60733 avoid mutable default arguments
These may introduce nasty and subtle bugs when stored as attributes.
Use None instead.
2011-07-23 01:47:40 +02:00
Fabian Pedregosa bbce0fde18 FIX: add newline after autosummary:: sphinx directive. 2011-07-07 15:40:25 +02:00
Olivier Grisel 8b5a0274d2 kill trailing spaces 2011-05-04 17:49:17 +02:00
Gael varoquaux 09851fcc05 DOC: Fix warnings
Patching the numpy docscraper to avoid the use of 'toctree' that create a
lot of warnings for little good.

Fix warnings throughout the docs.
2011-04-10 22:44:13 +02:00
Gael varoquaux f453f51a9c MISC: cleaner generated code in doc/examples 2011-04-10 17:52:51 +02:00
Gael varoquaux 3c2e91f0c3 BUG: fix links to examples 2011-04-10 17:27:53 +02:00
Gael varoquaux 61afdc9767 MISC: reduce disk consumption when generating docs
In the examples: remove temporary files not useful.

When generating the docs: CD to the directory of the examples, so that
the files are downloaded there.
2011-04-03 13:17:08 +02:00
Gael varoquaux 1e5ae890e1 BUG: fix multiple figure plotting 2011-04-02 16:52:41 +02:00
Julien Miotte f5a54e0d15 Fetching every figure generated by the example scripts.
As requested on the wiki, this script now fetches every figure generated
by the example scripts. If there is only one figure fetched, it will use
the rst instruction 'image', but if there is more than one, it will use
the instruction 'hlist' in the .rst file.
2011-04-01 18:59:56 +02:00
Fabian Pedregosa 5402fa3ce5 Web page update. 2010-12-17 12:28:02 +01:00
Fabian Pedregosa 32bb22124d web page layout fixes. 2010-12-14 19:25:15 +01:00
Fabian Pedregosa e96467c639 ENH: prettify web page layout.
Merge first steps and user guide.
2010-12-01 12:25:05 +01:00
Gael varoquaux b27d3c553a BUG: Fix the doc-generation of examples
Doc generation for examples was failing because it was trying to make
docs from directories containing the automatically-downloaded data of the
examples. The solution is simply to skip these directories
2010-11-24 21:51:45 +01:00
Fabian Pedregosa ce2d71668a Implement make html-noplot for building the doc.
Just builds the doc without the example gallery.
2010-11-17 13:08:20 +01:00
Olivier Grisel 9d5e16b666 trailing spaces holocaust 2010-11-06 15:42:55 +01:00
Gael varoquaux e7672b9f3c MISC: Add 'Python' in the examples page
for google hits.
2010-09-11 12:56:05 +02:00
Gael Varoquaux a21f0e824a DOC: Update the developer guidelines. 2010-09-06 11:01:34 +02:00
Gael Varoquaux 62ac02846b ENH: Make sure docs build on older versions of sphinx 2010-09-06 09:41:49 +02:00
Fabian Pedregosa a770fec9bc FIX: fix generating the examples with some tricky uses of pylab. 2010-08-22 12:37:16 +02:00
Fabian Pedregosa 818ed82c44 Update sphinxext/docscrape from numpy's trunk. 2010-08-20 13:45:35 +02:00
Fabian Pedregosa 222188163f Update numpydoc (sphinx extension).
Updated from numpy's trunk to work with latest docutils.
2010-08-19 16:34:06 +02:00
Gael varoquaux b5fd8aee4e BUG: Make sure the docs still build with recent versions of numpy
Revert "BUG: Make sure that the docs still build with recent versions of numpy"

This reverts commit f27f234d44.
2010-07-27 09:42:50 +02:00
Gael varoquaux c14be56680 BUG: Make sure that the docs still build with recent versions of numpy
and Matplotlib
2010-07-27 09:42:50 +02:00
Fabian Pedregosa 8143abbadf Add a complete example of SVM classifier using a precomputed kernel. 2010-05-17 11:25:35 +02:00
Fabian Pedregosa 2849920827 BUG: fix bug in automatic doc generator. 2010-05-12 15:35:29 +02:00
Gael Varoquaux 1896240830 DOC: Rework of the docs and examples: multiple commits because commits
with 'mv' fail.



git-svn-id: https://scikit-learn.svn.sourceforge.net/svnroot/scikit-learn/trunk@701 22fbfee3-77ab-4535-9bad-27d1bd3bc7d8
2010-04-23 05:48:03 +00:00
Gael Varoquaux ecb8672980 Improve front page
git-svn-id: https://scikit-learn.svn.sourceforge.net/svnroot/scikit-learn/trunk@685 22fbfee3-77ab-4535-9bad-27d1bd3bc7d8
2010-04-21 21:54:00 +00:00
Gael Varoquaux 181e3de9e9 BUG: Make sure the docs build even if the directories do not exist.
git-svn-id: https://scikit-learn.svn.sourceforge.net/svnroot/scikit-learn/trunk@668 22fbfee3-77ab-4535-9bad-27d1bd3bc7d8
2010-04-20 21:38:58 +00:00
Gael Varoquaux 173611d272 BUG/DOC Correcting bugs in the documentation generation code.
git-svn-id: https://scikit-learn.svn.sourceforge.net/svnroot/scikit-learn/trunk@643 22fbfee3-77ab-4535-9bad-27d1bd3bc7d8
2010-04-15 20:41:15 +00:00
Gael Varoquaux 331516b8b3 DOC: Sprucing up the documentation.
git-svn-id: https://scikit-learn.svn.sourceforge.net/svnroot/scikit-learn/trunk@642 22fbfee3-77ab-4535-9bad-27d1bd3bc7d8
2010-04-15 19:53:31 +00:00