Takeshi KOMIYA
c6bd84a614
refactor: Remove u-prefix from strings
2018-12-16 21:28:51 +09:00
Jon Dufresne
5bf25eb445
Avoid respecifying default encoding for .encode()/.decode() calls
...
In Python 3, both .encode() and .decode() default the encoding to
'utf-8'. See the docs:
https://docs.python.org/3/library/stdtypes.html#str.encode
https://docs.python.org/3/library/stdtypes.html#bytes.decode
Simplify and shorten the code by using the default instead of
respecifying it.
2018-12-15 17:19:56 -08:00
Jon Dufresne
41ad0d5347
Fix all BytesWarning identified through tests
...
Code should not arbitrarily mix bytes & str values. The values should be
understood and deliberate. When Python is run with the -b option, this
change fixes warnings of the form:
BytesWarning: str() on a bytes instance
2018-11-13 18:08:49 -08:00
Takeshi KOMIYA
abcb5bd5ec
The default setting for master_doc is changed to 'index'
2018-09-04 01:14:16 +09:00
Takeshi KOMIYA
fb41dcefab
Fix sphinx.testing uses deprecated pytest API; Node.get_marker(name)
2018-06-07 01:22:55 +09:00
Takeshi KOMIYA
f7027049b1
Fix flake8 violations
2018-02-19 23:20:56 +09:00
Takeshi KOMIYA
2426cedb8b
A happy new year!
2018-01-01 01:06:58 +09:00
shimizukawa
d497d74370
refs #3458 : add sphinx.testing that are moved from /tests directory.
2017-05-14 20:47:15 +09:00
Takeshi KOMIYA
8f9dd64992
Merge branch 'stable'
2017-03-26 11:52:15 +09:00
Takeshi KOMIYA
c57e47e042
Year++
2017-03-26 11:49:34 +09:00
Stephen Finucane
2afa0b6627
setuptools: Support multiple builders
...
At present, the 'builder' option for the setuptools integration only
supports a single output format, typically HTML, like so:
[build_sphinx]
builder = man
There is value in being able to specify multiple format, like so:
[build_sphinx]
builder = html man
Make this possible.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-02-28 17:30:28 +00:00
Takeshi KOMIYA
cf2061dfad
Fix flake8 violations
2017-01-26 01:13:17 +09:00
shimizukawa
f566f003f3
pytest: nits
2017-01-06 00:26:31 +09:00
shimizukawa
5b7d237db3
pytest migration
2017-01-04 00:59:30 +09:00
Tadej Janež
a9ffcf0d60
Add `--warning-is-error
` option to setup.py command
2016-06-30 10:18:49 +02:00
Georg Brandl
46d7e8558e
Obligatory copyright update.
2016-01-14 22:54:04 +01: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
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
Takayuki Shimizukawa
ad69dadd14
Now Sphinx exits with non-zero status code if builder status is not success. Closes #508 .
2014-08-29 01:14:54 +09:00
Georg Brandl
e030031321
Update copyright year.
2014-03-01 08:18:16 +01:00
Takayuki Shimizukawa
6432f65347
fix test error; can't remove empty directory problem on Windows.
2013-12-08 16:58:34 +09:00
Dmitry Shachnev
c7002b90b8
Make sure setup_command test can always import Sphinx
2013-10-05 19:36:12 +04: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
Takayuki Shimizukawa
99008f5b78
Fix again: NFC/NFD normalizing problem. Closes #1142
2013-09-18 08:51:20 +00:00