-
Notifications
You must be signed in to change notification settings - Fork 926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use kedro-sphinx-theme
#3675
Use kedro-sphinx-theme
#3675
Changes from all commits
c4d8fc5
1653a82
c782473
6d27fdc
21102b9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,6 +64,7 @@ def python_call( | |
|
||
|
||
def find_stylesheets() -> Iterable[str]: # pragma: no cover | ||
# TODO: Deprecate this function in favour of kedro-sphinx-theme | ||
"""Fetch all stylesheets used in the official Kedro documentation""" | ||
css_path = Path(__file__).resolve().parents[1] / "html" / "_static" / "css" | ||
return (str(css_path / "copybutton.css"),) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just found out that this function exists after doing this PR, and I noticed that it's used in all the starters... |
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,20 +84,9 @@ test = [ | |
"types-toml" | ||
] | ||
docs = [ | ||
"docutils<0.21", | ||
"sphinx>=5.3,<7.3", | ||
"sphinx_rtd_theme==2.0.0", | ||
# Regression on sphinx-autodoc-typehints 1.21 | ||
# that creates some problematic docstrings | ||
"sphinx-autodoc-typehints==1.20.2", | ||
"sphinx_copybutton==0.5.2", | ||
"sphinx-notfound-page", | ||
"kedro-sphinx-theme @ git+https://github.com/kedro-org/kedro-sphinx-theme@main", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If this approach is well received obviously this should be pinned to a tag, or even a proper release on PyPI |
||
"ipykernel>=5.3, <7.0", | ||
"myst-parser>=1.0,<2.1", | ||
"Jinja2<3.2.0", | ||
"sphinx-last-updated-by-git", | ||
"sphinx-favicon", | ||
"sphinxcontrib-youtube", | ||
] | ||
jupyter = [ | ||
"ipylab>=1.0.0", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking that maybe these functions should stay here, instead of being in the theme itself