Commit Graph

180 Commits

Author SHA1 Message Date
Takeshi KOMIYA
13acfd3ce1 Rename test-image-glob to test-images 2017-04-16 21:53:01 +09:00
Takeshi KOMIYA
c57e47e042 Year++ 2017-03-26 11:49:34 +09:00
Takeshi KOMIYA
cf2061dfad Fix flake8 violations 2017-01-26 01:13:17 +09:00
shimizukawa
561abdd164 pytest optimizatoin:
- remote using deprecated decorators
- remove gen_with_app
- remove yield testing
- remove pytest warnings
- refactoring
2017-01-08 15:14:38 +09:00
shimizukawa
baaef9146d pytest: remove deprecated with_app decorator functions 2017-01-06 01:14:47 +09:00
shimizukawa
d0a33dd785 pytest: remove deprecated with_tempdir decorator 2017-01-06 00:26:01 +09:00
shimizukawa
5b7d237db3 pytest migration 2017-01-04 00:59:30 +09:00
Takeshi KOMIYA
61a6ca5b37 Merge branch 'stable' into 1.5-release 2016-12-03 16:25:58 +09:00
shimizukawa
76f2ed9215 Fix #3015: fix a broken test on Windows. 2016-11-24 00:26:36 +09:00
shimizukawa
487f3db5f6 To simplify, sphinx uses external mock package even if unittest.mock exists. 2016-10-15 16:22:27 +09:00
Takeshi KOMIYA
ce7fea9a35 Fix #2988: linkcheck: retry with GET request if denied HEAD request 2016-10-04 12:47:59 +09:00
Takeshi KOMIYA
fae9eb7784 Fix tests are crashed under unstable network 2016-09-10 16:49:17 +09:00
Takeshi KOMIYA
69d1dfaade Use epub3 builder by default. And the old epub builder is renamed to epub2. 2016-08-22 21:39:44 +09:00
Takeshi KOMIYA
edacbd56d1 Optimize tests: test_master_doc_not_found 2016-07-14 01:20:55 +09:00
Takeshi KOMIYA
80921b2ab8 Fix flake8 violation under tests/ 2016-06-12 00:02:11 +09:00
Takeshi KOMIYA
1f5aa28db0 Fix #1921: Support figure substitutions by locale 2016-02-22 21:32:05 +09:00
SHIMIZU Taku
5cc52f46c2 Add epub3 builder to test 2016-02-07 14:20:32 +09:00
Takeshi KOMIYA
dd08a3ac29 Add testcase for image globbing 2016-01-27 01:27:05 +09:00
Georg Brandl
46d7e8558e Obligatory copyright update. 2016-01-14 22:54:04 +01:00
Takeshi KOMIYA
26c43643d3 Fix broken tests by 7bb685bbe9 2016-01-03 20:52:39 +09:00
Takeshi KOMIYA
7bb685bbe9 Fix #2197: Slightly cryptic error message for missing index.rst file 2016-01-03 20:26:38 +09:00
shimizukawa
0b0f6d66cb Fix #2158: test_latex_build.test_footnote and some tests fail on Windows environment with py3 2015-12-19 19:00:39 +09:00
Alastair Houghton
d2d202f160 Added tests for Apple Help generation. 2015-01-15 13:17:01 +00:00
Georg Brandl
a23903d8d5 Merge branch 'stable' 2015-01-03 21:41:14 +01:00
Georg Brandl
567d52f199 all: update copyright 2015-01-03 21:36:32 +01:00
Takayuki Shimizukawa
da651089e7 fix trailing space and long line 2014-10-09 23:53:33 +09: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
tk0miya
57cc7dfa05 Fix RuntimeError with numbered circular toctree 2014-08-19 10:44:09 +09:00
Takayuki Shimizukawa
ed9de1c9e8 * provide _copy_to_temp option for TestApp() 2014-08-10 22:23:52 +09:00
Takayuki Shimizukawa
269421bc58 * Fix: Non-ASCII filename raise exception on make singlehtml, latex, man, texinfo and changes. Closes #1508 2014-07-13 10:44:48 +09:00
Takayuki Shimizukawa
e2ed97031d use test generator nosetests feature. 2014-07-12 22:14:14 +09:00
Georg Brandl
e030031321 Update copyright year. 2014-03-01 08:18:16 +01:00
Takayuki Shimizukawa
be65b99879 grammar fix: 'multibyte filename' is ambiguous. They are replaced with 'non-ASCII filename'. refs #703 2013-10-03 06:43:22 +00:00
Georg Brandl
895899b7bb small grammar fix in multibyte filename messages 2013-10-01 19:50:32 +02:00
Takayuki Shimizukawa
58be2f19b3 When Sphinx couldn't decode multibyte filename, now Sphinx notices UnicodeError and continuing if possible instead of raise exception. Closes #703 2013-09-28 12:51:20 +00:00
Georg Brandl
1af3e3ea71 tests: replace "from util import *" by explicit imports 2013-04-01 11:39:32 +02:00
Jonathan Waltman
f4a346760c Fix test_man which didn't test if docs were being built. It now successfully fails. 2013-01-06 23:36:33 -06:00
Georg Brandl
151856819c Copyright update. 2013-01-01 22:13:15 +01:00
Takayuki Shimizukawa
3f9598394b merge heads 2012-12-10 10:18:32 +09:00
Jonathan Waltman
8ac4aa6282 Add Docutils-native XML and pseudo-XML builders 2012-12-04 21:10:15 -06:00
Takayuki Shimizukawa
1bb4923da1 support multibyte filename handling.
https://bitbucket.org/birkenfeld/sphinx/issue/703
2012-05-01 15:13:06 +09:00
Georg Brandl
0e1db6ad90 New year update. 2011-01-04 10:00:51 +01:00
Georg Brandl
e3f47a800a Actually test the JSON builder. 2010-07-25 14:50:47 +02:00
Georg Brandl
121b864f31 Add manual page writer. 2010-02-21 11:50:08 +01:00
Georg Brandl
e4f4cd2bf9 merge with trunk 2010-01-17 17:00:37 +01:00
Georg Brandl
744a519c92 Add single-file HTML builder. Closes #151. 2010-01-17 16:48:02 +01:00
Georg Brandl
03d5917a53 Split out test_build_latex. 2010-01-17 12:29:00 +01:00
Georg Brandl
c00fd08aa9 Clean up unused imports. 2010-01-17 12:02:15 +01:00
Georg Brandl
82fa1f3cfe Split off HTML tests from test_build. 2010-01-02 21:08:09 +01:00
Georg Brandl
faeec5cbbb merge with trunk 2010-01-02 21:03:56 +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
47ccbccc62 merge with 0.6 2010-01-01 14:10:48 +01:00
Georg Brandl
f6a56192d1 Happy new year! 2010-01-01 14:09:13 +01:00
Georg Brandl
f3a2854ba9 merge with trunk 2009-12-31 18:40:58 +01:00
Georg Brandl
bf9c12a3e8 merge with 0.6 2009-12-31 09:49:12 +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
f37dcb25da merge with epub fork 2009-12-28 19:00:48 +01:00
Roland Meister
706e12da65 Initial import from local repository 2009-12-28 17:09:09 +01:00
Georg Brandl
0238b8322d merge with 0.6 2009-12-24 13:32:16 +01:00
Georg Brandl
88e54f951b #299: Fix the mangling of quotes in "include:: :literal:" blocks. 2009-12-24 13:19:07 +01:00
Georg Brandl
8f8cc0e270 Move HTML test into own module and add some C references. 2009-09-08 12:07:27 +02:00
Georg Brandl
fa7f8812cd More refactoring for language-independent domain support.
* Renamed "desc"ription unit to "object" wherever possible.
* Added standard x-ref types to a StandardDomain which is always consulted.
* Split domains module into a subpackage.
* Removed additional_xref_types in favor of new directive classes in StandardDomain.
* Implemented x-ref inventory version 2, for all object types.
* Added env.doc_read_data which is for temporary data stored while reading.
* Minimally updated extension tutorial.
* Started to implement changes to interactive search.
* Test suite passes again.
2009-09-07 22:52:26 +02:00
Georg Brandl
8d0c50c5b4 More block markup tests. 2009-08-09 23:12:01 +02:00
Georg Brandl
8ba78e88e7 More tests for inline markup. 2009-08-09 23:01:48 +02:00
Georg Brandl
631ccfa3b5 Fix test. 2009-08-09 22:47:56 +02:00
Georg Brandl
2ac807a066 Add more tests for markup. 2009-08-09 22:44:41 +02:00
Georg Brandl
28263b96de More tests for inline markup. 2009-08-09 22:19:37 +02:00
Georg Brandl
288af885c2 merge with 0.6 2009-06-04 18:47:43 +02:00
Georg Brandl
137db91d77 When highlighting Python code, ignore extra indentation before
trying to parse it as Python.
2009-06-04 18:21:26 +02:00
Georg Brandl
fb0791bdfc Added the `prepend and append` options to the
``literalinclude`` directive.
2009-06-04 17:57:58 +02:00
Georg Brandl
92eef1b2e5 Set the default encoding to `utf-8-sig` to handle files with a
UTF-8 BOM correctly.
2009-05-31 18:58:28 +02:00
Georg Brandl
224104724a #178: apply `add_function_parentheses` config value to C functions as promised. 2009-05-22 18:53:58 +02:00
Georg Brandl
b4365ad72b #173: Respect the docutils `title` directive. 2009-05-17 19:15:28 +02:00
Georg Brandl
248dcaea2c Fix test suite failures when Pygments is not available. 2009-04-07 21:50:14 +02:00
Georg Brandl
1878c02078 Restore 2.4 compatibility and fix removing the generated file properly. 2009-03-16 23:46:58 +01:00
Georg Brandl
32800b1762 Fix test_env. 2009-03-16 22:47:52 +01:00
Georg Brandl
df6b2001ed Fix test suite for docutils 0.4. 2009-03-16 22:37:38 +01:00
Georg Brandl
5ea87fd6c4 Fix autosummary test suite. 2009-03-16 11:41:35 +01:00
Georg Brandl
9d0a9f3f41 Fix the test suite. 2009-03-16 11:24:19 +01:00
Georg Brandl
0d75f37e23 Make WARNING the default warning prefix. 2009-03-05 10:06:18 +01:00
Georg Brandl
b244dbf9b5 Use standard `file:line: warning: message` format for warning messages. 2009-03-05 09:21:35 +01:00
Georg Brandl
fb511a015a Paths to literal include files and download files can now be absolute too. 2009-02-24 13:38:15 +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
bd5eb9f417 Fix a bug in FilenameUniqDict that led to test failures. 2009-02-19 22:36:00 +01:00
Georg Brandl
8bf6fa5a74 Make the HTML xpath tests generator tests. 2009-02-19 22:12:47 +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
Georg Brandl
298ea6ea5b SVG images are now supported in HTML (via `<object> and <embed>` tags). 2009-02-18 00:52:12 +01:00
Georg Brandl
0b28b3e6f6 Switch copyright and license tags to single style. Add contributor
names in AUTHORS instead, and add the license of etree13 to
LICENSE.
2009-01-03 11:57:07 +01:00
Georg Brandl
058001c831 Fix #68: invalid latex output for images with height set. 2008-12-08 08:52:55 +01:00
Georg Brandl
83dba8fc76 Fix #60: "smart" image inclusion in subdirs. 2008-12-08 08:44:18 +01:00
Georg Brandl
35a58e50ca Also fix invalid index entries for Latex output. 2008-11-30 21:06:07 +01:00
Georg Brandl
c3e13cfa9a Add theming test suite, fix a few bugs and doc problems. 2009-02-15 16:10:10 +01:00
Georg Brandl
1219e3e73a merge with main 2009-02-14 23:25:30 +01:00
Georg Brandl
06b32a712f Image paths can now be absolute (like `/images/foo.png`).
They are treated as relative to the top source directory.
2009-02-14 15:29:18 +01:00
Georg Brandl
26ae3f01aa Add a rst_epilog setting, usable for global substitutions. 2009-02-07 19:41:10 +01:00
Georg Brandl
1e347aba51 Skip pygments-related tests if it is not installed. 2009-02-06 22:18:16 +01:00
Georg Brandl
d1e6119461 merge with trunk 2009-01-26 22:44:38 +01:00
Georg Brandl
f1e39097c6 Add a minimal test for external toctree links and fix a small bug found by it. 2009-01-26 22:04:29 +01:00