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-02-09Update type annotationsTakeshi KOMIYA
2021-01-16Merge branch '3.x'Takeshi KOMIYA
2021-01-10Fix #8652: autodoc: variable comments are ignored if invalid type comments foundTakeshi KOMIYA
To avoid the crash of ModuleAnalyzer from invalid type comments, this start to retry parsing without type_comments=False when `ast.parse()` raises SyntaxError.
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
2020-12-13Merge branch '3.x'Takeshi KOMIYA
2020-11-25Fix pycode becomes slowTakeshi KOMIYA
On the renaming ModuleAnalyzer.parse(), I overlooked renaming a flag.
2020-11-24Fix flake8 warningsTakeshi KOMIYA
2020-11-22Merge branch '3.x'Takeshi KOMIYA
2020-11-21Rename ModuleAnalyzer.parse() to analyze()Takeshi KOMIYA
The word "analyze" is much appropriate for "ModuleAnalyzer" instead of "parse".
2020-11-11Merge branch '3.x'Takeshi KOMIYA
2020-11-11Merge pull request #8408 from francoisfreitag/isortTakeshi KOMIYA
Sort imports with isort
2020-11-11Sort imports with isortFrançois Freitag
Keep imports alphabetically sorted and their order homogeneous across Python source files. The isort project has more feature and is more active than the flake8-import-order plugin. Most issues caught were simply import ordering from the same module. Where imports were purposefully placed out of order, tag with isort:skip.
2020-11-10Merge branch '3.x'Takeshi KOMIYA
2020-11-08Fix #8372: autodoc: autoclass directive became slower than Sphinx-3.2Takeshi KOMIYA
* The result of ModuleAnalyzer.parse() is not cached * autodoc tries to search overloaded constructor methods to the root class even if a definition found
2020-11-07Fix flake8 issueFrançois Freitag
2020-11-05Drop code for supporting py35Takeshi KOMIYA
2020-10-24Fix mypy violationsTakeshi KOMIYA
2020-10-24Merge branch '3.x'Takeshi KOMIYA
2020-10-04pycode: ast.unparse() construct number literals using source codeTakeshi KOMIYA
Developers can write number literals in several ways. For example, decimal (1234), hexadecimal (0x1234), octal decimal (0o1234) and so on. But, AST module don't mind how the numbers written in the code. As a result, ast.unparse() could not reproduce the original form of number literals. This allows to construct number literals as possible using original source code. Note: This is only available in Python 3.8+.
2020-10-04Merge branch '3.x' into masterTakeshi KOMIYA
2020-10-03Fix #7964: autodoc: Tuple in default value is wrongly renderedTakeshi KOMIYA
This implements tuple literal support to sphinx.pycode.ast.unparse().
2020-07-24Merge branch '3.x'Takeshi KOMIYA
2020-07-19refactor: pycode: Use OrderedDict to store variable commentsTakeshi KOMIYA
It is worthy to keep the order of analyzer.attr_docs to generate document in reproducible. So this uses OrderedDict explicitly to do that. It also helps python3.5 environment.
2020-07-04Merge branch '3.x'Takeshi KOMIYA
2020-07-04Merge tag 'v3.1.1'Takeshi KOMIYA
2020-07-04Merge tag 'v3.1.0'Takeshi KOMIYA
2020-06-28Merge pull request #7832 from cool-RR/2020-06-11-raise-fromTakeshi KOMIYA
Fix exception causes all over the codebase
2020-06-14Fix exception causes all over the codebaseRam Rachum
2020-06-09FIX: Fix circular import problemEric Larson
2020-05-31pycode: Detect @overload decoratorsTakeshi KOMIYA
2020-05-26refactor pycode: sort methodsTakeshi KOMIYA
2020-05-26Fix a mypy violationTakeshi KOMIYA
2020-05-17Merge branch '3.x'Takeshi KOMIYA
2020-05-07Merge branch '3.x' into 7497Takeshi KOMIYA
2020-05-07refactor: Sort visitor methods of _UnparseVisitorTakeshi KOMIYA
2020-05-03Add stacklevel parameter to warnings.warn() callTakeshi KOMIYA
2020-05-02refactor: Update type annotationsTakeshi KOMIYA
2020-04-30Merge branch '3.x'Takeshi KOMIYA
2020-04-29Remove deprecated features marked as RemovedInSphinx40WarningTakeshi KOMIYA
2020-04-27Merge branch '3.x'Takeshi KOMIYA
2020-04-27pycode: Detect @final decoratorsTakeshi KOMIYA
2020-04-26Merge branch '3.x'Takeshi KOMIYA
2020-04-26refactor: pycode: visit_ImportTakeshi KOMIYA
2020-04-26pycode: Fix wrong type annotationTakeshi KOMIYA
2020-04-26refactor: pycode: Add VariableCommentPicker.get_qualname_for()Takeshi KOMIYA
2020-04-19refactor: Add Optional to type annotationsTakeshi KOMIYA
2020-04-18Merge branch '3.x'Takeshi KOMIYA
2020-04-17Group together methods that relate to a python 3.8 deprecationEric Wieser
This will make it easier to remove them all at once in future
2020-04-17Rewrite unparse to use ast.NodeVisitorEric Wieser
This should make it possible to reuse the same visitor to generate RST code.