summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8797 from jfbu/latex_sphinxsafeincludegraphics_corebug3.4.xTakeshi KOMIYA2021-01-312-1/+3
|\ | | | | Latex sphinxsafeincludegraphics corebug
| * Update CHANGESjfbu2021-01-311-0/+2
| |
| * Fix #8796: define \spx@image@box as a box not a dimen!jfbu2021-01-311-1/+1
|/ | | | This bug was introduced at 2.0 (commit 669f9c3a) (sorry)
* Merge pull request #8728 from tk0miya/mypy-0.800Takeshi KOMIYA2021-01-223-4/+4
|\ | | | | Fix mypy violations (with mypy-0.800)
| * Fix mypy violations (with mypy-0.800)Takeshi KOMIYA2021-01-223-4/+4
|/
* Merge pull request #8668 from jakobandersen/c_expr_lookupJakob Lykke Andersen2021-01-104-4/+28
|\ | | | | C, fix namespace lookup for expr role
| * C, fix namespace lookup for expr roleJakob Lykke Andersen2021-01-104-4/+28
|/
* Merge pull request #8661 from tk0miya/update_release_checklistTakeshi KOMIYA2021-01-091-11/+11
|\ | | | | doc: Update branch name in release-checklist
| * doc: Update branch name in release-checklistTakeshi KOMIYA2021-01-081-11/+11
|/
* Bump versionTakeshi KOMIYA2021-01-082-3/+24
|
* Bump to 3.4.3 finalv3.4.3Takeshi KOMIYA2021-01-082-19/+4
|
* Merge pull request #8656 from tk0miya/8655_exception_on_hasattrTakeshi KOMIYA2021-01-072-1/+7
|\ | | | | Fix #8655: autodoc: Crashes when object raises an exception on hasattr()
| * Fix #8655: autodoc: Crashes when object raises an exception on hasattr()Takeshi KOMIYA2021-01-052-1/+7
|/ | | | | | | | | | autodoc crashes when the target object raises an exception on `hasattr()`. The `hasattr()` function internally calls the `obj.__getattr__()` or `obj.__getattribute__()` of the target object. Hence the reaction can be changed on the target object. This starts to use `safe_getattr()` to check the object is mocked or not and to prevent an unexpected error.
* Bump versionTakeshi KOMIYA2021-01-042-3/+24
|
* Bump to 3.4.2 finalv3.4.2Takeshi KOMIYA2021-01-042-19/+4
|
* Merge pull request #8650 from tk0miya/update_release_checklistTakeshi KOMIYA2021-01-041-4/+4
|\ | | | | doc: Quote URLs in release checklist
| * doc: Quote URLs in release checklistTakeshi KOMIYA2021-01-041-4/+4
|/ | | | | To improve the install process, the commands on the checklist is updated to allow to copy & paste it to console.
* Merge pull request #8635 from tk0miya/update_copyrightTakeshi KOMIYA2021-01-01318-318/+318
|\ | | | | A happy new year! (Updating copyright)
| * A happy new year!Takeshi KOMIYA2021-01-01318-318/+318
|/ | | | | | | .. 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
* Merge pull request #8622 from tk0miya/8616_AttributeError_for_non_classTakeshi KOMIYA2020-12-312-1/+7
|\ | | | | Fix #8616: autodoc: AttributeError when non-class is passed to autoclass
| * Merge branch '3.4.x' into 8616_AttributeError_for_non_classTakeshi KOMIYA2020-12-313-2/+39
| |\ | |/ |/|
* | Merge pull request #8611 from ↵Takeshi KOMIYA2020-12-313-2/+39
|\ \ | | | | | | | | | | | | tk0miya/8602_process-docstring_for_nondatadescriptors Fix #8602: autodoc: The ``autodoc-process-docstring`` event is emitted to the non-datadescriptors unexpectedly
| * \ Merge branch '3.4.x' into 8602_process-docstring_for_nondatadescriptorsTakeshi KOMIYA2020-12-3110-4/+95
| |\ \ | |/ / |/| |
| * | Fix #8602: autodoc: The ``autodoc-process-docstring`` event is emitted to ↵Takeshi KOMIYA2020-12-293-2/+40
| | | | | | | | | | | | the non-datadescriptors unexpectedly
| | * Fix #8616: autodoc: AttributeError when non-class is passed to autoclassTakeshi KOMIYA2020-12-302-1/+7
| |/ |/| | | | | | | | | Since 3.4.0, AttributeError is raised when non-class object is passed to the autoclass directive. It has built successfully before 3.4.0 release. So this handles the exception on generating "alias" text.
* | Merge pull request #8612 from tk0miya/reduce_WarningTakeshi KOMIYA2020-12-292-1/+2
|\ \ | | | | | | refactor: Reduce warnings on testing
| * | refactor: Reduce warnings on testingTakeshi KOMIYA2020-12-292-1/+2
|/ /
* | Merge pull request #8607 from tk0miya/8164_subclass_of_mocked_classTakeshi KOMIYA2020-12-298-3/+94
|\ \ | |/ |/| Fix #8164: autodoc: Classes that inherit mocked class are not documented
| * Fix #8164: autodoc: Classes that inherit mocked class are not documentedTakeshi KOMIYA2020-12-295-2/+43
| | | | | | | | | | Use ismock() to check a module member is a mocked or not. It allows not to skip subclasses of mocked class.
| * testing: Add rollback_sysmodules fixture to unload modules after testsTakeshi KOMIYA2020-12-291-0/+12
| |
| * autodoc: Add a helper that checks the object is mocked; ismock()Takeshi KOMIYA2020-12-282-1/+39
|/
* Bump versionTakeshi KOMIYA2020-12-252-3/+24
|
* Bump to 3.4.1 finalv3.4.1Takeshi KOMIYA2020-12-252-19/+4
|
* Merge pull request #8585 from tk0miya/8583_unnecessary_eqTakeshi KOMIYA2020-12-242-1/+2
|\ | | | | Fix #8583: autodoc: Unnecessary object comparision via ``__eq__`` method
| * Fix #8583: autodoc: Unnecessary object comparision via ``__eq__`` methodTakeshi KOMIYA2020-12-242-1/+2
|/ | | | It should be compared by `is` keyword instead.
* Merge pull request #8581 from ↵Takeshi KOMIYA2020-12-242-6/+11
|\ | | | | | | | | tk0miya/8566_autodoc_process_docstring_for_alias_classes Fix #8566: autodoc-process-docstring is emitted to the alias classes
| * Fix #8566: autodoc-process-docstring is emitted to the alias classesTakeshi KOMIYA2020-12-242-6/+11
|/ | | | | | | | | | | | On the refactoring of Documenter.add_content() method, the autodoc-process-docstring event is emitted to the alias classes (called as doc_as_attr in our code) unexpectedly. Before the change, it has never been emitted. The event causes that extensions (ex. numpydoc) confused. So this reverts the change temporarily (during 3.4.x). refs: https://github.com/sphinx-doc/sphinx/pull/8533
* Merge pull request #8579 from francoisfreitag/fix-queueTakeshi KOMIYA2020-12-235-3/+57
|\ | | | | Ensure linkcheck items are comparable
| * Ensure linkcheck items are comparableFrançois Freitag2020-12-225-3/+57
|/ | | | | | | | | | | | | | | | | | | Linkcheck organizes the URLs to checks in a PriorityQueue. The items are tuples (priority, url, docname, lineno). Tuples where the lineno is `None` are not comparable with tuples that have an integer lineno, and PriorityQueue items must be comparable (see https://bugs.python.org/issue31145). Fixes an issue when a document contains two links to the same URL, one with an int line number and the other without line number metadata (such as an image :target: attribute). Using 0 instead of None to represent no line number should not lead to observable changes, the result logger only logs the line number when it is truthy. Close #8565
* Merge pull request #8571 from tk0miya/8567_wrong_ivars_in_parent_classTakeshi KOMIYA2020-12-223-4/+11
|\ | | | | Fix #8567: autodoc: Instance attributes are incorrectly added to Parent class
| * Fix #8567: autodoc: Instance attributes are incorrectly added to Parent classTakeshi KOMIYA2020-12-223-4/+11
|/ | | | | | | The instance attributes on subclasses are shown on the document of parent class unexpectedly because of autodoc modifies `__annotations__` in place. This fix creates a copy of `__annotations__` attribute and attach it to the subclass.
* Merge pull request #8570 from tk0miya/8569_getslots_TypeErrorTakeshi KOMIYA2020-12-223-1/+3
|\ | | | | Fixes #8568. Ignore TypeError from getslots in isslotsattribute
| * Update CHANGES for PR #8569Takeshi KOMIYA2020-12-221-0/+1
| |
| * doc: Update docstring of getslots()Takeshi KOMIYA2020-12-221-0/+1
| |
| * Fixes #8568. Ignore TypeError from getslots in isslotsattributeRafal Wojdyla2020-12-221-1/+1
|/
* Merge pull request #8564 from tk0miya/8559_AttributeError_for_ForwardRefTakeshi KOMIYA2020-12-223-0/+11
|\ | | | | Fix #8559: AttributeError is raised when using ForwardRef
| * Fix #8559: AttributeError is raised when using ForwardRefTakeshi KOMIYA2020-12-223-0/+11
|/ | | | The restify() helper crashes when ForwardRef is passed.
* Bump versionTakeshi KOMIYA2020-12-202-3/+24
|
* Bump to 3.4.0 finalv3.4.0Takeshi KOMIYA2020-12-202-10/+4
|
* Merged CHANGES for 3.3.2 into 3.4.0 (unreleased)Takeshi KOMIYA2020-12-201-22/+0
|