Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-03-22 | refactor: Use PEP-526 based variable annotation (sphinx.domains) | Takeshi KOMIYA | |
2021-03-15 | Merge pull request #8991 from tk0miya/typing_OptionSpec | Takeshi KOMIYA | |
refactor: Add a type alias for the option_spec of directives; OptionSpec | |||
2021-03-14 | Merge pull request #8996 from tk0miya/7119_pending_xref_conditions | Takeshi KOMIYA | |
Fix #7119: autodoc: Broken doctree was generated by builtin_resolver | |||
2021-03-14 | Avoid a mypy warning | Takeshi KOMIYA | |
2021-03-14 | Merge pull request #8999 from jakobandersen/c_cpp_render_fixes | Jakob Lykke Andersen | |
C, C++ render fixes | |||
2021-03-14 | C, fix linking of names in array declarators | Jakob Lykke Andersen | |
2021-03-14 | C++, fix linking in some declarators | Jakob Lykke Andersen | |
2021-03-13 | C++, always try to resolve name in sizeof... | Jakob Lykke Andersen | |
2021-03-13 | Fix #7119: autodoc: Broken doctree was generated by builtin_resolver | Takeshi KOMIYA | |
The builtin_resolver() generates broken doctree unexpectedly if it contains pending_xref_condition nodes. | |||
2021-03-13 | refactor: Add a type alias for the option_spec of directives; OptionSpec | Takeshi KOMIYA | |
2021-03-10 | py domain: Add py:property directive to describe a property (refs: #7068) | Takeshi KOMIYA | |
2021-03-06 | Merge pull request #8432 from tk0miya/7119_pending_xref_condition | Takeshi KOMIYA | |
Fix #7119: Show type hint names unqualified when resolving succeeded | |||
2021-03-06 | Fix #7199: py domain: Add a new confval: python_use_unqualified_type_names | Takeshi KOMIYA | |
Add a new config variable: python_use_unqualified_type_names. If enabled, it goes to suppress the module name of the python reference if it can be resolved. | |||
2021-03-04 | C and C++, fix nested paramter lists | Jakob Lykke Andersen | |
2021-03-02 | C++, support spaceship operator | Jakob Lykke Andersen | |
Fixes sphinx-doc/sphinx#8942 | |||
2021-02-24 | C, remove more dead code | Jakob Lykke Andersen | |
2021-02-24 | C, remove dead code | Jakob Lykke Andersen | |
2021-02-24 | C, properly error on keywords as function parameters | Jakob Lykke Andersen | |
2021-02-19 | C++, cpp_index_common_prefix remove longest | Jakob Lykke Andersen | |
Fixes sphinx-doc/sphinx#8911 | |||
2021-02-12 | Merge branch '3.x' | jfbu | |
2021-02-12 | mypy fixes | Jakob Lykke Andersen | |
2021-02-12 | C++, add noroot option to alias directive | Jakob Lykke Andersen | |
2021-02-12 | C, add noroot option to alias directive | Jakob Lykke Andersen | |
2021-02-12 | C++, add recursiveness to alias | Jakob Lykke Andersen | |
Fixes sphinx-doc/sphinx#8213 in the most basic way. | |||
2021-02-12 | C, fixes for alias directive | Jakob Lykke Andersen | |
2021-02-03 | refactor: py domain: Put if-block for ast.Constant to the root level | Takeshi KOMIYA | |
2021-02-03 | Re-insert if isinstance(node, ast.Constant): into py _parse_annotation | jfbu | |
As master drop python 3.5 support, conditional if sys.version_info >= (3, 6): not needed anymore. This hunk had got lost in merge. modified: sphinx/domains/python.py | |||
2021-02-02 | Merge branch '3.x' into master_with_merged_3.x | jfbu | |
2021-02-01 | py domain: Support type union operator (PEP-604) (refs: #8775) | Takeshi KOMIYA | |
Upgrade annotation parser for python domain to support type union operator introduced in PEP-604. It's available on all python interpreters. | |||
2021-01-27 | Merge branch '3.x' | Takeshi KOMIYA | |
2021-01-24 | Close #7642: std domain: Optimize case-insensitive match of term | Takeshi KOMIYA | |
Since 3.0.1, the term role has matched to the words in glossary case-sensitively. It's important change for preventing conflicts by word cases. But, it also brings a problem for references in natural text. This optimizes the case-insensitive match of the term role. It allows to search glossary words twice with no performance penalty; the first search is case sensitive and another is case insenstive. | |||
2021-01-24 | Merge branch '3.x' | Takeshi KOMIYA | |
2021-01-23 | Merge pull request #8247 from silene/inter_prodlist_refs | Takeshi KOMIYA | |
Allow production lists to refer to tokens from other production groups. | |||
2021-01-23 | refactor: Index class becomes subclasses of abc.ABC | Takeshi KOMIYA | |
The `Index` class becomes subclasses of `abc.ABC` to indicate methods that must be overrided in the concrete classes. | |||
2021-01-22 | Merge branch '3.x' | Takeshi KOMIYA | |
2021-01-22 | Merge branch '3.4.x' into 3.x | Takeshi KOMIYA | |
2021-01-20 | Allow production lists to refer to tokens from other production groups. | Guillaume Melquiond | |
Outside production lists, syntax "`foo:bar`" already makes it possible to refer to the production "bar" of group "foo". This commit offers the same feature inside production lists. Similarly to the reference syntax, prefixing with a tilde prevents the group from being displayed. This commit also makes it possible to use "`:bar`" to refer to production "bar" from a production list without a group name. This is especially useful when one has a main (unnamed) grammar and one or several named extensions that need to refer to it. | |||
2021-01-19 | C++, also hyperlink operators in expr and alias | Jakob Lykke Andersen | |
2021-01-16 | Merge branch '3.x' | Takeshi KOMIYA | |
2021-01-12 | Merge pull request #8679 from tk0miya/8651_xref_for_rubric | Takeshi KOMIYA | |
Fix #8651: cross-reference for a rubric having inline item is broken | |||
2021-01-11 | C++, fix object types for xrefs | Jakob Lykke Andersen | |
Make them all work with intersphinx. Strengthen templateParam a bit. | |||
2021-01-11 | C, fix object types for xrefs | Jakob Lykke Andersen | |
Add 'identifer' to all and 'type' to types. Fixes sphinx-doc/sphinx#8341 | |||
2021-01-11 | Fix #8651: cross-reference for a rubric having inline item is broken | Takeshi KOMIYA | |
The implementation of the standard domain so far has considered the first child of the rubric node is the title of the rubric. But it can may multiple nodes when the rubric title is marked up. This extracts the title of the rubric from the whole of the children of it. | |||
2021-01-10 | C, fix namespace lookup for expr role | Jakob Lykke Andersen | |
2021-01-07 | Merge branch '3.x' | Takeshi KOMIYA | |
2021-01-06 | Close #6241: html: Allow to add JS/CSS files to the specific page | Takeshi KOMIYA | |
Allow to add JS/CSS files to the specific page when an extension calls `app.add_js_file()` or `app.add_css_file()` on `html-page-context` event. | |||
2021-01-03 | refactor: Update typehints for ObjectDescription using Generic | Takeshi KOMIYA | |
2021-01-01 | Close #5977: :var: field do not create a cross-reference | Takeshi KOMIYA | |
Since its beginning, `:var:` field has created a cross-reference to the attribute having the same name. It is meaningful only if the attribute is documented by `py:attribute` directive. It means the `:var:` field and `:attr:` role are almost the same and conflicted. Additionally, the cross-reference points incorrect variable if the target is not documented. Thus, the cross-reference feature of `:var:` field is disabled. | |||
2021-01-01 | Merge branch '3.x' | Takeshi KOMIYA | |
2021-01-01 | A happy new year! | Takeshi KOMIYA | |
.. note:: $ find sphinx tests LICENSE doc/conf.py -type f -exec sed -i '' -e 's/2007\-20../2007-2021/' {} \; $ git co sphinx/locale/**/*.js sphinx/templates/epub3/mimetype |