Commit Graph

9642 Commits

Author SHA1 Message Date
Takeshi KOMIYA
27ea988f6e Move Transform manager to registry 2017-12-14 23:55:39 +09:00
Takeshi KOMIYA
ed1f47e190 Move logs to registry 2017-12-14 23:37:13 +09:00
Takeshi KOMIYA
ea61464706 Merge branch 'stable' 2017-12-14 23:26:27 +09:00
Takeshi KOMIYA
a722c3f2bf
Merge pull request #4300 from tk0miya/fix_ImportError_for_autodoc
autodoc: Fix error handling for import_module()
2017-12-14 23:22:24 +09:00
Takeshi KOMIYA
acf5eaae84
Merge pull request #4294 from tk0miya/refactor_parser
Refactor docutils components of Sphinx (reader, parser, FileInput and so on).
2017-12-14 23:13:28 +09:00
Takeshi KOMIYA
b6d6e4cc73 autodoc: Fix error handling for import_module() 2017-12-14 22:55:31 +09:00
Takeshi KOMIYA
9d44cb5952
Merge pull request #4299 from tk0miya/refactor_MockImporter
autodoc: refactor MockImporter
2017-12-14 22:13:16 +09:00
Takeshi KOMIYA
49e1fbe0df Update CHANGES for PR #4273 2017-12-14 22:09:43 +09:00
Takeshi KOMIYA
638018cea0
Merge pull request #4273 from stephenfin/bug/1421
Fix #1421: Respect the quiet flag in sphinx-quickstart
2017-12-14 22:08:56 +09:00
Takeshi KOMIYA
a82a921d62
Merge pull request #4174 from stephenfin/argparse-integration-continued
Argparse integration (continued)
2017-12-14 22:07:28 +09:00
Takeshi KOMIYA
f7fe5cc731
Merge pull request #4297 from stephenfin/bug/4284
setup: Install mock for Python 3 too
2017-12-14 21:25:34 +09:00
Takeshi KOMIYA
51580fabb4 Update docstrings 2017-12-14 21:15:55 +09:00
Takeshi KOMIYA
0dfa88ec4b Fix mypy violation 2017-12-14 21:15:53 +09:00
jfbu
7e75d46ea1 Again docs of `-M latexpdf`! 2017-12-14 12:54:29 +01:00
jfbu
a1b04e05d7 Remove docs of `-M latexpdfja` sphinx-build option
Indeed, if latex_engine is not appropriately set, the ``make latexpdf``
then fails because the Makefile in latex build repertory is the one for
pdflatex, not platex+dvipdfmx.

Besides, if language is 'ja', then latexpdf automatically uses the
platex latex_engine, hence the platex/dvipdfmx pipeline, and latexpdfja
is not needed.

For now, only removing documentation.
2017-12-14 12:47:11 +01:00
jfbu
e782ee6b63 Again docs of make latexpdf/latexpdfja 2017-12-14 12:42:17 +01:00
jfbu
fdd87e504c Docs of make latexpdfja 2017-12-14 12:03:42 +01:00
Takeshi KOMIYA
9b3ef92d7b autodoc: refactor MockImporter 2017-12-14 15:36:08 +09:00
jfbu
64bb48ad2d Fix some French English encountered in sphinx.sty's comments ... 2017-12-13 22:29:56 +01:00
Stephen Finucane
a5ef67b96a setup: Install mock for Python 3 too
'mock' is part of the standard library in Python 3 since Python 3.3.
However, it's found in 'unittest.mock' - not 'mock'. We should install
the version for PyPi in all cases to minimize differences between the
two. When Python 2.7 support is dropped, we can consider switching to
the standard library version.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes #4284
2017-12-13 19:59:45 +00:00
Stephen Finucane
974b1be218 Fix #1421: Respect the quiet flag in sphinx-quickstart
Calling 'sphinx-quickstart --quiet' should not print anything to stdout.
Resolve this.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-13 19:39:29 +00:00
Takeshi KOMIYA
ce85b48a0e
Merge pull request #4286 from tk0miya/4279_multiproc_and_logging
Fix #4279: Sphinx crashes with pickling error when run with multiple …
2017-12-13 23:55:33 +09:00
Takeshi KOMIYA
cdb9fee40a
Merge branch 'stable' into 4279_multiproc_and_logging 2017-12-13 23:05:20 +09:00
Takeshi KOMIYA
53bb1f03a6
Merge branch 'stable' into 4279_multiproc_and_logging 2017-12-13 22:51:12 +09:00
Takeshi KOMIYA
6dae5db9af Fix SphinxRSTFileInput should expand tabs 2017-12-13 20:49:50 +09:00
jfbu
8de0abd1b6 Make PDF highlighting work as expected also in absence of `:linenos:`
Method at 347f15ca2 was overly complicated, due to not enough
understanding of LaTeX package fancyvrb's innards.
2017-12-13 11:12:18 +01:00
Jakob Lykke Andersen
809388d836 C++, do not add index entries for decls in concepts 2017-12-12 18:04:58 +01:00
Jakob Lykke Andersen
d9006ef5b2 C++, make function params linkable 2017-12-12 18:04:58 +01:00
Takeshi KOMIYA
d4243a10fe Fix mypy violation 2017-12-12 23:28:30 +09:00
Takeshi KOMIYA
7f3a7c3b81
Merge pull request #4291 from mitya57/reproducibility
Fix for reproducibility of htmlhelp and qthelp builds
2017-12-12 23:22:02 +09:00
jfbu
0b0ac8b3bd Fix merge error 2017-12-12 11:02:19 +01:00
jfbu
4ca7bfc601 Merge branch 'stable' 2017-12-12 11:00:52 +01:00
jfbu
b5e50d652c Update LaTeX style file's version date 2017-12-12 10:59:25 +01:00
jfbu
faadbef757 Expose some sphinx.sty LaTeX internals for customizability (refs: #4285) 2017-12-12 10:57:49 +01:00
Takeshi KOMIYA
07c5348a56 Add test_io.py 2017-12-12 18:24:53 +09:00
Takeshi KOMIYA
773173b11f Remove LoggingReporter.set_conditions() (unused) 2017-12-12 18:24:53 +09:00
Takeshi KOMIYA
16c244cd6a Add LoggingReporter.from_reporter() constructor 2017-12-12 18:24:52 +09:00
Takeshi KOMIYA
0e86ff2f11 Refactor sphinx.io; separate FileInput class for each file type 2017-12-12 18:24:52 +09:00
Takeshi KOMIYA
aa4fd0e1b7 refactor sphinx.io; SphinxFileInput can expect that app argument is always available 2017-12-12 18:24:52 +09:00
Takeshi KOMIYA
a0200ad499 Refactor sphinx.io; dependent parser detection from SphinxFileInput 2017-12-12 18:24:52 +09:00
Takeshi KOMIYA
a12399dbe4 Refactor sphinx.io; independ parser generation from reader class 2017-12-12 18:24:52 +09:00
jfbu
43e6f1aa96 Fix VerbatimHighlightColor key declared non-sphinx-prefixed colour name 2017-12-11 23:09:19 +01:00
jfbu
ad4481eb15 Merge branch 'stable' 2017-12-11 22:54:34 +01:00
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