Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix COM812 | Adam Turner | 2023-02-18 | 1 | -1/+1 |
| | |||||
* | Use PEP 595 types | Adam Turner | 2023-01-01 | 1 | -4/+4 |
| | |||||
* | Insert ``from __future__ import annotations`` | Adam Turner | 2023-01-01 | 1 | -0/+2 |
| | |||||
* | Merge branch '5.x' | Adam Turner | 2022-10-16 | 1 | -1/+5 |
|\ | | | | | | | | | | | | | | | # Conflicts: # .github/workflows/main.yml # CHANGES # sphinx/__init__.py # sphinx/domains/c.py | ||||
| * | Don't display 'replaceable hardcoded link' when link has a slash (#10137) | Anthony Sottile | 2022-10-05 | 1 | -1/+5 |
| | | |||||
| * | Replace deprecated logging.warn with logging.warning (#10592) | Hugo van Kemenade | 2022-06-25 | 1 | -3/+3 |
| | | |||||
* | | Remove deprecated items for Sphinx 6.0 (#10471) | Adam Turner | 2022-06-16 | 1 | -16/+0 |
| | | |||||
* | | Drop python 3.6 support (#10468) | Takeshi KOMIYA | 2022-06-16 | 1 | -7/+1 |
|/ | |||||
* | Merge branch '4.x' | Takeshi KOMIYA | 2022-03-28 | 1 | -1/+8 |
|\ | |||||
| * | Merge pull request #10263 from nicoa/escape_base_uri_in_extlinks | Takeshi KOMIYA | 2022-03-28 | 1 | -1/+8 |
| |\ | | | | | | | escape base_uri in extlinks | ||||
| | * | Fix a flake8 warning | Takeshi KOMIYA | 2022-03-27 | 1 | -1/+2 |
| | | | |||||
| | * | extlink: Strip a leading backslash on compiling pattern | Takeshi KOMIYA | 2022-03-27 | 1 | -1/+7 |
| | | | |||||
| | * | escape base_uri in extlinks to avoid regex issues with URIs containing ↵ | Nico Albers | 2022-03-13 | 1 | -1/+1 |
| | | | | | | | | | | | | special characters | ||||
* | | | Merge branch '4.x' | Takeshi KOMIYA | 2022-03-27 | 1 | -0/+5 |
|\ \ \ | |/ / | |||||
| * | | extlinks: Disable hardcoded links detector by default (refs: #10126) | Takeshi KOMIYA | 2022-03-27 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | The hardcoded links detector added since 4.4.0 causes troubles in many projects. Therefore, this disables it by default, and adds a new configuration `extlinks_detect_hardcoded_links` to enable it explicitly. | ||||
* | | | Merge branch '4.x' | Takeshi KOMIYA | 2022-03-19 | 1 | -19/+11 |
|\ \ \ | |/ / | |||||
| * | | Remove copyright and licence fields | Adam Turner | 2022-02-20 | 1 | -3/+0 |
| | | | |||||
| * | | Conform to PEP 257 summary line conventions | Adam Turner | 2022-02-20 | 1 | -2/+1 |
| | | | |||||
| * | | Fix module docstring indentation | Adam Turner | 2022-02-20 | 1 | -13/+13 |
| | | | |||||
| * | | Fix module docstring first line | Adam Turner | 2022-02-20 | 1 | -2/+1 |
| | | | |||||
| * | | Remove module titles in docstrings | Adam Turner | 2022-02-19 | 1 | -3/+0 |
| |/ | |||||
* | | Merge commit '07110b7557a552ecfe702bdd6a2d2f9685cb1af9' | Takeshi KOMIYA | 2022-02-14 | 1 | -2/+7 |
|\ \ | |/ | |||||
| * | Close #10125: extlinks: Improve suggestion message for a reference having title | Takeshi KOMIYA | 2022-01-23 | 1 | -2/+7 |
| | | |||||
* | | Merge branch '4.x' | Takeshi KOMIYA | 2022-01-17 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | address some unused loop control variables (B007) | Daniel Eades | 2022-01-12 | 1 | -1/+1 |
| | | |||||
* | | Merge branch '4.x' | Takeshi KOMIYA | 2022-01-03 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Migrate to Node.findall() from Node.traverse() | Takeshi KOMIYA | 2022-01-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Node.traverse() was marked as deprecated since docutils-0.18. Instead of it, Node.findall() has been added as successor of traverse(). This applies a patch to docutils-0.17 or older to be available Node.findall() and use it. | ||||
* | | Merge branch '4.x' | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| | | |||||
* | | Merge branch '4.x' | Takeshi KOMIYA | 2021-12-10 | 1 | -0/+37 |
|\ \ | |/ | |||||
| * | extlinks: Adjust priority (refs: #9800) | Takeshi KOMIYA | 2021-11-29 | 1 | -1/+1 |
| | | |||||
| * | Fix flake8 and isort errors (refs: #9800) | Takeshi KOMIYA | 2021-11-29 | 1 | -7/+4 |
| | | |||||
| * | apply review suggestions | Oleg Hoefling | 2021-11-12 | 1 | -7/+6 |
| | | | | | | | | Signed-off-by: Oleg Hoefling <oleg.hoefling@gmail.com> | ||||
| * | extlinks: replacement suggestions for hardcoded links | oleg.hoefling | 2021-11-12 | 1 | -0/+45 |
| | | | | | | | | Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com> | ||||
* | | extlinks: Emit a warning if extlnks config does not contain '%s' | Takeshi KOMIYA | 2021-05-03 | 1 | -8/+10 |
|/ | | | | | | To let users know the deprecation surely, use logger.warning instead of RemovedInSphinxXXWarning since 5.0. It will cause a crash if users use `-W` option on their CI. | ||||
* | fixup! sphinx.ext.extlinks: Allow ``%s`` in link caption string | Merry Bass | 2021-04-11 | 1 | -18/+29 |
| | | | | | The old syntax will be deprecated in 4.x and 5.x and removed in Sphinx 6.0. | ||||
* | sphinx.ext.extlinks: Allow ``%s`` in link caption string | Merry Bass | 2021-04-11 | 1 | -9/+16 |
| | | | | | | | | | | | | | | | | Tweak syntax of extlinks to also allow ``%s`` in the link caption part. Like for the base URL ``%s`` will be substituted with the content of the role. This allows configurations like extlinks = {'quarter': ('https://example.org/quaters/%s', '%s. quarter')} with ``:quarter:`2``` getting replaced by a link titled `2. quarter`. The requirement for the caption string is to be either None or contain exactly one ``%s``. If neither is the case, then we emit a warning and fall back to the old behaviour which is concatenating the caption string with the role content. | ||||
* | 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 | ||||
* | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 1 | -1/+1 |
| | |||||
* | Migrate to py3 style type annotation: sphinx.ext.extlinks | Takeshi KOMIYA | 2019-07-01 | 1 | -15/+12 |
| | |||||
* | Merge branch '1.8' | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
|\ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
| | | |||||
* | | 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 | -4/+3 |
| | | |||||
* | | Fix annotations for minor methods and functions | Takeshi KOMIYA | 2018-11-30 | 1 | -1/+1 |
| | | |||||
* | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -0/+1 |
| | | |||||
* | | Remove use of six.iteritems() | Jon Dufresne | 2018-09-11 | 1 | -2/+1 |
|/ | | | | In Python 3, dict.items() is always an iterator. | ||||
* | Drop typing.TYPE_CHECKING | Takeshi KOMIYA | 2018-03-26 | 1 | -3/+2 |
| | |||||
* | Use typing.TYPE_CHECKING | Takeshi KOMIYA | 2018-02-19 | 1 | -2/+3 |
| | |||||
* | Update type annotations | Takeshi KOMIYA | 2018-02-04 | 1 | -0/+11 |
| |