Commit Graph

11774 Commits

Author SHA1 Message Date
Takeshi KOMIYA
07fd1c0680 Fix #4018: htmlhelp: Add htmlhelp_file_suffix and htmlhelp_link_suffix 2018-09-08 23:11:14 +09:00
Takeshi KOMIYA
02b763bc71 refactor: Check primary_domain on config-inited event 2018-09-08 22:47:45 +09:00
Takeshi KOMIYA
8e729b419e Fix #5399: Sphinx crashes if unknown po file exists 2018-09-08 22:21:59 +09:00
Takeshi KOMIYA
0970619813
Merge pull request #5392 from tk0miya/5290_support_egged_source_code
Fix #5290: autodoc: failed to analyze source code in egg package
2018-09-08 22:15:14 +09:00
Jon Dufresne
b36cc52c7d Remove pypy from tox.ini
The pypy executable is Python 2 and Python 2 support was dropped in
commit 9412bd76b7.
2018-09-07 16:15:20 -07:00
Takeshi KOMIYA
35e1764025 Fix #5290: autodoc: failed to analyze source code in egg package 2018-09-06 22:22:01 +09:00
Takeshi KOMIYA
888eea2944
Merge pull request #5378 from tk0miya/5127_quickstart_should_not_overwrite_Makefiles
Fix #5127: quickstart: ``Makefile`` and ``make.bat`` are not overwritten if exists
2018-09-06 22:19:50 +09:00
Takeshi KOMIYA
d9694befae
Merge branch '1.8' into 5127_quickstart_should_not_overwrite_Makefiles 2018-09-06 21:35:55 +09:00
Takeshi KOMIYA
dfbf90a128
Merge pull request #5375 from tk0miya/5362_apidoc_toc
Fix #5362: apidoc: Add ``--toc`` option to change the filename of ToC
2018-09-06 21:33:19 +09:00
Takeshi KOMIYA
86abb57577 Fix #5362: apidoc: Add `--toc` option to change the filename of ToC 2018-09-06 18:29:44 +09:00
Takeshi KOMIYA
4abc55239a
Merge pull request #5377 from tk0miya/4034_fix_download_url2
Fix #2720, #4034: Incorrect links with ``:download:``, duplicate names, and parallel builds
2018-09-06 18:24:42 +09:00
Takeshi KOMIYA
9553453424
Merge pull request #5386 from tk0miya/add_IndexEntriesMigrator
refactor: Add IndexEntriesMigrator to simplify
2018-09-06 02:05:54 +09:00
Takeshi KOMIYA
a2d5c79114
Merge branch '1.8' into 4034_fix_download_url2 2018-09-06 02:00:37 +09:00
Takeshi KOMIYA
811d23fa4d
Merge pull request #5383 from tk0miya/fix_ImportError_is_replaced
Fix autodoc: ImportError is replaced by AttributeError for deeper module
2018-09-06 01:54:24 +09:00
Takeshi KOMIYA
df8e1a4cbc Update CHANGES for PR #5388 2018-09-06 01:09:40 +09:00
Takeshi KOMIYA
750e037ce6
Merge pull request #5388 from lamby/reproducbible-frozenset
Ensure frozen object descriptions are reproducible
2018-09-06 01:08:32 +09:00
Takeshi KOMIYA
28e05b131e
Merge branch '1.8' into fix_ImportError_is_replaced 2018-09-06 00:09:45 +09:00
Takeshi KOMIYA
f7e556c1db
Merge pull request #5376 from tk0miya/2401_members_conflicts_with_special_members
Fix #2401: autodoc: ``:members:`` causes ``:special-members:`` not to be shown
2018-09-06 00:06:25 +09:00
Chris Lamb
17d32d625b Ensure frozenset object descriptions are reproducible
Whilst working on the Reproducible Builds effort [0], we noticed
that sphinx could generate output that is not reproducible.

In particular, the rendering of `frozenset` objects in default
arguments and elsewhere is currently non-determinstic.

For example:

    frozenset(['a', 'b', 'c'])

Might be rendered as any of:

    frozenset({'a', 'b', 'c'})
    frozenset({'a', 'c', 'b'})
    frozenset({'b', 'a', 'c'})
    frozenset({'b', 'c', 'a'})
    frozenset({'c', 'a', 'b'})
    frozenset({'c', 'b', 'a'})

Patch attached that sorts the contents of frozensets whilst rendering.
This is parallel to the `dict` and `set` type logic

  [0] https://reproducible-builds.org/
2018-09-05 15:58:54 +01:00
Takeshi KOMIYA
342de4f0fd Merge branch '1.8' 2018-09-05 23:10:20 +09:00
Takeshi KOMIYA
3d35723f6d Merge branch '1.7' into 1.8 2018-09-05 23:09:48 +09:00
Takeshi KOMIYA
403f7edb17 Bump version 2018-09-05 23:07:09 +09:00
Takeshi KOMIYA
1cd87a11ef Bump to 1.7.9 final 2018-09-05 23:05:02 +09:00
Takeshi KOMIYA
c9826fe676
Merge branch '1.8' into 2401_members_conflicts_with_special_members 2018-09-05 23:00:13 +09:00
Takeshi KOMIYA
c67c08fc7b
Merge pull request #5374 from tk0miya/4379_toctree_and_exclude_patterns
Fix #4379: toctree shows confusible warning when document is excluded
2018-09-05 22:57:28 +09:00
Takeshi KOMIYA
aa3e590d5e
Merge pull request #5370 from tk0miya/drop_deprecated_methods
Drop APIs deprecated in 2.0
2018-09-05 22:56:02 +09:00
Takeshi KOMIYA
79de756423
Merge pull request #5342 from tk0miya/drop_py2_support
Update requirements and dependencies for Sphinx-2.0
2018-09-05 22:55:07 +09:00
Takeshi KOMIYA
80f5371928 refactor: Add IndexEntriesMigrator to simplify 2018-09-04 01:20:34 +09:00
Takeshi KOMIYA
abcb5bd5ec The default setting for master_doc is changed to 'index' 2018-09-04 01:14:16 +09:00
Takeshi KOMIYA
e07731e7b1 Fix autodoc: ImportError is replaced by AttributeError for deeper module 2018-09-03 22:49:01 +09:00
Takeshi KOMIYA
bb29813dc8
Merge pull request #5381 from TAKEDA-Takashi/fix-docs-mecabsplitter
docs: Fix wrong name of MecabSplitter
2018-09-03 22:36:08 +09:00
TAKEDA-Takashi
683cccac4d docs: Fix wrong name of MecabSplitter 2018-09-03 16:18:24 +09:00
Takeshi KOMIYA
daac35cda7 doc: Add versionadded label (refs: #5029) 2018-09-03 10:46:38 +09:00
Takeshi KOMIYA
bd7c28f471 Fix #5127: quickstart: `Makefile and make.bat` are not overwritten if exists 2018-09-03 01:36:18 +09:00
Takeshi KOMIYA
06aa1a7864 Fix #2401: autodoc: `:members: causes :special-members:` not to be shown 2018-09-03 01:26:31 +09:00
Takeshi KOMIYA
34cc1b5c95 Fix #2720, #4034: Incorrect links with `:download:`, duplicate names, and parallel builds 2018-09-03 01:01:55 +09:00
Takeshi KOMIYA
a7cab001d9 Drop APIs deprecated in 2.0 2018-09-03 00:31:33 +09:00
Takeshi KOMIYA
ecb1e21a58
Merge pull request #5372 from tk0miya/refactor_set.union
refactor: Use set.union() to combine set objects
2018-09-02 22:44:25 +09:00
Takeshi KOMIYA
86a43b0119 Fix #4379: toctree shows confusible warning when document is excluded 2018-09-02 20:27:39 +09:00
Takeshi KOMIYA
c6e0d92d10 Fix CHANGES 2018-09-02 20:27:15 +09:00
Takeshi KOMIYA
9d7b1b756a refactor: Use set.union() to combine set objects 2018-09-02 19:12:56 +09:00
Takeshi KOMIYA
855ebfbbf5
Merge pull request #5371 from tk0miya/5282_testcase_for_pygments
testcases and CHANGES for #5282
2018-09-02 17:19:25 +09:00
Takeshi KOMIYA
a1f36202c0 Update CHANGES for #5282 2018-09-02 16:21:04 +09:00
Takeshi KOMIYA
219f024595 Add testcase for pygments 2018-09-02 16:17:02 +09:00
Takeshi KOMIYA
1082806c4a
Merge pull request #5282 from schettino72/quickstart-pygments-style-none
quickstart: set conf.py pygments_style value to None
2018-09-02 16:16:00 +09:00
Takeshi KOMIYA
96e1c70b39
Merge pull request #5363 from tk0miya/5361_crashed_on_incremental_build
Fix #5361: crashed on incremental build if document uses include directive
2018-09-01 12:43:33 +09:00
Takeshi KOMIYA
5e22ff9045 Fix #5361: crashed on incremental build if document uses include directive 2018-09-01 12:05:15 +09:00
Takeshi KOMIYA
36a9c813e6 Update CHANGES for PR #5359 2018-08-30 23:47:02 +09:00
Takeshi KOMIYA
a58a64a863
Merge pull request #5359 from mitya57/reproducible-texinfo
Make generated texinfo files reproducible by sorting the anchors
2018-08-30 23:46:10 +09:00
Dmitry Shachnev
561199e5e8 Make generated texinfo files reproducible by sorting the anchors 2018-08-30 13:03:49 +03:00