Paul Melnikow
|
e792279791
|
Improve error message when config fails type check
The old message printed wrapped brackets around the type name, which would make you think it required an array.
|
2018-10-02 14:20:36 -04:00 |
|
Takeshi KOMIYA
|
973c3ffa25
|
Merge branch 'master' into change_master_doc_to_index
|
2018-09-29 21:12:40 +09:00 |
|
Takeshi KOMIYA
|
dc44b0d2a9
|
Merge branch 'master' into HEAD
|
2018-09-22 22:54:15 +09:00 |
|
Takeshi KOMIYA
|
3a2418a827
|
refactoring: Drop PY2 and PY3 flags
|
2018-09-22 21:27:59 +09:00 |
|
Jon Dufresne
|
490e4aed41
|
Remove unnecessary object from class definitions
In Python 3, all classes are new-style classes. The object in the
definition is redundant and unnecessary.
|
2018-09-11 07:07:01 -07:00 |
|
Takeshi KOMIYA
|
abcb5bd5ec
|
The default setting for master_doc is changed to 'index'
|
2018-09-04 01:14:16 +09:00 |
|
Takeshi KOMIYA
|
90246b82b5
|
Check latex_elements at config-inited event
|
2018-07-29 22:43:13 +09:00 |
|
Takeshi KOMIYA
|
f969edfaa8
|
Fix flake8 violations on tests
|
2018-07-28 20:19:30 +09:00 |
|
Takeshi KOMIYA
|
adbda06eca
|
Fix make_app() fixture fails to rollback registered roles on creating multiple apps
|
2018-05-17 00:42:48 +09:00 |
|
Takeshi KOMIYA
|
b165ade6b0
|
Rename Config.read_from_py() to Config.read()
|
2018-04-28 13:05:28 +09:00 |
|
Takeshi KOMIYA
|
bc63dc8450
|
Rename Config.read() to Config.from_conf_py()
|
2018-04-01 20:07:45 +09:00 |
|
Takeshi KOMIYA
|
181fb1093d
|
Now Config.read() takes a filename instead (dirname, filename)
|
2018-03-28 00:58:40 +09:00 |
|
Takeshi KOMIYA
|
78cbf96158
|
Deprecate Config.check_types()
|
2018-03-24 00:29:11 +09:00 |
|
Takeshi KOMIYA
|
3d8cb12497
|
Raise ExtensionError from Config class instead application class
|
2018-03-24 00:27:03 +09:00 |
|
Takeshi KOMIYA
|
e4ecb97d5a
|
refactor testcase for config
|
2018-03-23 23:41:09 +09:00 |
|
Takeshi KOMIYA
|
ba83214386
|
Refactor: Add Config.read() as a constructor
To simplify Config.__init__() method, this separates conf.py parsing
feature to Config.read() method.
This allows to instantiate config object simply.
|
2018-03-23 23:40:28 +09:00 |
|
Takeshi KOMIYA
|
f7027049b1
|
Fix flake8 violations
|
2018-02-19 23:20:56 +09:00 |
|
Takeshi KOMIYA
|
f1f6ca8cc9
|
Merge branch 'happy_new_year' into master
|
2018-01-01 01:09:17 +09:00 |
|
Takeshi KOMIYA
|
2426cedb8b
|
A happy new year!
|
2018-01-01 01:06:58 +09:00 |
|
Takeshi KOMIYA
|
d7d2e823fc
|
sphinx.config.ENUM allows to validate items of lists or tuples
|
2017-10-29 22:23:15 +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 |
|
Takeshi KOMIYA
|
d33cf04979
|
Merge branch 'stable'
|
2017-01-29 18:05:17 +09:00 |
|
Takeshi KOMIYA
|
cf2061dfad
|
Fix flake8 violations
|
2017-01-26 01:13:17 +09:00 |
|
Takeshi KOMIYA
|
8cbe1efe8d
|
Merge branch 'stable'
|
2017-01-10 01:04:21 +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
|
4c22cd10ca
|
Merge branch 'stable'
|
2017-01-07 02:14:29 +09:00 |
|
shimizukawa
|
baaef9146d
|
pytest: remove deprecated with_app decorator functions
|
2017-01-06 01:14:47 +09:00 |
|
shimizukawa
|
f962ad67d2
|
pytest: remove deprecated raises and raises_msg assert functions
|
2017-01-06 00:46:42 +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
|
85dcd7baa8
|
Use sphinx.util.logging instead app.warn()
|
2017-01-02 12:59:50 +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
|
5991bbe4ac
|
Add sphinx.config.ENUM to check the config values is in candidates
|
2016-07-07 23:42:49 +09:00 |
|
Takeshi KOMIYA
|
88c026d0bd
|
Merge branch 'stable'
|
2016-06-12 00:42:47 +09:00 |
|
Takeshi KOMIYA
|
80921b2ab8
|
Fix flake8 violation under tests/
|
2016-06-12 00:02:11 +09:00 |
|
Takeshi KOMIYA
|
e3def45ffe
|
Use locales as a default value of locale_dirs
|
2016-04-25 22:25:58 +09:00 |
|
shimizukawa
|
0c33d7df78
|
import mock from util instead of directly.
|
2016-04-02 22:15:13 +09:00 |
|
Takeshi KOMIYA
|
606daeda18
|
Fix the confval type checker emits warnings if unicode is given to confvals which expects string value
|
2016-02-23 11:14:58 +09:00 |
|
Takeshi KOMIYA
|
04a8c26eab
|
Fix #2235: `needs_sphinx ` supports micro version comparison
|
2016-01-21 13:51:17 +09:00 |
|
Georg Brandl
|
4f72bdb722
|
Merge branch 'stable'
|
2016-01-14 22:54:08 +01:00 |
|
Georg Brandl
|
46d7e8558e
|
Obligatory copyright update.
|
2016-01-14 22:54:04 +01:00 |
|
Robert Lehmann
|
c5f412f491
|
Fix typo.
|
2015-10-09 08:24:17 +02:00 |
|
Robert Lehmann
|
ca655f31a8
|
Fixes #1984: Hint None being valid for primary_domain.
|
2015-09-11 09:56:09 +02:00 |
|
Robert Lehmann
|
8b00f57f4d
|
Fixed #1786: Add configurable type hints.
This adds the option of giving, in addition to the type of the default
value, hints about permissible types for configuration values.
|
2015-09-11 09:51:14 +02:00 |
|
Georg Brandl
|
1d7db8da46
|
fixup test suite for already-registered warnings
|
2015-07-22 19:34:37 +02: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
|
32e4fab86b
|
fix py3 error for pull request #314
|
2014-12-04 17:26:13 +09:00 |
|