Skip to content

Commit

Permalink
doc tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Jan 17, 2025
1 parent ad5d937 commit 732c896
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion django_typer/completers.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class ModelObjectCompleter:
- `ImageField <https://docs.djangoproject.com/en/stable/ref/models/fields/#imagefield>`_
- `FilePathField <https://docs.djangoproject.com/en/stable/ref/models/fields/#filepathfield>`_
- `TextField <https://docs.djangoproject.com/en/stable/ref/models/fields/#textfield>`_
- `DateField <https://docs.djangoproject.com/en/stable/ref/models/fields/#datefield>`_ **(Must use ISO 8601 format (YYYY-MM-DD)**
- `DateField <https://docs.djangoproject.com/en/stable/ref/models/fields/#datefield>`_ **(Must use ISO 8601: YYYY-MM-DD)**
- `UUIDField <https://docs.djangoproject.com/en/stable/ref/models/fields/#uuidfield>`_
- `FloatField <https://docs.djangoproject.com/en/stable/ref/models/fields/#floatfield>`_
- `DecimalField <https://docs.djangoproject.com/en/stable/ref/models/fields/#decimalfield>`_
Expand Down
2 changes: 1 addition & 1 deletion django_typer/management/commands/shellcompletion.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def uninstall(
Since the installation routine is upstream we first run install to determine where the
completion script is installed and then we remove it.
.. typer:: django_typer.management.commands.shellcompletion.Command:typer_app:remove
.. typer:: django_typer.management.commands.shellcompletion.Command:typer_app:uninstall
:prog: shellcompletion
:width: 80
:convert-png: latex
Expand Down
1 change: 1 addition & 0 deletions doc/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ v3.0.0 (202X-XX-XX)
* Fixed `Installed shellcompletion scripts do not pass values of --settings or --pythonpath <https://github.com/django-commons/django-typer/issues/68>`_
* Fixed `shellcompletion complete should print to the command's stdout. <https://github.com/django-commons/django-typer/issues/19>`_
* Implemented `Add completer/parser for FileField and FilePathField <https://github.com/django-commons/django-typer/issues/17>`_
* Implemented `Add completer/parser for DateTimeField <https://github.com/django-commons/django-typer/issues/15>`_
* Implemented `Add completer/parser for DateField <https://github.com/django-commons/django-typer/issues/14>`_


Expand Down
3 changes: 3 additions & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@
r'https://github.com/django/django/blob/main/django/core/management/__init__.py#L278', # Ignore exact match
]

autodoc_typehints = "description" # or signature
autodoc_typehints_format = "short"

def setup(app):
# Register a sphinx.ext.autodoc.between listener to ignore everything
# between lines that contain the word IGNORE
Expand Down

0 comments on commit 732c896

Please sign in to comment.