Django-docutils

Latest version: v0.25.0

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

Scan your dependencies

Page 3 of 7

0.18.0

Bug fix

- Remove duplicate `CodeBlock` directive from `directives.py` (401)

Development

- ci: Add pydocstyle rule to ruff (396)

Documentation

- Add docstrings to functions, methods, classes, and packages (396)

0.17.0

Breaking changes

- Remove references to font awesome (397, 399)

These are unused and leftovers from an earlier codebase.

- Removed unused visitor from `HTMLTranslator` (400)
- Removed models.py file (400)
- TemplateTags: Fixes `MalformedArgumentsToUrlTag` ->
`MalformedArgumentsToRSTTag` (400)

Development

- Add typings for settings (395)

Documentation

- Add intersphinx API documentation for Django (395)

0.16.0

Breaking changes

- Rename `GenericUrlRoleFn` -> `RoleFnReturnValue` (394)

Documentation

- Add role typings to docs (394)
- Roles: Split `common` and `types` to separate ToC section (394)
- Improve documentation for roles (394)

0.15.0

Breaking changes

- Rename `restructuredtext` -> `rst` (390)

- `{% filter restructuredtext %}` -> `{% endfilter %}`
- `{% restructuredtext %}` -> `{% rst %}`

- Move template tag from `lib/templatetags/rst` ->
`templatetags/django_docutils` (391)

What's new

- `rst` template tags can now accept blocks (392):

django
{% load django_docutils %}
{% rst %}
Hello world
===========

Thank you for visiting the site!

- List item 1
- List item 2
{% endrst %}


- `ReStructuredTextNode` learned to accept plain strings (388)
- `restructuredtext` filter revitalized (388)

- Now powered the same `docutils` code as the template tag
- django-docutils settings will now apply to the filter

Tweaks

- `restructuredtext` filter:
- Fix `stacklevel` in warning (389)
- register filter via decorator (389)
- `DocutilsView`: Improve `rst_name` typing (389)

Fixes

- `restructuredtext` template tag: Fix language in error message (389)

Development

- Test suite (386):
- Template tag
- Template filter
- Django template engine
- Project settings (test settings module): Add type annotations for `django-stubs` + `mypy` (368)

Note: This only applies to internal typings

Packaging

- Move pytest configuration to `pyproject.toml` (387)

0.14.1

_Maintenance only, no bug fixes or features_

Packaging

- Add `Typing :: Typed` to trove classifiers

Documentation

- API docs: Remove pygments
- `restructuredtext` filter: Add credit

Note: The filter has already been deprecated since 0.4.0 and will soon be replaced
by 386.

0.14.0

What's new

- Now [`mypy --strict`] compliant (378)

[`mypy --strict`]: https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-strict

Breaking changes

- Remove `django_docutils.pygments` (385)

Pygments lexers are unrelated to the package.

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.