Sphinx-github-style

Latest version: v1.2.1

Safety actively analyzes 626363 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.2.1

Changes

* Refactoring

***

**Full Changelog**: https://github.com/TDKorn/sphinx-github-style/compare/v1.2.0...v1.2.1

1.2.0

Changes

* Simplify syntax highlighting approach - now highlights 100% of function/method calls

***

**Full Changelog**: https://github.com/TDKorn/sphinx-github-style/compare/v1.1.2...v1.2.0

1.1.1

Bug Fixes

* Make sure `top_level` can always be determined
* Fix bug causing single page html builds on readthedocs to fail

**Full Changelog**: https://github.com/TDKorn/sphinx-github-style/compare/v1.1.0...v1.1.1

1.1.0

Changes

Improved Syntax Highlighting

Improved the lexer and Pygments style to highlight code blocks nearly identical to GitHub
* Properly highlights all functions/methods in the package as well as in all imported packages
* Now also highlights classes, type hints, imports, builtins

<table>
<tr><th><kbd>v1.0.5</kbd></th><th><kbd>v.1.1.0</kbd></th></tr>
<tr><td><img src="https://github.com/TDKorn/sphinx-github-style/assets/96394652/e9bc6621-1155-46ab-9d1d-79033467a0fa"/></td><td><img src="https://github.com/TDKorn/sphinx-github-style/assets/96394652/860afce6-2a28-4590-a049-5c3ab63bba0a" /></td></tr>
</table>

Improved GitHub source code links

Updated the default `linkcode_resolve()` to

* Add source code links for properties and `functools.cached_property`
* Work with repos that have any file structure, for example `src/pkg_dir`
* Work with decorated functions



***

**Full Changelog**: https://github.com/TDKorn/sphinx-github-style/compare/v1.0.5...v1.1.0

1.0.5

Avoid calling get_top_level() unless needed

**Full Changelog**: https://github.com/TDKorn/sphinx-github-style/compare/v1.0.4...v1.0.5

1.0.4

Add back top_level confval

**Full Changelog**: https://github.com/TDKorn/sphinx-github-style/compare/v1.0.3...v1.0.4

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.