Skip to content

Commit 40cd92e

Browse files
committed
docs: Update docs font and extensions
1 parent b16fac5 commit 40cd92e

File tree

3 files changed

+44
-15
lines changed

3 files changed

+44
-15
lines changed

docs/conf.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
"sphinx.ext.autodoc",
3737
"sphinx.ext.napoleon",
3838
"sphinx.ext.githubpages",
39+
"sphinx.ext.viewcode",
40+
"sphinx_copybutton",
3941
]
4042

4143
# Add any paths that contain templates here, relative to this directory.
@@ -58,3 +60,9 @@
5860
# relative to this directory. They are copied after the builtin static files,
5961
# so a file named "default.css" will overwrite the builtin "default.css".
6062
html_static_path = ["_static"]
63+
64+
autodoc_typehints = "description"
65+
66+
html_css_files = [
67+
"https://cdnjs.cloudflare.com/ajax/libs/hack-font/3.3.0/web/hack.min.css"
68+
]

poetry.lock

Lines changed: 34 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,10 @@ types-PyYAML = "^6.0.7"
225225
optional = true
226226

227227
[tool.poetry.group.docs.dependencies]
228-
Sphinx = "4.2.0"
228+
Sphinx = "4.5.0"
229229
sphinx-rtd-theme = "1.0.0"
230230
sphinxcontrib-napoleon = "0.7"
231+
sphinx-copybutton = "0.5"
231232

232233
[tool.poetry.extras]
233234
airflow = ["apache-airflow"]

0 commit comments

Comments
 (0)