Skip to content

Commit e0e33a8

Browse files
committed
move to furo theme from sphinx rtd theme
1 parent 28cb58e commit e0e33a8

File tree

5 files changed

+14
-5
lines changed

5 files changed

+14
-5
lines changed

doc/source/conf.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
# -- Project information -----------------------------------------------------
3737

38-
project = 'django_typer'
38+
project = 'django-typer'
3939
copyright = f'2023-{datetime.now().year}, Brian Kohan'
4040
author = 'Brian Kohan'
4141

@@ -69,7 +69,14 @@
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,

doc/source/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ Commands with multiple subcommands can be defined:
141141

142142
|
143143
144-
145144
:big:`Grouping and Hierarchies Example`
146145

147146
Or more complex groups and subcommand hierarchies can be defined. For example this command

examples/completers/management/commands/app_labels.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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
):

examples/completers/management/commands/app_labels_typer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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
):

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ pyright = "^1.1.357"
9191
ruff = "^0.4.1"
9292
graphviz = "^0.20.3"
9393
sphinx-tabs = "^3.4.5"
94+
furo = "^2024.7.18"
9495

9596
[tool.poetry.extras]
9697
rich = ["rich"]

0 commit comments

Comments
 (0)