Brecht Machiels
405ef96d2a
Find third-party builders by entry point
...
A builder is uniquely identified by its name, which can be used as an
entry point in the 'sphinx.builders' entry point group. This obviates
the need to register the builder as an extension.
The built-in builders are still loaded as before. New third-party builders
should provide an entry point in their setup.py:
entry_points={
'sphinx.builders': [
'mybuilder = mypackage.mymodule:MyBuilder',
],
}
Like before, builders should define a setup(app) function in the
'mypackage.module' module to define configuration variables etc. It is
no longer necessary to register the builder using Sphinx.add_builder().
Existing builders can still be loaded the traditional way, by including
their module name in the extensions list in conf.py.
2017-04-10 13:04:41 +02:00
jfbu
1c4915f904
Typo in CHANGES
2017-04-08 21:54:10 +02:00
Jean-François B
ebc376157c
Merge pull request #3605 from tk0miya/3594_support_block_level_raw_node_in_latex
...
Fix #3594 : LaTeX: single raw directive has been considereed as block …
2017-04-08 21:52:36 +02:00
Takeshi KOMIYA
939f01eae3
Fix #3594 : LaTeX: single raw directive has been considereed as block level element
2017-04-08 11:54:01 +09:00
Takeshi KOMIYA
f93e07404f
Update CHANGES for PR #3609
2017-04-07 10:41:29 +09:00
Takeshi KOMIYA
1b5339685a
Merge pull request #3609 from kalekundert/feature-ref-citation-master
...
Categorize "duplicate citation" warnings (on master branch).
2017-04-07 10:38:58 +09:00
Kale Kundert
ff7b9518ba
Categorize "duplicate citation" warnings.
2017-04-05 21:24:49 -07:00
Takeshi KOMIYA
1123c3bda6
Merge branch 'stable'
2017-04-04 00:38:49 +09:00
Takeshi KOMIYA
4c87bcc57e
Bump version
2017-04-04 00:37:53 +09:00
Takeshi KOMIYA
5dd51a7fa4
Bump to 1.5.5 final
2017-04-04 00:34:52 +09:00
Takeshi KOMIYA
86c19bd46a
Update CHANGES
2017-04-04 00:19:32 +09:00
Takeshi KOMIYA
78148e9943
Merge pull request #3602 from shirou/change-mathjax-cdn
...
Change MathJax CDN
2017-04-04 00:16:44 +09:00
WAKAYAMA Shirou
d6dde6ac10
change Mathjax CDN URL.
2017-04-03 13:48:16 +09:00
Takeshi KOMIYA
57019c291a
Fix #3597 : python domain raises UnboundLocalError if invalid name given
2017-04-02 22:55:40 +09:00
Takeshi KOMIYA
fc41f43a70
Merge branch 'stable'
2017-04-02 19:05:50 +09:00
Takeshi KOMIYA
98e8fa992e
Bump version
2017-04-02 19:01:14 +09:00
Takeshi KOMIYA
f730297187
egg_info: drop --no-svn-revision option because it has been deprecated
2017-04-02 18:58:22 +09:00
Takeshi KOMIYA
f8927e9f8c
Bump to 1.5.4 final
2017-04-02 18:51:30 +09:00
jfbu
3ff68db8d9
Remove a line in CHANGES for 1.5.4 upcoming release
2017-03-30 18:50:48 +02:00
Takeshi KOMIYA
592b808005
Merge pull request #3585 from eric-wieser/escape-autosummary
...
BUG: Fix autosummary of members with a trailing underscore
2017-03-29 22:56:32 +09:00
Takeshi KOMIYA
d0384130cc
Merge pull request #3518 from agjohnson/fix-singlehtml-empty-toctree
...
Allow empty toctree in singlehtml builder
2017-03-29 22:24:16 +09:00
Takeshi KOMIYA
617f13e433
Merge pull request #3590 from lelit/del_default_sidebars
...
Remove unused default_sidebars class member
2017-03-29 22:14:43 +09:00
Anthony Johnson
beee9e80cd
Add another test for empty toctree
2017-03-29 00:52:35 -07:00
Lele Gaifax
e8e63b1e99
Remove unused default_sidebars class member
...
It was a leftover from commit 03b9d79b34
.
2017-03-28 01:16:46 +02:00
jfbu
f5f27c42d8
Merge branch 'stable'
2017-03-26 22:29:40 +02:00
jfbu
6b583a9618
Update version and date for LaTeX style files
2017-03-26 20:25:41 +02:00
jfbu
5f581cdb2d
Fix potential regression in LaTeX from a code change at PR #3538
...
The removal of an `\everyeof{}` from `\sphinxcode` was causing
never-ending loop if the latter expanded inside `\sphinxhref`. The bug
was introduced at 3128a43
, it thus never made it to a release yet.
Catching it in time for 1.5.4.
2017-03-26 20:00:35 +02:00
Takeshi KOMIYA
7826195a21
Fix mypy violations
2017-03-26 20:57:38 +09:00
Eric Wieser
804891c4a1
BUG: Fix autosummary of members with a trailing underscore
2017-03-26 12:54:03 +01:00
Takeshi KOMIYA
ed167d661c
Fix app.messagelog does not filled after moving to logging module
2017-03-26 18:53:08 +09:00
Takeshi KOMIYA
46acb4fbe4
Fix save_traceback() has broken
2017-03-26 18:25:19 +09:00
Takeshi KOMIYA
3715557249
Merge pull request #3587 from tk0miya/3221_deprecate_epub2
...
Fix #3221 : Deprecate EPUB2 builder
2017-03-26 18:21:23 +09:00
Takeshi KOMIYA
3e46f52a96
Merge pull request #3475 from agjohnson/domain-js-add-nesting
...
Add nesting, package directive, and method directive to JavaScript domain
2017-03-26 18:16:04 +09:00
Takeshi KOMIYA
1dea386bc4
Fix #3108 : Show warning if :start-at: and other literalinclude options does not match to the text
2017-03-26 18:13:50 +09:00
Takeshi KOMIYA
622ca9795f
Fix #3221 : Deprecate EPUB2 builder
2017-03-26 17:46:25 +09:00
Takeshi KOMIYA
8a98a1ad3d
Fix event handlers should be called back by installed order
2017-03-26 17:46:18 +09:00
Takeshi KOMIYA
6d08efe2dd
test: Replace app.buildername by app.builder.name
2017-03-26 17:33:56 +09:00
Takeshi KOMIYA
d3d9e3dfc8
Fix wrong merge
2017-03-26 12:36:39 +09:00
Takeshi KOMIYA
bf3f9ef3ec
Year++
2017-03-26 12:01:22 +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
d53204aa46
Merge pull request #3578 from tk0miya/refactor_extensions
...
Refactor application class around extensions
2017-03-26 11:33:42 +09:00
Takeshi KOMIYA
2cdcc80d44
Rename module: sphinx.extensions -> sphinx.extension (singular)
2017-03-26 10:58:17 +09:00
Takeshi KOMIYA
a92f406739
Merge pull request #3581 from eric-wieser/patch-1
...
Fix issues with trailing underscores in heading names
2017-03-25 22:16:42 +09:00
Eric Wieser
a7397a21fe
Test whether the escaping is correct by looking at the plaintext
...
Otherwise we're just testing that the headers are produced with format_header
2017-03-24 09:53:01 +00:00
Eric Wieser
18d2e2e48b
Move apidoc tests to subfolder, rather than polluting main test
2017-03-24 09:51:50 +00:00
jfbu
a8627ac01c
Use hyperref to set up the PDF information dictionary ( fixes #3551 )
2017-03-24 09:16:14 +01:00
Takeshi KOMIYA
65dc6d9859
Add comments
2017-03-24 10:30:01 +09:00
Takeshi KOMIYA
54076ed797
treat alabaster as a builtin extension
2017-03-23 22:50:11 +09:00
Takeshi KOMIYA
9025297faa
Add Extension class
2017-03-23 22:50:11 +09:00