Skip to content

Commit

Permalink
fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Jun 5, 2024
1 parent c4c8f05 commit 50d22df
Show file tree
Hide file tree
Showing 9 changed files with 130 additions and 120 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,5 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

**/.DS_Store
2 changes: 1 addition & 1 deletion django_routines/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from django.core.exceptions import ImproperlyConfigured
from django.utils.functional import Promise

VERSION = (1, 0, 0)
VERSION = (1, 0, 1)

__title__ = "Django Routines"
__version__ = ".".join(str(i) for i in VERSION)
Expand Down
Binary file removed doc/.DS_Store
Binary file not shown.
5 changes: 5 additions & 0 deletions doc/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Change Log
==========

v1.0.1
======

* `Help example images dont have the correct usage line. <https://github.com/bckohan/django-routines/issues/3>`_


v1.0.0
======
Expand Down
4 changes: 2 additions & 2 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The routine command will read our settings file and generate two subcommands, on
and one called package:

.. typer:: django_routines.management.commands.routine.Command:typer_app:package
:prog: ./manage.py routine
:prog: ./manage.py routine package
:theme: dark
:convert-png: latex

Expand All @@ -47,7 +47,7 @@ Now we can run all of our package routines with one command:
The deploy command has several switches that we can enable to run additional commands.

.. typer:: django_routines.management.commands.routine.Command:typer_app:deploy
:prog: ./manage.py routine
:prog: ./manage.py routine deploy
:theme: dark
:convert-png: latex

Expand Down
128 changes: 64 additions & 64 deletions examples/deploy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
98 changes: 49 additions & 49 deletions examples/package.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 6 additions & 3 deletions examples/readme_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,19 @@
"name": "deploy",
"switch_helps": {
"demo": "Load the demo data.",
"initial": "Things to do on the very first deployment on a new server.",
"prepare": "Generate artifacts like migrations and transpiled javascript.",
"initial": "Things to do on the very first deployment on a new "
"server.",
"prepare": "Generate artifacts like migrations and transpiled "
"javascript.",
},
},
"package": {
"commands": [
{"command": "makemigrations"},
{"command": "renderstatic"},
],
"help_text": "Generate pre-package artifacts like migrations and transpiled javascript.",
"help_text": "Generate pre-package artifacts like migrations and "
"transpiled javascript.",
"name": "package",
},
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "django-routines"
version = "1.0.0"
version = "1.0.1"
description = "Define named groups of management commands in Django settings files for batched execution."
authors = ["Brian Kohan <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 50d22df

Please sign in to comment.