Commit Graph

15865 Commits

Author SHA1 Message Date
Robert Cohn
c08214fe92 add parallel to SphinxTestApp 2020-09-30 20:47:56 -04:00
Takeshi KOMIYA
d8c006f1c0
Merge pull request #8225 from tk0miya/8175_intersphinx_redos
Fix #8175: intersphinx: Potential of regex denial of service by inventory
2020-09-29 01:58:07 +09:00
Takeshi KOMIYA
3f584155a5 Update CHANGES for PR #8239 2020-09-28 01:41:49 +09:00
Takeshi KOMIYA
574b3da4fb
Merge pull request #8239 from silene/fix_productionlist_references
Fix references to production names.
2020-09-28 01:39:16 +09:00
Takeshi KOMIYA
f7b872e673 Fix #8175: intersphinx: Potential of regex denial of service by inventory 2020-09-28 01:35:09 +09:00
Takeshi KOMIYA
a81c45367a
Merge pull request #8224 from tk0miya/8172_napoleon_redos
Fix #8172: napoleon: Potential of regex denial of service in google style docs
2020-09-28 01:27:57 +09:00
Takeshi KOMIYA
f6ae4dd4ed
Merge branch '3.x' into 8172_napoleon_redos 2020-09-28 01:15:40 +09:00
Takeshi KOMIYA
054dc5d5df
Merge pull request #8240 from nathanshammah/mitiq
Add mitiq to list of libraries using Sphinx
2020-09-27 15:59:34 +09:00
Nathan Shammah
189406f65b add mitiq to examples 2020-09-23 19:53:47 +02:00
Guillaume Melquiond
d0ba4f8d44 Strip the token name from productionlist.
When the user tries to align production rules, Sphinx gets confused by
spaces around leading tokens. In the following, references to mygroup:bad1
and mygroup:bad2 are missing, while the one to mygroup:correct is present.

    .. productionlist:: mygroup
       correct: `correct` | `bad1` | `bad2`
       bad1   : `correct` | `bad1` | `bad2`
          bad2: `correct` | `bad1` | `bad2`

Since it is useful to be able to align colons in a production list, this
commit systematically strips leading and trailing whitespaces from the
production name.
2020-09-23 18:48:57 +02:00
Takeshi KOMIYA
9dd416460c
Merge pull request #8227 from bdice/patch-1
Fix typo in autodoc docs.
2020-09-21 09:52:25 +09:00
Bradley Dice
a0116eaa58
Fix typo: anchestor -> ancestor. 2020-09-20 17:36:01 -05:00
Takeshi KOMIYA
17ef17b1ef
Merge pull request #8086 from tk0miya/8081_support_adding_latex_package_in_latter_phase
Close #8081: latex: Allow to add LaTeX package until writing tex file
2020-09-21 01:40:07 +09:00
Takeshi KOMIYA
28a7040f7b
Merge pull request #8202 from tk0miya/8190_autodoc-process-docstring-without_ending_blankline
Fix #8190: autodoc: parse error for docstring w/o ending blank lines
2020-09-21 01:02:04 +09:00
Takeshi KOMIYA
5ef4825b57 Close #8081: latex: Allow to add LaTeX package until writing tex file
This postpones the evaluation of LaTeX packages via
``app.add_latex_package()`` to just before writing .tex file.  That
allows extensions to add LaTeX packages during reading and resolving
phase.
2020-09-21 01:01:49 +09:00
Takeshi KOMIYA
b454d4e4b0
Merge branch '3.x' into 8190_autodoc-process-docstring-without_ending_blankline 2020-09-21 00:49:23 +09:00
Takeshi KOMIYA
3c017dcdee
Merge pull request #8206 from tk0miya/6169_pxjahyper_is_loaded_for_non_platex
Fix #8169: LaTeX: pxjahyper loaded even when latex_engine is not platex
2020-09-21 00:43:38 +09:00
Takeshi KOMIYA
d24d380421
Merge pull request #8147 from return007/only-builtin-classes-inheritance-diagram
Fixes #8146: When identifying bases, only use classes from builtins
2020-09-20 18:02:10 +09:00
Takeshi KOMIYA
f00e75278c Fix #8172: napoleon: Potential of regex denial of service in google style docs 2020-09-20 17:34:49 +09:00
Jakob Lykke Andersen
008d0201e1
Merge pull request #8207 from jakobandersen/c_alias_recursive
C, recursive alias declarations
2020-09-15 19:51:16 +02:00
Takeshi KOMIYA
000210e7c2
Merge pull request #8111 from tk0miya/8103_cached_property
Fix #8103: autodoc: cached_property is not considered as a property
2020-09-16 00:58:11 +09:00
Jakob Lykke Andersen
500f45fd4c C, recursive alias declarations
Fixes sphinx-doc/sphinx#8141
2020-09-13 16:37:53 +02:00
Takeshi KOMIYA
564a577a4a Fix #8169: LaTeX: pxjahyper loaded even when latex_engine is not platex 2020-09-13 11:10:33 +09:00
Takeshi KOMIYA
dfbe687db6
Merge branch '3.x' into 8103_cached_property 2020-09-13 11:07:33 +09:00
Takeshi KOMIYA
1d0b424898
Merge pull request #8112 from tk0miya/8100_better_error_for_html_static_files
Close #8100: html: Show a better error message for html_static_files
2020-09-13 11:06:41 +09:00
Takeshi KOMIYA
0b44e68d4f Merge branch '3.2.x' into 3.x 2020-09-13 10:51:15 +09:00
Takeshi KOMIYA
b5dc3adf66
Merge pull request #8205 from tk0miya/test_with_pygments270
Fix our test failed with pygments-2.7.0
2020-09-13 10:50:50 +09:00
Takeshi KOMIYA
85b24a2e88 Fix our test failed with pygments-2.7.0
Since pygments-2.7.0, it has changed the style of output HTML.
That makes our test broken.  This fixes it to pass with new pygments.
2020-09-13 10:42:07 +09:00
Takeshi KOMIYA
be714fa75b
Merge pull request #8177 from sphinx-doc/dependabot/npm_and_yarn/http-proxy-1.18.1
Bump http-proxy from 1.17.0 to 1.18.1
2020-09-13 01:42:26 +09:00
Takeshi KOMIYA
5b226b9c87
Merge pull request #8193 from tk0miya/8192_napoleon_removes_description
Fix #8192: napoleon: description is disappeared by inline literals
2020-09-13 01:41:43 +09:00
Takeshi KOMIYA
c05c1320fa
Merge pull request #8174 from tk0miya/8163_update_warning
Fix #8163: Update warning message for :dedent: option
2020-09-13 01:41:03 +09:00
Jakob Lykke Andersen
59766c2351 Update CHANGES after PR 2020-09-12 14:33:57 +02:00
Jakob Lykke Andersen
46a6b0848b
Merge pull request #8188 from utzig/fix-c-domain-intersphinx
domains: c: add missing intersphinx object types
2020-09-12 14:32:01 +02:00
Takeshi KOMIYA
fd3d654c17 Fix #8190: autodoc: parse error for docstring w/o ending blank lines
autodoc raises a parsing error if some extension generates a docstring
not having blank lines at the tail.  This appends a blank line if
generated one does not contain it.
2020-09-12 16:04:41 +09:00
Takeshi KOMIYA
42bfed2cb3 Fix #8192: napoleon: description is disappeared by inline literals
The napoloen wrongly parses a parameter definition because regexp
matches literal string by longest match unexpectedly.
2020-09-10 22:34:38 +09:00
Fabio Utzig
8c4193027b domains: c: add missing intersphinx object types
For intersphinx to be able to resolve references to C-Domain objects, it
needs to have them declared in the obj_types dict. This is currently
missing enum, enumerator, struct and union so those can't be referenced
by an external project. This commit fixes the issue by adding them.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-09-09 09:46:46 -03:00
Jakob Lykke Andersen
07374d95c1
Merge pull request #8187 from utzig/fix-typos
domains: c: cpp: fix typos
2020-09-09 14:24:27 +02:00
Fabio Utzig
8d882e4737 domains: c: cpp: fix typos
Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-09-09 08:33:12 -03:00
dependabot[bot]
1e5231d523
Bump http-proxy from 1.17.0 to 1.18.1
Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.17.0 to 1.18.1.
- [Release notes](https://github.com/http-party/node-http-proxy/releases)
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/http-party/node-http-proxy/compare/1.17.0...1.18.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-06 01:30:34 +00:00
Takeshi KOMIYA
d78306c7f9 Fix #8163: Update warning message for :dedent: option 2020-09-05 18:52:59 +09:00
Takeshi KOMIYA
31f26a0bbf
Merge pull request #8171 from pdecat/patch-1
Fix some broken links
2020-09-04 02:49:02 +09:00
Patrick Decat
7a3170b77a Fix some broken links 2020-09-03 15:22:50 +02:00
Takeshi KOMIYA
adb81c510a
Merge pull request #8162 from faaxm/docs-fix-typo
Fixes minor typo in quickstart.rst
2020-09-02 23:26:41 +09:00
Falko Axmann
849ef212bc Fixes minor typo in quickstart.rst 2020-08-30 14:39:20 +02:00
Takeshi KOMIYA
a16cca27ef
Merge pull request #8144 from tk0miya/8143_autodoc_default_value_False
Fix #8143: AttributeError if autodoc_default_options contains False
2020-08-30 06:21:18 +09:00
Takeshi KOMIYA
03f2c7fc51
Merge pull request #8149 from kai687/patch-1
Fix comment end string in LaTeXRenderer
2020-08-30 06:20:40 +09:00
Takeshi KOMIYA
832c0c0621
Merge pull request #8153 from domdfcoding/fix-typos
Fix typos
2020-08-30 06:19:24 +09:00
Dominic Davis-Foster
2b646082d7 Fix typo'd comment in SphinxComponentRegistry.add_html_math_renderer() 2020-08-25 13:49:12 +01:00
Dominic Davis-Foster
05ad7e8020 Fix typo in warning emitted from Sphinx.add_lexer() 2020-08-25 13:48:17 +01:00
Kai Welke
6b87b8030c
Fix comment end string in LaTeXRenderer
Fix bug introduced by commit 5f82825e27 in `self.env.comment_end_string`
2020-08-23 09:29:56 +02:00