Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Fix annotations for extensions | Takeshi KOMIYA | 2018-12-01 | 1 | -12/+14 | |
| | | ||||||
* | | Fix annotations for minor methods and functions | Takeshi KOMIYA | 2018-11-30 | 1 | -3/+3 | |
| | | ||||||
* | | Fix annotaions for extensions | Takeshi KOMIYA | 2018-11-28 | 1 | -16/+20 | |
| | | ||||||
* | | 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 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Correctly deal with non-existing static dir in graphviz extension | Jeroen Demeyer | 2018-10-17 | 1 | -2/+2 | |
| | | ||||||
* | | Merge branch '1.8' | Takeshi KOMIYA | 2018-10-16 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Fix mypy violations | Takeshi KOMIYA | 2018-10-16 | 1 | -2/+2 | |
| | | ||||||
* | | Merge branch 'master' into HEAD | Takeshi KOMIYA | 2018-09-22 | 1 | -3/+2 | |
|\ \ | ||||||
| * | | Prefer builtin open() over io.open() and codecs.open() | Jon Dufresne | 2018-09-11 | 1 | -3/+2 | |
| |/ | | | | | | | | | | | | | | | | | | | | | | | In Python3, the functions io.open() is an alias of the builtin open() and codecs.open() is functionally equivalent. To reduce indirection, number of imports, and number of patterns, always prefer the builtin. https://docs.python.org/3/library/io.html#high-level-module-interface > io.open() > > This is an alias for the builtin open() function. | |||||
* | | Remove unnecessary object from class definitions | Jon Dufresne | 2018-09-11 | 1 | -1/+1 | |
|/ | | | | | In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary. | |||||
* | graphviz: Don't use document.current_source | Takeshi KOMIYA | 2018-08-21 | 1 | -3/+1 | |
| | ||||||
* | Merge branch 'master' into graphviz_width_of_svg | Takeshi KOMIYA | 2018-08-07 | 1 | -3/+12 | |
|\ | ||||||
| * | graphviz: rename docpath -> docname | Rok Roskar | 2018-08-06 | 1 | -3/+4 | |
| | | ||||||
| * | graphviz: add document name to graphviz node | Rok Roskar | 2018-08-06 | 1 | -4/+8 | |
| | | ||||||
| * | graphviz: make path construction more readable | Rok Roskar | 2018-08-06 | 1 | -2/+5 | |
| | | ||||||
| * | graphviz: run dot in the document directory | Rok Roskar | 2018-08-06 | 1 | -1/+2 | |
| | | | | | | | | | | | | addresses #4033 Co-authored-by: Jiri Kuncar <jiri.kuncar@gmail.com> | |||||
* | | Fix #5002: graphviz: SVGs do not adapt to the column width | Takeshi KOMIYA | 2018-08-05 | 1 | -7/+22 | |
|/ | ||||||
* | refactor: Replace Directive by SphinxDirective | Takeshi KOMIYA | 2018-05-11 | 1 | -8/+9 | |
| | ||||||
* | Allow imgcls as class for SVG Graphviz <object> | Michael Goerz | 2018-04-21 | 1 | -3/+5 | |
| | | | | | | | | | | | | | | | For consistency, the `<object>` tag for the SVG output of a inheritance-diagram should have the same `class="inheritance"` attribute that the corresponding `<img>` tag for the PNG format has. This allows to define the CSS attribute object.inheritance { max-width: 100%; } which for SVG (unlike PNG) actually works and makes sense. Added a test for inheritance-diagrams in SVG. | |||||
* | Wrap graphviz diagrams in <div class="graphviz"> | Michael Goerz | 2018-04-20 | 1 | -4/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | The graphviz extension is modified to wrap the `<img>` and `<object>` tags it creates for diagrams in the png and svg formats in an additional `<div class="graphviz">...</div>` tag. This allows to apply additional CSS styling to the the diagrams that cannot be applied to `<img>` and `<object>` directly. Most notably, div.graphviz { overflow: auto; } would be a useful style that the standard themes might consider. In any case, it would allow users to add custom CSS code to their project that gets around the problems with inheritance-diagrams discussed in https://github.com/sphinx-doc/sphinx/issues/4865 The tests for the `grahviz` and `inheritance_diagram` have been modified to test for the presence of the additional `<div>` tag. Closes #4865 | |||||
* | 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 branch 'master' into dont_stringify_exceptions | Takeshi KOMIYA | 2018-03-04 | 1 | -3/+3 | |
|\ \ | ||||||
| * | | Make console and warning messages translatable | Takeshi KOMIYA | 2018-03-03 | 1 | -3/+3 | |
| |/ | ||||||
* | | Use six.text_type to stringify exceptions | Takeshi KOMIYA | 2018-03-03 | 1 | -3/+3 | |
|/ | | | | | On py2, an exception having i18nized message causes UnicodeError on stringify. This uses ``six.text_type()`` to stringify them instead. | |||||
* | Merge pull request #4616 from tk0miya/use_typing.TYPE_CHECKING | Takeshi KOMIYA | 2018-02-17 | 1 | -2/+2 | |
|\ | | | | | Use typing.type checking | |||||
| * | Use typing.TYPE_CHECKING for typehints | Takeshi KOMIYA | 2018-02-14 | 1 | -2/+2 | |
| | | ||||||
* | | Fit graphviz images to page. | Roman Kapl | 2018-02-17 | 1 | -1/+1 | |
|/ | | | | | Use \sphinxincludegraphics, that's what the core image directives use and it handles fitting properly. | |||||
* | Merge branch 'stable' into 1.7-release | Takeshi KOMIYA | 2018-01-30 | 1 | -15/+55 | |
|\ | ||||||
| * | Fix mypy violations | Takeshi KOMIYA | 2018-01-29 | 1 | -5/+5 | |
| | | ||||||
| * | Fix graphviz: workaround for wrong map ID which graphviz generates | Takeshi KOMIYA | 2018-01-29 | 1 | -6/+13 | |
| | | ||||||
| * | Fix #4501: graphviz: epub3 validation error caused if graph is not clickable | Takeshi KOMIYA | 2018-01-29 | 1 | -15/+48 | |
| | | ||||||
* | | Use flake8-import-order | Takeshi KOMIYA | 2018-01-28 | 1 | -4/+3 | |
|/ | ||||||
* | A happy new year! | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+1 | |
| | ||||||
* | Fix ext.graphviz alignment. | Oliver Sanders | 2017-09-24 | 1 | -19/+21 | |
| | ||||||
* | Fix #3833: command line messages are translated unintentionally | Takeshi KOMIYA | 2017-06-25 | 1 | -14/+14 | |
| | ||||||
* | Make messages translatable | Takeshi KOMIYA | 2017-04-20 | 1 | -13/+13 | |
| | ||||||
* | Merge branch 'stable' | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 | |
|\ | ||||||
| * | Year++ | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 | |
| | | ||||||
* | | Upgrade to mypy-0.5 | Takeshi KOMIYA | 2017-03-03 | 1 | -1/+1 | |
| | | ||||||
* | | Drop deprecated options for graphviz extension | Takeshi KOMIYA | 2017-01-05 | 1 | -21/+0 | |
| | | ||||||
* | | Use loggers | Takeshi KOMIYA | 2017-01-02 | 1 | -6/+9 | |
| | | ||||||
* | | ``sphinx.util.compat.Directive`` class is now deprecated. | Takeshi KOMIYA | 2016-12-13 | 1 | -2/+1 | |
| | | ||||||
* | | Add type-check annotations to sphinx.ext | Takeshi KOMIYA | 2016-11-16 | 1 | -2/+23 | |
| | | ||||||
* | | #3136: Add ``:name:`` option to the directives in ``sphinx.ext.graphviz`` | Takeshi KOMIYA | 2016-11-12 | 1 | -0/+4 | |
|/ | ||||||
* | #2575: Now ``sphinx.ext.graphviz`` allows ``:align:`` option | Takeshi KOMIYA | 2016-05-28 | 1 | -0/+28 | |
| | ||||||
* | Refactor code using ``with`` syntax | Takeshi KOMIYA | 2016-05-26 | 1 | -8/+2 | |
| | ||||||
* | ``sphinx.ext.graphviz`` supports graph substituions by locale | Takeshi KOMIYA | 2016-02-22 | 1 | -1/+3 | |
| | ||||||
* | Fix condition of graphviz warning | Takeshi KOMIYA | 2016-01-19 | 1 | -1/+1 | |
| |