Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): use sphinx note function #604

Merged
merged 1 commit into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ path of a field class, and the (optional) second item is a dictionary used to co
The ``widget`` and ``widget_kwargs`` keys in the field config dictionary can be used to configure the widget used in admin,
the other values will be passed as kwargs to the field's ``__init__()``

Note: Use later evaluated strings instead of direct classes for the field and widget classes:
.. note:: Use later evaluated strings instead of direct classes for the field and widget classes:

.. code-block:: python

Expand Down
5 changes: 3 additions & 2 deletions docs/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@ If you want to use override as a context manager or decorator, consider using
def test_override_context_manager():
...

Pytest fixture as function or method parameter (
NOTE: no import needed as fixture is available globally)
Pytest fixture as function or method parameter.

.. note:: No import needed as fixture is available globally.

.. code-block:: python

Expand Down
Loading