Commit Graph
67 Commits
Author SHA1 Message Date
Georg Brandl 46d7e8558e Obligatory copyright update. 2016-01-14 22:54:04 +01:00
Takeshi KOMIYA 9f96bbaf35 Move testcases for footnotes to roots/test-footnote 2015-12-19 16:45:23 +09:00
Hong Xu 0084004cfd Add testing cases for the "latex_show_urls" option 2015-12-11 15:06:14 -08:00
Georg Brandl 705f6a997b Merge branch 'apple-help' of git://github.com/al45tair/sphinx 2015-03-08 15:35:04 +01:00
Georg Brandl ad612fb03d Change the source parsers feature a bit:
* parsers -> source_parsers
* add docs
* require fully qualified name or class
* add test for it
2015-03-08 13:12:50 +01:00
Georg Brandl bf3bdcc7f5 source_suffix can now be a list. 2015-02-08 20:13:47 +01:00
Alastair Houghton d2d202f160 Added tests for Apple Help generation. 2015-01-15 13:17:01 +00:00
tk0miya 8270575a9c Update testcases for :numref: 2014-10-02 11:17:34 +09:00
Georg Brandl a73ab32bc5 Split viewcode and linkcode tests out of main test root. 2014-09-21 17:34:16 +02:00
Georg Brandl d47a7587f9 Complete test suite overhaul.
* rename a few test modules to make the names more consistent

* do not copy/use Sphinx from build/ (unnecessary without 2to3)

* use a temporary dir for *all* test projects, the source tree
  will stay pristine that way  (default is tests/build)

* speed up tests by ~3x by splitting up test projects and avoiding
  rebuilds
2014-09-21 17:17:02 +02:00
Rob Ruana 63fbb819c7 Makes suggested changes before adding napoleon to sphinx 2014-01-19 13:43:54 -05:00
Rob Ruana 4c782604ed Merged birkenfeld/sphinx into default 2014-01-19 12:31:07 -05:00
Georg Brandl 8c2fabe117 The deprecated config values `exclude_trees, exclude_dirnames and unused_docs` have been removed. 2014-01-19 17:46:06 +01:00
Georg Brandl 91cd11be3c Merged in guibog/sphinx2 (pull request #184)
autodoc extension: add autodoc_mock_imports config value
2014-01-19 10:31:15 +01:00
Rob Ruana d11cb7325e Merge conflicts 2014-01-18 14:23:23 -05:00
Rob Ruana a00a096069 Merges napoleon extension into mainline sphinx 2014-01-18 13:56:23 -05:00
Georg Brandl 24a8b516bf Remove sphinx.ext.oldcmarkup compatibility extension. 2014-01-17 07:24:23 +01:00
guibog a8f65e9d3c autodoc extension: add autodoc_mock_imports config value 2013-10-23 16:36:45 +08:00
Matthias C. M. Troffaes 28873bfa6a Set up initial test. 2013-08-22 09:20:47 +01:00
Jonathan Waltman b98123cd12 Add man_pages config to tests/root/conf.py. 2013-01-06 23:42:25 -06:00
Jonathan Waltman 34cbd684a9 Update sys.path to avoid autodoc warnings when building docs in tests/root. 2012-11-08 21:16:41 -06:00
Pauli Virtanen 135bb6f6c8 ENH: add a linkcode extension 2012-03-11 17:48:51 +01:00
Jonathan Waltman 13684aa91f Add tests for Texinfo builder 2010-09-16 02:19:06 -05:00
Georg Brandl 3ddd7d9075 merge with 1.0 2010-08-25 12:02:59 +00:00
Georg Brandl 7e5ff71c40 #513: Allow giving non-local URIs for JavaScript files, e.g. in the JSMath extension. 2010-08-25 10:26:15 +00:00
Georg Brandl d3d93a54f0 Test the viewcode extension; decode the source files before highlighting them. 2010-05-26 19:29:44 +02:00
Georg Brandl 4d0facf1e1 Add the "oldcmarkup" extension, to help migrating to 1.0. 2010-05-24 15:12:27 +02:00
Georg Brandl ecb75bd0d2 merge with 0.6 2010-05-22 14:19:33 +02:00
Georg Brandl 529d3f5329 #404: Make `\and work properly in the author field of the latex_documents` setting. 2010-05-22 14:15:39 +02:00
Daniel Neuhäuser 1f5c4e6c9c make doctest work with python2 and python3 2010-06-19 21:50:00 +02:00
Georg Brandl 1bce0d7e6a Fix some XXXes. 2010-01-17 19:21:04 +01:00
Georg Brandl b1c937f0d9 merge with trunk (not working perfectly yet) 2010-01-07 21:41:03 +01:00
Georg Brandl 2f09d24472 The `html_sidebars` config value can now contain patterns as keys, and the values can be lists that explicitly select which sidebar templates should be rendered.
That means that the builtin sidebar contents can be included only selectively.
2010-01-07 17:56:09 +01:00
Georg Brandl c9345b33b2 `html_static_path` can now contain single file entries.
Exclusion of static path files is not yet implemented.

HG: Bitte gib eine Versions-Meldung ein. Zeilen beginnend mit 'HG:' werden entfernt.
HG: Leere Versionsmeldung wird das Übernehmen abbrechen.
HG: --
HG: Benutzer: Georg Brandl <georg@python.org>
HG: branch 'default'
HG: added tests/root/_static/excluded.css
HG: added tests/root/_static/subdir/foo.css
HG: added tests/root/templated.css_t
HG: Geändert CHANGES
HG: Geändert doc/config.rst
HG: Geändert sphinx/builders/html.py
HG: Geändert sphinx/util/__init__.py
HG: Geändert tests/root/_static/README
HG: Geändert tests/root/conf.py
HG: Geändert tests/test_build_html.py
2010-01-07 16:20:52 +01:00
Georg Brandl ab7ac64e1a Add new universal config value `exclude_patterns`, with glob-style exclude patterns.
This makes the old ``unused_docs``, ``exclude_trees`` and ``exclude_dirnames`` obsolete.
2010-01-06 15:48:39 +01:00
Georg Brandl faeec5cbbb merge with trunk 2010-01-02 21:03:56 +01:00
Georg Brandl ed78dc7ff0 merge with 0.6 2010-01-02 20:54:59 +01:00
Georg Brandl 6b13a28c11 Make extlinks more flexible: use string substitution to build the full URL. 2010-01-02 20:51:22 +01:00
Georg Brandl f4da14806c #310: support exception messages in the `testoutput blocks of the doctest` extension.
Also add minimal test cases for the doctest extension.
2010-01-02 14:59:27 +01:00
Georg Brandl f3a2854ba9 merge with trunk 2009-12-31 18:40:58 +01:00
Georg Brandl 096725922a #303: `html_context values given on the command line via -A`
should not override other values given in conf.py.
2009-12-31 09:47:56 +01:00
Georg Brandl d12ad380f2 Finish renaming description units to object (description)s. 2009-10-27 19:58:40 +01:00
Georg Brandl 213eba0225 Automatically convert directive functions, and add a test for that. 2009-10-27 19:42:44 +01:00
Georg Brandl efa4678cfd Add some XXX comments to places where work is needed. 2009-09-08 12:07:11 +02:00
Georg Brandl 8d0c50c5b4 More block markup tests. 2009-08-09 23:12:01 +02:00
Georg Brandl 1861a9ec5d Add autosummary to tests. 2009-03-15 19:02:37 +01:00
Georg Brandl bc9a351853 Fix the serializing and changes builders, and really test them. 2009-02-21 17:17:21 +01:00
Georg Brandl 7073a5bd2c The new `latex_additional_files` config value can be used to
copy files (that Sphinx doesn't copy automatically, e.g. if they
are referenced in custom LaTeX added in ``latex_elements``) to
the build directory.
2009-02-20 11:20:15 +01:00
Georg Brandl 4c81b055c8 Added an `only` directive that can selectively include text
based on enabled "tags".  Tags can be given on the command
line.  Also, the current builder output format (e.g. "html" or
"latex") is always a defined tag.
2009-02-19 21:56:34 +01:00
Georg Brandl a06813c4ae Test add_description_unit in test suite. 2009-02-18 22:12:03 +01:00