Dmitry Shachnev
1502fbda61
Fix for reproducibility of htmlhelp and qthelp builds
...
Make sure the generated list of files is sorted.
This is similar to what was applied to EPub builder in 0b7c73a981
.
2017-12-12 00:12:45 +03:00
jfbu
f95464baf3
Update CHANGES for PR #4285
2017-12-11 22:10:53 +01:00
Jean-François B
063bc681b5
Merge pull request #4285 from jfbu/1238_PDF_emphasize-lines
...
Support ``:emphasize-lines:`` in PDF output (closes #1238 )
2017-12-11 21:45:21 +01:00
jfbu
2bbb699b01
Move some LaTeX macros for easier customizability if needed
2017-12-11 21:23:25 +01:00
jfbu
314f5291d4
Replace two self.body.append by one in latex writer
2017-12-11 20:17:27 +01:00
jfbu
34634d6225
Update CHANGES for PR #4250
2017-12-10 23:31:44 +01:00
Jean-François B
0febbc552a
Merge pull request #4250 from jfbu/4249_errhighlight
...
Fix #4249 by overriding Pygments latex formatter error highlighting
2017-12-10 23:29:30 +01:00
jfbu
e583e5b0f3
Fix highlighting in PDF if wrapping of long code lines was _not_ enabled
2017-12-10 17:11:55 +01:00
jfbu
3bbfbadce5
Add a note for future maintenance by TeX hackers
2017-12-10 16:51:10 +01:00
jfbu
c220ae3ecb
Update docs relative to emphasize-lines
2017-12-10 16:20:00 +01:00
jfbu
347f15ca28
Make PDF support for emphasize-lines work with lineno-start like html
2017-12-10 16:19:32 +01:00
jfbu
8ac042a0f8
Add emphasize-lines PDF support also under verbatimwrapslines=false
2017-12-10 16:19:28 +01:00
Takeshi KOMIYA
38b5dff206
Fix #4279 : Sphinx crashes with pickling error when run with multiple processes and remote image
2017-12-10 21:10:56 +09:00
Takeshi KOMIYA
8f28837616
Update CHANGES for PR #4274
2017-12-10 21:08:52 +09:00
Takeshi KOMIYA
c30579b38e
Merge pull request #4274 from stephenfin/use-argumentparser-error
...
sphinx-build: Use 'ArgumentParser.error'
2017-12-10 21:07:07 +09:00
jfbu
70f8d4ddfc
Support `:emphasize-lines:
` in PDF output ( closes #1238 )
2017-12-10 12:37:36 +01:00
jfbu
90ee039e34
Avoid № in CHANGES, as PDF built with language="ja" does not render it
2017-12-06 19:02:11 +01:00
jfbu
21d1025739
Update CHANGES for PR #4268
...
modified: CHANGES
2017-12-06 18:43:37 +01:00
jfbu
6cb517dc2d
Fix #4249 by overriding Pygments latex formatter error highlighting
2017-12-06 09:43:39 +01:00
Jean-François B
7b2794fde1
Merge pull request #4268 from jfbu/4267_Unicode_breaks_PDF
...
Fix #4267 by passing `warn` option to package textcomp.
2017-12-05 23:26:36 +01:00
Jakob Lykke Andersen
f3b440777b
C++, support explicit member instantiations
...
See michaeljones/breathe#325
2017-12-04 22:38:37 +01:00
Stephen Finucane
77ff7d7e90
sphinx-build: Use 'ArgumentParser.error'
...
This simplifies a common pattern used here. This does result in a change
in the output code from 1 to 2 for some cases, but this shouldn't be an
issue as we already emit 2 for any parser issues.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-04 17:19:58 +00:00
Stephen Finucane
d46273ca4a
quickstart: Rework how we collect extensions
...
This is a little more flexible than the existing set up and makes
maximum use of argparse capabilities.
This has the side-effect of no longer including configuration for the
'sphinx.ext.todo' extension when said extension is not enabled.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-03 19:24:58 +00:00
Stephen Finucane
4c0f657ee6
quickstart: Rework 'do_prompt' function
...
The 'd' and 'key' values are used on a single line. Move these outside
the function to allow us to do other things with this function.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-03 19:24:58 +00:00
Stephen Finucane
88d7dc1bd3
quickstart: Simplify --(no-)option handling
...
The standard pattern for doing this is to use a common 'dest'.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-03 19:24:58 +00:00
Jakob Lykke Andersen
0ff217e1b2
C++, fix hyperlinking of nested names
2017-12-01 20:07:35 +01:00
jfbu
10ec24b80d
Fix #4267 by passing warn
option to package textcomp.
...
This silences its silly build-breaking errors in case some font
substitution proved necessary for the characters it supports.
2017-11-29 17:07:10 +01:00
Jakob Lykke Andersen
eff13bc4c4
C++, fix bug in new sizeof... expression parsing
...
See sphinx-doc/sphinx#4114
2017-11-27 07:51:30 +01:00
Matthew Fernandez
1b664248f4
update todo extension test to test multiple todolists
...
This tests for regression of previous bug #4214 : Two todolist directives break
sphinx-1.6.5.
2017-11-26 20:54:32 -08:00
Matthew Fernandez
fd94702eed
fix #4214 : Two todolist directives break sphinx-1.6.5
2017-11-26 20:54:31 -08:00
Matthew Fernandez
9158a5be1b
remove todo_emit_warnings override from a test that doesn't need it
2017-11-26 20:54:06 -08:00
Jakob Lykke Andersen
56b520958f
C++: properly link class reference to class from inside constructor
...
Fixes sphinx-doc/sphinx#4099
2017-11-26 22:37:26 +01:00
Jakob Lykke Andersen
d6ec677c61
C++, parse decltype(<expr>)
...
Fixes sphinx-doc/sphinx#4094
2017-11-26 21:41:15 +01:00
Jakob Lykke Andersen
e7ba2abfb2
Fix type annotation error
2017-11-26 20:40:04 +01:00
Jakob Lykke Andersen
6e721e98fe
C++, parse more unary expressions
...
Last part, fixes sphinx-doc/sphinx#4114
2017-11-26 20:32:24 +01:00
Jakob Lykke Andersen
94934b2bdf
C++, reintroduce expression fallback parser
...
Part of fixing sphinx-doc/sphinx#4114 .
This reverts commit b55526f4e8
.
2017-11-26 15:36:35 +01:00
Jakob Lykke Andersen
0aa9d4c87e
C++, parse more types of integer literals
...
Fixes case 0 of sphinx-doc/sphinx#4114
2017-11-26 12:45:27 +01:00
Jakob Lykke Andersen
466241d43a
C++, small cleanup after PR #4189
2017-11-25 14:37:27 +01:00
Jakob Lykke Andersen
697248aec7
Merge branch 'cxx2a-concepts' of git://github.com/mickk-on-cpp/sphinx into mickk-on-cpp-cxx2a-concepts
2017-11-20 22:31:37 +01:00
Takeshi KOMIYA
931148eadb
Merge pull request #4238 from tk0miya/refactor_env.read_doc
...
Refactor env.read doc
2017-11-16 10:58:36 +09:00
Takeshi KOMIYA
6c2beef4f1
Merge pull request #4236 from tk0miya/4226_apidoc_generates_oldstyle_makefile
...
Fix #4226 : apidoc: Generate new style makefile (make-mode)
2017-11-12 18:55:08 +09:00
Takeshi KOMIYA
199256e675
Fix #4226 : apidoc: Generate new style makefile (make-mode)
2017-11-12 12:26:51 +09:00
Takeshi KOMIYA
0c98d04507
Merge pull request #4233 from tk0miya/4221_napoleon_loads_autodoc_explicitly
...
Fix #4221 : napoleon depends on autodoc, but users need to load it man…
2017-11-12 11:32:50 +09:00
Takeshi KOMIYA
a605f2b619
Merge pull request #4234 from pv/autosummary-importfix
...
Fix issue in usage of import_module in autosummary
2017-11-12 11:30:42 +09:00
Rob Ruana
9095ee4bc4
Merge branch 'stable' into 4221_napoleon_loads_autodoc_explicitly
2017-11-11 13:29:20 -05:00
Pauli Virtanen
189e25ac0e
Fix issue in import_module returning wrong module
2017-11-11 18:00:03 +01:00
Takeshi KOMIYA
baaa0e3640
Merge branch 'stable'
2017-11-12 01:53:28 +09:00
Takeshi KOMIYA
bdebbdf873
Update CHANGES for PR #2299
2017-11-12 01:51:40 +09:00
Takeshi KOMIYA
c1555638ae
Merge pull request #2299 from scVENUS/fix_attribute_docstrings_of_imported_class
...
Fix #2298 : automodule fails to document a class attribute.
2017-11-12 01:48:48 +09:00
Takeshi KOMIYA
4abe6cb62e
Fix #4221 : napoleon depends on autodoc, but users need to load it manually
2017-11-11 21:53:20 +09:00