| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| | | |||||
| * | Support docutils-0.18: Consume iterator of Element.traverse() | Takeshi KOMIYA | 2021-10-27 | 1 | -2/+2 |
| | | | | | | | | Since 0.18, Element.traverse() returns an iterator instead of intermediate object. As a result, the return value is always considered as truthy value. And it becomes fragile when the caller modifies the doctree on the loop. | ||||
| * | Fix #9210: viewcode: crashed if non importable modules found on parallel build | Takeshi KOMIYA | 2021-05-12 | 1 | -4/+5 |
| | | |||||
| * | refactor: Use PEP-526 based variable annotation | Takeshi KOMIYA | 2021-04-08 | 1 | -1/+1 |
| | | |||||
| * | Fix #8933: viewcode: Failed to create back-links on parallel build | Takeshi KOMIYA | 2021-02-26 | 1 | -1/+8 |
| | | | | | | | | | On parallel build mode, viewcode losts the back-links information on gathering results from each process. As a result, some back-links are missing in the generated viewcode pages. This fixes the merging back-links process for parallel builds. | ||||
| * | Sometimes _viewcode_modules can be False; don't crash when it is | Dustin Spicuzza | 2021-02-15 | 1 | -1/+5 |
| | | | | | - Fixes #8880 | ||||
| * | Fix #8756: viewcode: highlighted code is generated even if not referenced | Takeshi KOMIYA | 2021-01-25 | 1 | -0/+13 |
| | | | | | | viewcode does not purge unreferenced modules on incremental build. This adds env-purge-doc handler to clean them. | ||||
| * | Fix #8704: viewcode: anchors are generated in incremental build | Takeshi KOMIYA | 2021-01-22 | 1 | -13/+51 |
| | | | | | | | | | | | | The anchors for viewcode was generated in the reading phase only if supported builder is used. It causes anchors are missing on the incremental build after the build for non supported builder. This introduces `viewcode_anchor` node to insert the anchor even if non supported builders. They will be converted to the anchor tag in the resolving phase for supported builders. Or, they will be removed for non supported builders. | ||||
| * | Fix #8720: viewcode: module pages are generated for epub on incremental build | Takeshi KOMIYA | 2021-01-22 | 1 | -0/+4 |
| | | | | | | | | The module pages should be generated for epub only if enabled via configuration. But they are generated after the build for other viewcode-supported builders. This checks the current builder on generating module pages. | ||||
| * | refactor: viewcode: Fix type annotations | Takeshi KOMIYA | 2021-01-19 | 1 | -4/+4 |
| | | |||||
| * | Merge pull request #8698 from tk0miya/8681_viewcode_incremental_build | Takeshi KOMIYA | 2021-01-19 | 1 | -1/+40 |
| |\ | | | | | Close #8681: viewcode: Support incremental build | ||||
| | * | Close #8681: viewcode: Support incremental build | Takeshi KOMIYA | 2021-01-19 | 1 | -1/+40 |
| | | | | | | | | | | | Now viewcode supports incremental build. It generates HTML files only when the original python code is updated from last build. | ||||
| * | | refactor: viewcode: Use a constant for dirname | Takeshi KOMIYA | 2021-01-18 | 1 | -7/+12 |
| |/ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2021-01-01 | 1 | -1/+1 |
| | | | | | | | | .. 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 | ||||
| * | Sort imports with isort | François Freitag | 2020-11-11 | 1 | -1/+0 |
| | | | | | | | | | | | | | 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. | ||||
| * | Revert "viewcode: Fix viewcode raises NoUri error on resolving phase except ↵ | Takeshi KOMIYA | 2020-06-26 | 1 | -4/+2 |
| | | | | | | | | | on HTML builders" This reverts commit c2ef1ad7e507c86442eae76e1ad7182383e13c8d. The error was completely resolved by #7683. So this is no longer needed. | ||||
| * | viewcode: Fix viewcode raises NoUri error on resolving phase except on HTML ↵ | Takeshi KOMIYA | 2020-05-17 | 1 | -2/+4 |
| | | | | | builders | ||||
| * | Merge branch '2.x' into 3.x | Takeshi KOMIYA | 2020-02-18 | 1 | -1/+1 |
| |\ | |||||
| | * | Fix #7137: viewcode: Avoid to crash when non-python code given | Takeshi KOMIYA | 2020-02-18 | 1 | -1/+1 |
| | | | |||||
| * | | refactor: Update type annotations in sphinx.ext.* | Takeshi KOMIYA | 2020-02-16 | 1 | -3/+5 |
| | | | |||||
| * | | Merge branch '2.0' | Takeshi KOMIYA | 2020-01-01 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 1 | -1/+1 |
| | | | |||||
| * | | Merge branch '2.0' | Takeshi KOMIYA | 2019-07-06 | 1 | -18/+12 |
| |\ \ | |/ | |||||
| | * | Migrate to py3 style type annotation: sphinx.ext.viewcode | Takeshi KOMIYA | 2019-07-04 | 1 | -20/+14 |
| | | | |||||
| | * | Show deprecation warning for viewcode_import | Takeshi KOMIYA | 2019-03-30 | 1 | -0/+1 |
| | | | |||||
| * | | Drop features and APIs deprecated in 1.8 | Takeshi KOMIYA | 2019-03-30 | 1 | -10/+0 |
| |/ | |||||
| * | Give "nonl=True" value to logging.info() instead of int | Takeshi KOMIYA | 2019-01-19 | 1 | -3/+0 |
| | | |||||
| * | Make info messages more translatable | Takeshi KOMIYA | 2019-01-09 | 1 | -2/+2 |
| | | |||||
| * | Merge branch '1.8' | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
| |\ | |||||
| | * | A happy new year! | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
| | | | |||||
| * | | Merge pull request #5805 from jdufresne/has-tag-str | Takeshi KOMIYA | 2018-12-17 | 1 | -6/+1 |
| |\ \ | | | | | | | Remove unnecessary bytes/str type check from doctree_read() | ||||
| | * | | Remove unnecessary bytes/str type check from doctree_read() | Jon Dufresne | 2018-12-16 | 1 | -6/+1 |
| | | | | | | | | | | | | | ModuleAnalyzer.code is always type str. Decoding is unnecessary. | ||||
| * | | | Remove unnecessary encoding cookie from Python source files | Jon Dufresne | 2018-12-16 | 1 | -1/+0 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 3, the default encoding of source files is utf-8. The encoding cookie is now unnecessary and redundant so remove it. For more details, see the docs: https://docs.python.org/3/howto/unicode.html#the-string-type > The default encoding for Python source code is UTF-8, so you can > simply include a Unicode character in a string literal ... Includes a fix for the flake8 header checks to stop expecting an encoding cookie. | ||||
| * | | Replace all "unicode" type by "str" | Takeshi KOMIYA | 2018-12-15 | 1 | -7/+6 |
| | | | |||||
| * | | Fix annotations (minor fixes) | Takeshi KOMIYA | 2018-12-03 | 1 | -6/+4 |
| | | | |||||
| * | | Fix annotaions for extensions | Takeshi KOMIYA | 2018-11-28 | 1 | -1/+3 |
| | | | |||||
| * | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -0/+1 |
| | | | |||||
| * | | Merge branch '1.8' | Takeshi KOMIYA | 2018-11-01 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | Fix #5471: Show appropriate warning for deprecated APIs | Takeshi KOMIYA | 2018-10-17 | 1 | -1/+1 |
| | | | |||||
| * | | Remove use of six.iteritems() | Jon Dufresne | 2018-09-11 | 1 | -3/+3 |
| |/ | | | | In Python 3, dict.items() is always an iterator. | ||||
| * | Plugins can resolve imported members for viewcode | Ashley Whetter | 2018-08-13 | 1 | -1/+7 |
| | | |||||
| * | Rename viewcode_import to viewcode_follow_imported_members (refs: #4035) | Takeshi KOMIYA | 2018-05-07 | 1 | -2/+14 |
| | | |||||
| * | Plugins can find source code for viewcode | Ashley Whetter | 2018-04-24 | 1 | -11/+21 |
| | | | | | Fixes #4035 | ||||
| * | Merge branch '1.7' | Takeshi KOMIYA | 2018-03-18 | 1 | -2/+2 |
| |\ | |||||
| | * | Revert "Use typing.TYPE_CHECKING for typehints" | Takeshi KOMIYA | 2018-03-13 | 1 | -2/+2 |
| | | | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4. | ||||
| * | | Merge commit '6694981dd6939ab876b27d4e20a8128561c307ac' | Takeshi KOMIYA | 2018-03-15 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | Fix #4701: viewcode: Misplaced ``<div>`` in viewcode html output | Takeshi KOMIYA | 2018-03-05 | 1 | -1/+1 |
| | | | |||||
| * | | Merge branch '1.7' | Takeshi KOMIYA | 2018-02-18 | 1 | -2/+2 |
| |\ \ | |/ | |||||
| | * | Use typing.TYPE_CHECKING for typehints | Takeshi KOMIYA | 2018-02-14 | 1 | -2/+2 |
| | | | |||||
| * | | Merge branch '1.7-release' | Takeshi KOMIYA | 2018-01-31 | 1 | -2/+1 |
| |\ \ | |/ | |||||
