Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-22refactor: Use PEP-526 based variable annotation (sphinx.domains)Takeshi KOMIYA
2021-03-15Merge pull request #8991 from tk0miya/typing_OptionSpecTakeshi KOMIYA
refactor: Add a type alias for the option_spec of directives; OptionSpec
2021-03-14Merge pull request #8996 from tk0miya/7119_pending_xref_conditionsTakeshi KOMIYA
Fix #7119: autodoc: Broken doctree was generated by builtin_resolver
2021-03-14Avoid a mypy warningTakeshi KOMIYA
2021-03-14Merge pull request #8999 from jakobandersen/c_cpp_render_fixesJakob Lykke Andersen
C, C++ render fixes
2021-03-14C, fix linking of names in array declaratorsJakob Lykke Andersen
2021-03-14C++, fix linking in some declaratorsJakob Lykke Andersen
2021-03-13C++, always try to resolve name in sizeof...Jakob Lykke Andersen
2021-03-13Fix #7119: autodoc: Broken doctree was generated by builtin_resolverTakeshi KOMIYA
The builtin_resolver() generates broken doctree unexpectedly if it contains pending_xref_condition nodes.
2021-03-13refactor: Add a type alias for the option_spec of directives; OptionSpecTakeshi KOMIYA
2021-03-10py domain: Add py:property directive to describe a property (refs: #7068)Takeshi KOMIYA
2021-03-06Merge pull request #8432 from tk0miya/7119_pending_xref_conditionTakeshi KOMIYA
Fix #7119: Show type hint names unqualified when resolving succeeded
2021-03-06Fix #7199: py domain: Add a new confval: python_use_unqualified_type_namesTakeshi 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-04C and C++, fix nested paramter listsJakob Lykke Andersen
2021-03-02C++, support spaceship operatorJakob Lykke Andersen
Fixes sphinx-doc/sphinx#8942
2021-02-24C, remove more dead codeJakob Lykke Andersen
2021-02-24C, remove dead codeJakob Lykke Andersen
2021-02-24C, properly error on keywords as function parametersJakob Lykke Andersen
2021-02-19C++, cpp_index_common_prefix remove longestJakob Lykke Andersen
Fixes sphinx-doc/sphinx#8911
2021-02-12Merge branch '3.x'jfbu
2021-02-12mypy fixesJakob Lykke Andersen
2021-02-12C++, add noroot option to alias directiveJakob Lykke Andersen
2021-02-12C, add noroot option to alias directiveJakob Lykke Andersen
2021-02-12C++, add recursiveness to aliasJakob Lykke Andersen
Fixes sphinx-doc/sphinx#8213 in the most basic way.
2021-02-12C, fixes for alias directiveJakob Lykke Andersen
2021-02-03refactor: py domain: Put if-block for ast.Constant to the root levelTakeshi KOMIYA
2021-02-03Re-insert if isinstance(node, ast.Constant): into py _parse_annotationjfbu
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-02Merge branch '3.x' into master_with_merged_3.xjfbu
2021-02-01py 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-27Merge branch '3.x'Takeshi KOMIYA
2021-01-24Close #7642: std domain: Optimize case-insensitive match of termTakeshi 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-24Merge branch '3.x'Takeshi KOMIYA
2021-01-23Merge pull request #8247 from silene/inter_prodlist_refsTakeshi KOMIYA
Allow production lists to refer to tokens from other production groups.
2021-01-23refactor: Index class becomes subclasses of abc.ABCTakeshi KOMIYA
The `Index` class becomes subclasses of `abc.ABC` to indicate methods that must be overrided in the concrete classes.
2021-01-22Merge branch '3.x'Takeshi KOMIYA
2021-01-22Merge branch '3.4.x' into 3.xTakeshi KOMIYA
2021-01-20Allow 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-19C++, also hyperlink operators in expr and aliasJakob Lykke Andersen
2021-01-16Merge branch '3.x'Takeshi KOMIYA
2021-01-12Merge pull request #8679 from tk0miya/8651_xref_for_rubricTakeshi KOMIYA
Fix #8651: cross-reference for a rubric having inline item is broken
2021-01-11C++, fix object types for xrefsJakob Lykke Andersen
Make them all work with intersphinx. Strengthen templateParam a bit.
2021-01-11C, fix object types for xrefsJakob Lykke Andersen
Add 'identifer' to all and 'type' to types. Fixes sphinx-doc/sphinx#8341
2021-01-11Fix #8651: cross-reference for a rubric having inline item is brokenTakeshi 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-10C, fix namespace lookup for expr roleJakob Lykke Andersen
2021-01-07Merge branch '3.x'Takeshi KOMIYA
2021-01-06Close #6241: html: Allow to add JS/CSS files to the specific pageTakeshi 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-03refactor: Update typehints for ObjectDescription using GenericTakeshi KOMIYA
2021-01-01Close #5977: :var: field do not create a cross-referenceTakeshi 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-01Merge branch '3.x'Takeshi KOMIYA
2021-01-01A 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