Commit Graph
100 Commits
Author SHA1 Message Date
Georg Brandl df53ece2f7 Minor PEP8 cleanup. 2014-09-21 20:21:43 +02:00
Georg Brandl c5cc2a8cf9 flush stdout after printing messages, might fix output ordering on drone.io 2014-09-21 19:01:03 +02:00
Georg Brandl db43cba254 add a bullet point about keeping tests fast 2014-09-21 18:59:56 +02:00
Georg Brandl ac690b4b07 move new assertion helpers to util.py 2014-09-21 18:54:01 +02:00
Georg Brandl fa91f19e55 Reimplement assert_in and assert_not_in, they are not in nose in Py2.6. 2014-09-21 18:48:21 +02:00
Georg Brandl 70cf797c10 fix incompatibility in doctree between gettext and the rest 2014-09-21 18:46:15 +02:00
Georg Brandl b637f0a728 No need to insist on fresh builds with test_build_* 2014-09-21 18:41:08 +02:00
Georg Brandl b335e03b02 Speed up test_theming using a minimal project. 2014-09-21 18:37:44 +02:00
Georg Brandl 2661c1060d Refactor/speed up test_build_gettext using generators 2014-09-21 18:36:27 +02:00
Georg Brandl be72ed6dc7 Refactor/speed up test_intl by combining all tests with a certain builder into a generator. 2014-09-21 18:26:50 +02:00
Georg Brandl a73ab32bc5 Split viewcode and linkcode tests out of main test root. 2014-09-21 17:34:16 +02:00
Georg Brandl 78af37370c mock is builtin in Py3. 2014-09-21 17:32:52 +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
Georg Brandl c5dfd5c732 Fix a few missing Unicode/bytes filename problems. 2014-09-21 16:52:41 +02:00
Georg Brandl 0511ced21a Override the current-directory local "docutils.conf" location with the Sphinx srcdir. 2014-09-21 16:38:19 +02:00
Georg Brandl db1cf80a69 Make pygments unconditional, it is required by setup.py anyway. 2014-09-21 16:37:37 +02:00
Georg Brandl 97d2edf380 Very short introduction in README 2014-09-20 21:09:33 +02:00
Georg Brandl 561181be7a show drone.io status on README 2014-09-20 21:06:44 +02:00
Georg Brandl b2c9d4b107 Be quiet when building docs for tox. 2014-09-20 20:54:54 +02:00
Georg Brandl e21d669089 Test suite adapted after :option: changes. 2014-09-20 20:54:23 +02:00
Georg Brandl febde8187e Handle more instances of "__builtin__". 2014-09-20 20:29:10 +02:00
Georg Brandl 9fee57b1f6 Fix Python 3 compat in inheritance_diagram.py 2014-09-20 20:18:13 +02:00
Georg Brandl cadf51d38d Remove unused 2to3 conversion utility. 2014-09-20 20:15:46 +02:00
Georg Brandl a064f43bc0 PEP8 cleanup in std.py. 2014-09-20 19:59:14 +02:00
Georg Brandl a555bda5eb Closes #1284: Program options documented with :rst:dir:option can now start with `+`. 2014-09-20 19:58:11 +02:00
Georg Brandl 6ba8883685 Add ref context to all "any" references. Should make it possible to resolve them more accurately. 2014-09-20 19:23:25 +02:00
Georg Brandl 56c13b7eb8 PEP8 cleanup in roles.py. 2014-09-20 19:16:26 +02:00
Georg Brandl 2c396601bf Move env.temp_data content that might be used to resolve references to a new env.ref_context dictionary. 2014-09-20 19:15:41 +02:00
Georg Brandl ca4e62e47b Add warnings when env.currmodule or env.currclass are used. 2014-09-20 19:03:57 +02:00
Georg Brandl 1fcef558fa Enable links to options without program name 2014-09-20 13:47:01 +02:00
Georg Brandl fbb8827345 Fix wrong class generated from option "any" reference 2014-09-20 13:40:38 +02:00
Georg Brandl 90d43569de Fix linking with "any" to :ref: and :term: with non-lowercased targets. 2014-09-20 13:34:36 +02:00
Georg Brandl 6c3789a353 Add tests for "any" role and default-role setting. Fix some minor bugs with "any". 2014-09-19 14:17:36 +02:00
Georg Brandl a973daea41 make :any: role work with intersphinx! 2014-09-19 13:31:55 +02:00
Georg Brandl e1169d0937 Fix duplication of bugfixes between 1.2.x and 1.3 in changelog. 2014-09-19 13:25:16 +02:00
Georg Brandl 109cb873de Use "any" role in changelog. 2014-09-19 13:18:29 +02:00
Georg Brandl c3eb669f8a Added the any role that can be used to find a cross-reference of
*any* type in *any* domain.  Custom domains should implement the new
`~Domain.resolve_any_xref` method to make this work properly.
2014-09-19 12:59:18 +02:00
Georg Brandl 430be0496a Clean up reference resolution a bit; factor out :doc: and citations into their
own methods.
2014-09-19 12:37:58 +02:00
Georg Brandl 8e3a8feedd clean up default-role usage in CHANGES 2014-09-19 12:36:21 +02:00
Georg Brandl b9469b9013 Changing the default role document-locally with the docutils ".. default-role::"
directive is now supported.
2014-09-19 12:21:38 +02:00
Georg Brandl 6477151f4f Fix URL in docu for opensearch. 2014-09-19 11:57:06 +02:00
Georg Brandl edcff75e32 sphinx.environment: PEP8 cleanup. 2014-09-19 10:38:38 +02:00
Georg Brandl 2d6ef89807 merge with stable 2014-09-19 10:36:34 +02:00
Georg Brandl 01f413108e Ignore .tags file. 2014-09-19 10:36:25 +02:00
Georg Brandl c683bd7504 Std domain: don't expect "refprogram" attribute on an xref node.
This would lead to an exception if we pass in some generic x-ref node
that tries to resolve as an option.
2014-09-19 10:35:43 +02:00
Georg Brandl e895676d82 CPP domain: fix whitespace. 2014-09-19 10:34:29 +02:00
Georg Brandl 007a15454f merge with stable 2014-09-17 13:38:20 +02:00
Georg Brandl d2b955b7f9 Closes #1568: since "centered" directly contains text children, it should be a TextElement. 2014-09-17 13:37:05 +02:00
Georg Brandl 1b71e6e2c8 merge with stable 2014-09-17 12:26:40 +02:00
Georg Brandl 439018a4e6 merge heads 2014-09-17 12:24:13 +02:00
Georg Brandl 9f0afa534d Exception logs now contain the last 10 messages emitted by Sphinx. 2014-09-17 12:22:14 +02:00
Georg Brandl 02901ae02f Merged in gerardmp/sphinx/gerardmp/added-libreoffice-extension-to-the-exten-1410948858630 (pull request #289)
Added "libreoffice" extension to the extension list
2014-09-17 12:20:45 +02:00
Georg Brandl bf6f5acd2c add distribution possibility 2014-09-14 17:26:13 +00:00
Georg Brandl 18ec1d79d3 Merged in hickford/sphinx-1/hickford/add-instructions-how-to-install-sphinx-t-1410715164407 (pull request #287)
Add instructions how to install Sphinx to top of tutorial
2014-09-14 19:24:45 +02:00
Georg Brandl 8b76c848d1 Merged in hickford/sphinx/hickford/explain-how-to-install-sphinx-with-pip-r-1410714824122 (pull request #286)
Explain how to install Sphinx with pip (rather than easy_install). Fixes #1447
2014-09-14 19:24:03 +02:00
Georg Brandl 90c7adba6d rename "literal.inc.orig", too easy to delete together with other merge backup files 2014-09-07 15:28:58 +02:00
Georg Brandl 3645481458 merge with stable 2014-09-07 15:26:06 +02:00
Georg Brandl 294c83d8f0 Closes #1561: fix typo and indentation. 2014-09-07 15:24:50 +02:00
Georg Brandl ec329d54f2 Add extension version check ability with new config value "needs_extensions". 2014-09-04 08:57:36 +02:00
Georg Brandl fc680f1e25 Return version from setup() for all sphinx.ext extensions. 2014-09-03 16:39:30 +02:00
Georg Brandl b6594d18d1 Add support for extensions to declare their version as a string returned from setup(). 2014-09-03 16:27:15 +02:00
Georg Brandl 3d9f6e1dc4 changelog entry for bizstyle theme. 2014-08-15 15:33:08 +02:00
Georg Brandl 397e3773c1 Merged in exarkun/sphinx/extdev-tutorial-doc (pull request #232)
extdev tutorial documentation fix
2014-04-04 18:14:57 +02:00
Georg Brandl 04065625ed merge with stable 2014-03-26 07:30:55 +01:00
Georg Brandl c24cfbaed1 Add an example how to connect events. 2014-03-26 07:30:48 +01:00
Georg Brandl 41580fc373 merge with stable 2014-03-25 10:27:36 +01:00
Georg Brandl 53abebda69 Closes #636: Keep straight single quotes in literal blocks in the LaTeX build. 2014-03-25 10:26:20 +01:00
Georg Brandl 18755458a1 merge with stable 2014-03-25 09:31:44 +01:00
Georg Brandl b98873eaba #1431: add some missing styles to the epub CSS 2014-03-25 09:28:41 +01:00
Georg Brandl b97d01308c du10/du11 need mock dependency 2014-03-08 11:27:12 +01:00
Georg Brandl 02363c3ce2 merge with stable 2014-03-06 08:13:14 +01:00
Georg Brandl d0f18d4131 Add more projects to examples. 2014-03-05 07:52:55 +01:00
Georg Brandl 9a0942b8a2 Add Ceph. 2014-03-05 07:50:21 +01:00
Georg Brandl b944c843f5 Add warnings that autodoc imports the modules. 2014-03-05 07:45:45 +01:00
Georg Brandl afd6c0b28d Merged in shibu/sphinx/add_stemmer (pull request #214) 2014-03-04 19:10:19 +01:00
Georg Brandl 85ddf03f45 merge with stable 2014-03-02 08:50:10 +01:00
Georg Brandl cae4910527 Post-release bump. 2014-03-02 08:47:18 +01:00
Georg Brandl 7e98062993 Added tag 1.2.2 for changeset 14b315a7d010 2014-03-02 08:44:08 +01:00
Georg Brandl 6a9fca835c Bump to 1.2.2. 2014-03-02 08:41:38 +01:00
Georg Brandl 501c2d13e6 Fix long lines. 2014-03-02 08:40:48 +01:00
Georg Brandl db0f7ccc70 merge with stable 2014-03-02 08:37:54 +01:00
Georg Brandl 1390388baa Closes #1370: Ignore "toctree" nodes in text writer, instead of raising. 2014-03-01 09:27:13 +01:00
Georg Brandl 3149f36189 Closes #1386: Fix bug preventing more than one theme being added by the entry point mechanism. 2014-03-01 09:25:36 +01:00
Georg Brandl aa2f064e2f Closes #1391: Actually prevent using "pngmath" and "mathjax" extensions at the same time in sphinx-quickstart. 2014-03-01 09:23:09 +01:00
Georg Brandl a2c975307c merge 2014-03-01 09:15:26 +01:00
Georg Brandl 25b3d4a9b6 merge with stable 2014-03-01 09:14:30 +01:00
Georg Brandl e736be637a Closes #1383: Fix Python 2.5 compatibility of sphinx-apidoc. 2014-03-01 09:13:32 +01:00
Georg Brandl 048b7d77d3 Closes #1375: fix ResourceWarnings with unclosed PIL images. 2014-03-01 09:08:58 +01:00
Georg Brandl 0312edd266 Merged in erny1803/sphinx (pull request #227)
Latex: Allow alternative float options for figures
2014-03-01 08:56:53 +01:00
Georg Brandl f8096e3fa0 merge with stable 2014-03-01 08:42:58 +01:00
Georg Brandl 55e2f29170 fix windows newlines 2014-03-01 08:42:35 +01:00
Georg Brandl f039b6dd60 null-merge from stable 2014-03-01 08:41:42 +01:00
Georg Brandl 1f4016d679 Merged in barnabas79/sphinx (pull request #218)
Closes #1374: Autosummary generates overly-long summaries if first line doesn't end with a period
2014-03-01 08:28:28 +01:00
Georg Brandl 1c76a0c7d6 changelog updates 2014-03-01 08:28:27 +01:00
Georg Brandl c403737ec3 Add versionadded tags for new config values. 2014-03-01 08:25:22 +01:00
Georg Brandl d50c5efb1a Merged in kenhys/sphinx (pull request #217)
Add feature to suppress uuid/location information for message catalogs
2014-03-01 08:21:59 +01:00
Georg Brandl c3836b3188 Merged in shimizukawa/sphinx-drop-old-docutils (pull request #206)
Drop docutils-0.7, 0.8, 0.9 support.
2014-03-01 08:20:21 +01:00
Georg Brandl ab37976bcc Merged in techtonik/sphinx (pull request #223)
make.bat: Try to find Sphinx through Python if it can not be found
2014-03-01 08:19:03 +01:00
Georg Brandl 5be6c44352 Merged in techtonik/sphinx (pull request #222)
Make 'python -m sphinx.quickstart' possible
2014-03-01 08:18:13 +01:00
Georg Brandl ac92719ac3 Update copyright year. 2014-03-01 08:18:23 +01:00