summaryrefslogtreecommitdiff
path: root/sphinx/ext/graphviz.py
Commit message (Collapse)AuthorAgeFilesLines
* html builder: Append CRC32 checksum to asset URIs (#11415)Adam Turner2023-05-111-8/+8
|
* Fix COM812Adam Turner2023-02-181-3/+3
|
* Run pyupgrade (#11070)Adam Turner2023-01-021-1/+1
|
* Use PEP 604 typesAdam Turner2023-01-011-7/+7
|
* Use PEP 595 typesAdam Turner2023-01-011-11/+11
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
|
* Factor out HTML 4 translator (#11051)Adam Turner2022-12-301-3/+3
| | | Move the HTML 4 translator into a private module.
* Update typing ignores for mypy 0.990Adam Turner2022-11-131-1/+1
|
* Run the ``pyupgrade`` toolAdam Turner2022-10-171-2/+2
|
* Fix more strict static typing errors (#10681)danieleades2022-08-281-7/+9
|
* Remove unneeded `noqa` lint suppression comments (#10772)danieleades2022-08-281-1/+1
|
* Improve static typing strictness (#10569)danieleades2022-07-181-2/+2
|
* Remove copyright and licence fieldsAdam Turner2022-02-201-3/+0
|
* Conform to PEP 257 summary line conventionsAdam Turner2022-02-201-2/+1
|
* Fix module docstring indentationAdam Turner2022-02-201-3/+3
|
* Fix module docstring first lineAdam Turner2022-02-201-2/+1
|
* Remove module titles in docstringsAdam Turner2022-02-191-3/+0
|
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* refactor: Use PEP-526 based variable annotation (sphinx.ext)Takeshi KOMIYA2021-03-151-2/+2
|
* refactor: Add a type alias for the option_spec of directives; OptionSpecTakeshi KOMIYA2021-03-131-2/+3
|
* graphviz: Image node is not rendered if graph file is in subdir (refs: #8232)Takeshi KOMIYA2021-01-281-10/+17
| | | | | To support images for graphviz, graphviz commands (ex. dots) should be invoked at the directory placed the graph file.
* A happy new year!Takeshi KOMIYA2021-01-011-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
* Fix #8454: graphviz: The layout option for graph and digraph don't workTakeshi KOMIYA2020-11-201-1/+4
|
* Sort imports with isortFrançois Freitag2020-11-111-1/+1
| | | | | | | | | | | | 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.
* Don't copy graphviz.css when building man pagesChris Mayo2020-08-051-1/+1
| | | | _static/graphviz.css is being created alongside the man pages.
* Fix exception causes all over the codebaseRam Rachum2020-06-141-4/+4
|
* Introduce fips safe sha1, see issue #7611Lars Hupfeldt2020-05-051-2/+1
|
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Close #6966: graphviz: Support ``:class:`` optionTakeshi KOMIYA2019-12-271-4/+8
|
* Migrate to py3 style type annotation: sphinx.ext.graphvizTakeshi KOMIYA2019-07-011-51/+33
|
* Close #5124: graphviz: :graphviz_dot: option is renamed to :layout:Takeshi KOMIYA2019-06-021-1/+4
|
* Merge pull request #6111 from tk0miya/6028_make_graphviz_reproducibleTakeshi KOMIYA2019-02-271-3/+1
|\ | | | | Fix #6028: graphviz: Ensure the graphviz filenames are reproducible
| * Fix #6028: graphviz: Ensure the graphviz filenames are reproducibleTakeshi KOMIYA2019-02-271-3/+1
| |
* | Use subprocess.run() instead of Popen()Takeshi KOMIYA2019-01-131-19/+13
| | | | | | | | | | | | Since python3.5, subprocess.run() has been introduced. It works a wrapper of Popen, and it looks much simple and better. This uses it instead of Popen to make our code simple.
* | Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\ \ | |/
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Replace EnvironmentError and IOError by OSErrorTakeshi KOMIYA2018-12-191-5/+3
| | | | | | | | | | Since python 3.3, EnvironmentError and IOError were merged into OSError.
* | Merge pull request #5819 from jdufresne/coding-commentTakeshi KOMIYA2018-12-171-1/+0
|\ \ | | | | | | Remove unnecessary encoding cookie from Python source files
| * | Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-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.
* | | Remove redundant coerce to str in string formattingJon Dufresne2018-12-161-4/+3
|/ / | | | | | | | | | | When an object is passed to a string format placeholder '%s', Python will implicitly call str() on the object. This applies to print() and logging as well.
* | Merge pull request #5803 from jdufresne/encoding-utf8Takeshi KOMIYA2018-12-161-3/+3
|\ \ | | | | | | Avoid respecifying default encoding for .encode()/.decode() calls
| * | Avoid respecifying default encoding for .encode()/.decode() callsJon Dufresne2018-12-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 3, both .encode() and .decode() default the encoding to 'utf-8'. See the docs: https://docs.python.org/3/library/stdtypes.html#str.encode https://docs.python.org/3/library/stdtypes.html#bytes.decode Simplify and shorten the code by using the default instead of respecifying it.
* | | Replace ENOENT errno checks with Python 3 FileNotFoundErrorJon Dufresne2018-12-151-4/+2
|/ / | | | | | | | | | | | | | | The error is more specific and self documenting. This removes the last use of sphinx.util.osutil.ENOENT, so it is now deprecated for removal. sphinx.util.osutil.EEXIST was already unused so that is deprecated as well.
* | Replace all "unicode" type by "str"Takeshi KOMIYA2018-12-151-12/+11
| |
* | Move to py3 mode for mypy (and remove many "type: ignore" comments)Takeshi KOMIYA2018-12-151-2/+2
| |
* | Simplify open() call by removing default modeJon Dufresne2018-12-111-2/+2
| | | | | | | | | | | | | | | | | | The open() function opens files in read-only text mode by default. Drop the mode argument to be slightly simpler and more idiomatic. https://docs.python.org/3/library/functions.html#open > The default mode is 'r' (open for reading text, synonym of 'rt').
* | Fix annotationsTakeshi KOMIYA2018-12-081-5/+1
| |
* | refactor figure_wrapper() using state.inline_text()Takeshi KOMIYA2018-12-041-7/+5
| |
* | Add SphinxTranslator as an abstract classTakeshi KOMIYA2018-12-031-2/+3
| |
* | Fix annotations for Directives (Replace N_co with nodes.Node)Takeshi KOMIYA2018-12-011-4/+4
| |