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 3535
3636# -- Project information -----------------------------------------------------
3737
38- project = 'django_typer '
38+ project = 'django-typer '
3939copyright = f'2023-{ datetime .now ().year } , Brian Kohan'
4040author = 'Brian Kohan'
4141
6969# The theme to use for HTML and HTML Help pages. See the documentation for
7070# a list of builtin themes.
7171#
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 } "
7380
7481# Add any paths that contain custom static files (such as style sheets) here,
7582# 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:
141141
142142|
143143
144-
145144:big: `Grouping and Hierarchies Example `
146145
147146Or 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(
2828 t .List [str ],
2929 typer .Argument (
3030 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 ,
3233 ),
3334 ],
3435 ):
Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ def handle(
2828 t .List [str ],
2929 typer .Argument (
3030 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 ,
3233 ),
3334 ],
3435):
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ pyright = "^1.1.357"
9191ruff = " ^0.4.1"
9292graphviz = " ^0.20.3"
9393sphinx-tabs = " ^3.4.5"
94+ furo = " ^2024.7.18"
9495
9596[tool .poetry .extras ]
9697rich = [" rich" ]
You can’t perform that action at this time.
0 commit comments