Georg Brandl
71cd2f7e50
Change extension setup() return value to a dictionary of metadata.
...
This makes it possible to introduce more metadata values later.
2014-09-22 11:06:42 +02:00
Georg Brandl
e7ed7cd627
Rename env-read-docs to env-before-read-docs, add changelog entry and fixup tests.
2014-09-22 09:13:44 +02:00
Georg Brandl
3c5cda97d1
Merged in guillemNaN/sphinx (pull request #261 )
...
Add env-read-docs event to allow modify docnames list before processing
2014-09-22 09:05:00 +02:00
Georg Brandl
df53ece2f7
Minor PEP8 cleanup.
2014-09-21 20:21:43 +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
Takayuki Shimizukawa
7b9c9586bd
sphinx.application.Sphinx.add_search_language raises AssertionError for correct type of argument. Closes #1563
2014-09-09 17:27:00 +09: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
b6594d18d1
Add support for extensions to declare their version as a string returned from setup().
2014-09-03 16:27:15 +02:00
Takayuki Shimizukawa
60911efe05
Merge with tip
2014-08-18 23:20:42 +09:00
Takayuki Shimizukawa
f7399a261a
Add app.set_translator() API to register or override a Docutils translator class like :confval:html_translator_class
.
2014-08-05 00:18:54 +09:00
Takayuki Shimizukawa
2e1c16486c
* fix code to pass test, add versionadded to doc, update CHANGES for pull request #229
2014-08-03 19:19:31 +09:00
Takayuki Shimizukawa
9191ffaa50
Merged in russell/sphinx-pluggable-translators (pull request #229 )
...
Allow registration of other translators
2014-08-03 18:52:02 +09:00
Takayuki Shimizukawa
eaed3ca9f1
Automatically compile `*.mo
files from
*.po
` files.
2014-08-03 16:22:08 +09:00
Guillem Barba
b4b15181b4
Add env-read-docs event to allow modify docnames list before processing
2014-07-31 18:28:47 +02:00
Takayuki Shimizukawa
da20c3713b
merge with stable
2014-07-13 11:43:12 +09:00
Takayuki Shimizukawa
f781f55b28
* With non-callable setup
in a conf.py, now sphinx-build emits user-friendly error message. Closes #1499
2014-06-30 22:54:28 +09:00
Takayuki Shimizukawa
1e58062692
remove 'six' name except importing line.
2014-04-30 21:30:46 +09:00
Takayuki Shimizukawa
ce4d342e20
use six privided iteritems(),itervalues() to support py2/py3 in one source. refs #1350 .
2014-04-29 21:20:56 +09:00
Takayuki Shimizukawa
68290a266c
introduce the six module and reduce sphinx.util.pycompat implementation. refs #1350 .
2014-04-29 11:46:47 +09:00
Russell Sim
45a0bcd453
Allow registration of other translators
...
This adds an add_translator method to the sphinx application class.
It allows developers to register custom translators (writers) with
sphinx, so other extensions that add new nodes can register support
for the custom translators.
2014-03-20 12:34:11 +11:00
Georg Brandl
ac92719ac3
Update copyright year.
2014-03-01 08:18:23 +01:00
Georg Brandl
e030031321
Update copyright year.
2014-03-01 08:18:16 +01:00
Georg Brandl
1eb23c62ce
merge with stable
2014-01-22 18:13:49 +01:00
Dmitry Shachnev
953b33d3f7
Merge
2014-01-22 18:34:51 +04:00
Georg Brandl
15989db2a7
markup fix
2014-01-21 10:33:40 +01:00
Georg Brandl
317930a7fb
merge with stable
2014-01-20 21:21:33 +01:00
Georg Brandl
883324fd6c
Doc: move API docs in their own chapter and add more of it.
2014-01-20 17:21:44 +01:00
Dmitry Shachnev
ce2185ce27
Modernize the code now that Python 2.5 is no longer supported
...
- Use print function instead of print statement;
- Use new exception handling;
- Use in operator instead of has_key();
- Do not use tuple arguments in functions;
- Other miscellaneous improvements.
This is based on output of `futurize --stage1`, with some
manual corrections.
2014-01-19 14:17:10 +04:00
Georg Brandl
24a8b516bf
Remove sphinx.ext.oldcmarkup compatibility extension.
2014-01-17 07:24:23 +01:00
Georg Brandl
9756d3d339
When an extension fails to import, give the original traceback with -v
2014-01-13 08:47:39 +01:00
Georg Brandl
1356aff6d7
Closes #925 : Allow list-typed config values to be provided on the command line,
...
like ``-D key=val1,val2``.
2014-01-10 21:44:14 +01:00
Georg Brandl
f4a0a81f4c
#1259 : Guard the debug output call when emitting events; to prevent the
...
repr() implementation of arbitrary objects causing build failures.
2013-09-16 09:31:05 +02:00
Georg Brandl
a58c1332ff
Closes issue #1242 : make it clearer that "translations not available" means only for the built-in messages, and special-case English.
2013-09-16 07:26:46 +02:00
Georg Brandl
ba39edb5db
merge with parallel repo
2013-03-29 13:01:21 +01:00
Takayuki Shimizukawa
de1f19da36
fix debug2 UnicodeEncodeError issue caused by docutils Element.__repr__() return unicode object if Element['names'] contain unicode object.
...
This is maybe docutils issue: https://sourceforge.net/tracker/?func=detail&aid=3601607&group_id=38414&atid=422030
2013-01-21 03:44:31 +00:00
Takayuki Shimizukawa
60f6fc4805
fix debug2 UnicodeEncodeError issue with multibyte names node
2013-01-21 08:09:43 +09:00
Georg Brandl
c88ba504f3
Introduce a "-j" flag for parallel build.
2013-01-13 14:15:45 +01:00
Georg Brandl
72132ffebd
Verbosity: add another "debug2" function for level 3, use it for event debugging. Prefix debug messages with component name.
2013-01-12 12:35:04 +01:00
Georg Brandl
c1176a1bdb
Write verbose/debug messages to status fd, not warning fd.
2013-01-12 12:22:13 +01:00
Jonathan Waltman
51fb8b435b
Add verbose option `-v
` for sphinx-build and some rudimentary debugging support.
2013-01-05 02:41:12 -06:00
Jonathan Waltman
d997aa76b0
Closes #958 : Do not preserve `environment.pickle
` after a failed build.
2013-01-03 13:34:47 -06:00
Georg Brandl
151856819c
Copyright update.
2013-01-01 22:13:15 +01:00
Franck Michea
5521b8da2e
domain override: fix issue #1009 .
2012-10-11 20:58:54 +02:00
Georg Brandl
ddb7fab16d
Closes #805 : Make the `Sphinx.add_index_to_domain
` method work correctly.
2011-11-01 08:59:53 +01:00
Mateusz Paprocki
e7d915e47e
Added support for non-local files to Application.add_stylesheet()
2011-07-19 01:45:52 +02:00
Georg Brandl
5c39cfb6e9
merge with 1.0
2011-01-07 19:04:53 +01:00
Georg Brandl
98d884da6e
#306 : Added :event:env-get-outdated
event.
2011-01-07 16:41:44 +01:00
Georg Brandl
210add8d2c
Parse parmeter field in event descriptions.
2011-01-07 16:27:47 +01:00