Commit Graph

7317 Commits

Author SHA1 Message Date
Takeshi KOMIYA
0f35b94500 Update CHANGES for PR#3071 2016-11-02 23:01:58 +09:00
Takeshi KOMIYA
b32d9a9bc7 Merge pull request #3071 from mleinart/autodoc/pass_through_decorators
Autodoc: Allow mocked module decorators to pass-through functions unchanged
2016-11-02 23:01:16 +09:00
jfbu
1777939fa4 Update CHANGES for PR#3059 2016-11-02 14:55:47 +01:00
Jean-François B
67fe3d6da0 Fix #2865: let LaTeX image inclusion obey `scale` before textwidth fit (#3059) 2016-11-02 14:50:41 +01:00
Jean-François B
358f5e08ef Merge pull request #3055 from jfbu/allowreferencesinlatextopics
Fix #2461: re-allow footnotes in topics for latex PDF
2016-11-02 14:45:27 +01:00
Takeshi KOMIYA
a880d0e84e Fix #3114: Install enum34 to test autodoc on py27 2016-11-02 21:35:50 +09:00
Takeshi KOMIYA
b014c34586 Fix #3111: autodoc crashes with python3.6b3
Since 3.6b3, structure of typing.Callable has been changed.
2016-11-02 20:08:21 +09:00
jfbu
da1e157e90 fix typo in CHANGES 2016-11-02 08:18:53 +01:00
jfbu
b9bb7d8810 Update CHANGES for PR#3104 2016-11-02 08:16:30 +01:00
Takeshi KOMIYA
ae1f523d52 Add `--extensions to sphinx-quickstart` to support enable arbitary extensions from command line (ref: #2904) 2016-11-02 11:11:15 +09:00
Jean-François B
a759e5eae7 Merge pull request #3104 from jfbu/latex_keyvalueoptions
``'sphinxpackageoptions'`` for key=value styling of Sphinx LaTeX
2016-11-01 19:25:49 +01:00
jfbu
aff72931fc minor update to latex.rst 2016-10-30 00:08:17 +02:00
jfbu
e70746e8da uppercase colour names (latex styling) 2016-10-30 00:04:23 +02:00
jfbu
a48a9c883a style the latex chapter in the docs (for pdf output) 2016-10-29 16:30:33 +02:00
jfbu
528b6c374c refactor the handling of latex options
previously, modifying a single option via ``\sphinxsetup`` redeclared
all dimensions and colours, even if they had not changed.
2016-10-29 14:03:12 +02:00
jfbu
b6695ad7fc use 'sphinxpackageoptions' as argument to `\sphinxsetup`
Indeed, LaTeX's handling of package options is not robust when options
contain LaTeX macros; thus we pass all the user customization to
``\sphinxsetup``, not as package options to "sphinx.sty".

Also, make parameters for long code line breaking (ref #2343, 1.4.2)
accessible as sub-keys of 'sphinxpackageoptions'. The space reserved for
the continuation character has been modified for coherence and
compatibility with use in footnotes. In fact it did not use the correct
font for the dimension computation. The documentation explains how to
recover former value.
2016-10-28 21:45:44 +02:00
jfbu
67a785c2ab use less macros for dimension parameters in LaTeX styling 2016-10-28 17:01:14 +02:00
jfbu
fb8bb072cb `'sphinxpackageoptions'` for key=value styling of Sphinx LaTeX 2016-10-27 20:24:33 +02:00
shimizukawa
a5bdf1fdae Closes #3060: autodoc supports documentation for attributes of Enum class. Now autodoc render just the value of Enum attributes instead of Enum attribute representation. 2016-10-28 00:02:09 +09:00
Takeshi KOMIYA
99147c1372 Merge pull request #3101 from jfbu/update_stylefile_checklist
update style files checklist for latex tests
2016-10-27 19:52:08 +09:00
jfbu
4d3f5b3c1c update style files checklist for latex tests 2016-10-27 11:43:20 +02:00
jfbu
5142d17e41 fix mark-up in AUTHORS (funny effect of `T.`) 2016-10-27 10:08:26 +02:00
jfbu
7a96becca1 Update CHANGES for PR#3096 2016-10-27 10:02:53 +02:00
Jean-François B
5fa47df1e8 Merge pull request #3096 from jfbu/latex_fixtoodeeplynested
Fix #777: (part II) LaTeX output "too deeply nested"
2016-10-27 09:58:48 +02:00
jfbu
4e2bdf6671 ignore `'maxlistdepth'` if package "enumitem" in use 2016-10-27 09:24:12 +02:00
jfbu
183a2ca75a Fix label placement in doc/config.rst (caused extra white line) 2016-10-26 23:49:49 +02:00
jfbu
e59ab1538d fix typos and mark-up in doc/config.rst 2016-10-26 23:16:15 +02:00
jfbu
a3cf7185f1 fix mark-up in doc/config.rst 2016-10-26 22:56:58 +02:00
jfbu
787fffd25f fix test of current listdepth which was too permissive by one unit 2016-10-26 19:07:44 +02:00
jfbu
4470e7d565 use "kvoptions" to handle sphinx latex package options
will facilitate adding options in the future, with a "key=value" syntax.
2016-10-26 12:06:05 +02:00
jfbu
3af9353b38 Fix #777: (part II) LaTeX output "too deeply nested"
The standard classes have a severe cap on maximal nesting of list-like
environments (a total of six levels, and four for each of enumerate and
itemize). This commit defines a new key ``'maxlistdepth'``. _Only_ if it
is set (i.e. non-empty) will sphinx.sty do some hack to lift the LaTeX
limitations and extend the maximal list depth to the desired value.
2016-10-26 10:30:52 +02:00
jfbu
a2672ce11b streamline latex comments in sphinx.sty 2016-10-26 10:16:09 +02:00
Takeshi KOMIYA
f3118e1cd6 Merge pull request #3098 from pamolloy/conf-py-indent
Fix indentation in conf.py
2016-10-26 11:14:46 +09:00
Philip Molloy
47bae16513 Fix indentation in conf.py 2016-10-25 17:03:56 -04:00
jfbu
69d3480ef7 Fix again hyperref duplicate destination warnings
The method at 4e88bfe worked only for page 1. This moves to
``\maketitle`` the whole control.
2016-10-25 22:30:40 +02:00
Takeshi KOMIYA
78c0d6b46c Merge pull request #3064 from tk0miya/2513_default_settings_for_each_engine
A better default settings for LuaLaTeX and XeLaTeX
2016-10-25 21:35:03 +09:00
Takeshi KOMIYA
8122f06415 Update CHANGES 2016-10-25 20:08:07 +09:00
Takeshi KOMIYA
5af1713d60 latex: Disable babel if polyglossia loaded 2016-10-25 20:08:07 +09:00
Takeshi KOMIYA
68de92042f latex: Use \refname if \bibname not defined in sphinxhowto.cls 2016-10-25 20:08:06 +09:00
Takeshi KOMIYA
0ad54208d3 Revirt aa06495b61: Remove unneeded \phantomsection (refs: review comment of #3064) 2016-10-25 14:25:18 +09:00
Takeshi KOMIYA
a79ea0fa95 A better default settings for XeLaTeX 2016-10-25 11:26:44 +09:00
Takeshi KOMIYA
d322e443a8 Travis CI: Install lmodern to build xetex documents 2016-10-25 11:26:44 +09:00
Takeshi KOMIYA
1ced210d74 latex: Introduce ADDITIONAL_SETTINGS to support default settings for each LaTeX engine 2016-10-25 11:26:44 +09:00
Jean-François B
41609f15b8 Fix #3086: revert 1.5a2 change to latex bibliographic entries key widths (#3087) 2016-10-24 15:58:20 +02:00
Jakob Lykke Andersen
efa5382e9b Merge pull request #3072 from jakobandersen/multiline-signatures
Make rendering of multiline signatures better in html.
2016-10-24 13:38:33 +02:00
Takeshi KOMIYA
5e753d50ac Merge pull request #3078 from jwilk/spelling
Fix typos
2016-10-24 20:21:42 +09:00
Takeshi KOMIYA
e139636aa3 Merge pull request #3081 from jfbu/update_makemode_help
Let "make help" provide better info for latexpdf target
2016-10-24 20:16:36 +09:00
jfbu
d0dbd60d94 Addition and alphabetical order fix in AUTHORS 2016-10-23 15:08:51 +02:00
jfbu
8aa66fda80 Let "make help" provide better info for latexpdf target 2016-10-23 11:25:05 +02:00
jfbu
ef73ecefb2 Amend Update CHANGES for PR#3056 (it was already in 1.5a2) 2016-10-23 10:53:55 +02:00