File tree Expand file tree Collapse file tree 5 files changed +14
-5
lines changed
examples/completers/management/commands Expand file tree Collapse file tree 5 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 35
35
36
36
# -- Project information -----------------------------------------------------
37
37
38
- project = 'django_typer '
38
+ project = 'django-typer '
39
39
copyright = f'2023-{ datetime .now ().year } , Brian Kohan'
40
40
author = 'Brian Kohan'
41
41
69
69
# The theme to use for HTML and HTML Help pages. See the documentation for
70
70
# a list of builtin themes.
71
71
#
72
- html_theme = 'sphinx_rtd_theme'
72
+ # html_theme = 'sphinx_rtd_theme'
73
+ html_theme = 'furo'
74
+ html_theme_options = {
75
+ "source_repository" : "https://github.com/bckohan/django-typer/" ,
76
+ "source_branch" : "main" ,
77
+ "source_directory" : "doc/source" ,
78
+ }
79
+ html_title = f"{ project } { release } "
73
80
74
81
# Add any paths that contain custom static files (such as style sheets) here,
75
82
# relative to this directory. They are copied after the builtin static files,
Original file line number Diff line number Diff line change @@ -141,7 +141,6 @@ Commands with multiple subcommands can be defined:
141
141
142
142
|
143
143
144
-
145
144
:big: `Grouping and Hierarchies Example `
146
145
147
146
Or more complex groups and subcommand hierarchies can be defined. For example this command
Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ def handle(
28
28
t .List [str ],
29
29
typer .Argument (
30
30
help = "The app label" ,
31
- shell_complete = complete_app_label , # pass the completer function here
31
+ # pass the completer function here
32
+ shell_complete = complete_app_label ,
32
33
),
33
34
],
34
35
):
Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ def handle(
28
28
t .List [str ],
29
29
typer .Argument (
30
30
help = "The app label" ,
31
- shell_complete = complete_app_label , # pass the completer function here
31
+ # pass the completer function here
32
+ shell_complete = complete_app_label ,
32
33
),
33
34
],
34
35
):
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ pyright = "^1.1.357"
91
91
ruff = " ^0.4.1"
92
92
graphviz = " ^0.20.3"
93
93
sphinx-tabs = " ^3.4.5"
94
+ furo = " ^2024.7.18"
94
95
95
96
[tool .poetry .extras ]
96
97
rich = [" rich" ]
You can’t perform that action at this time.
0 commit comments