diff --git a/python/docs/source/_static/kaskada-negative.svg b/python/docs/source/_static/kaskada-negative.svg new file mode 100644 index 000000000..6b78c25fc --- /dev/null +++ b/python/docs/source/_static/kaskada-negative.svg @@ -0,0 +1 @@ +Kaskada Logo Horizontal Negative RGB \ No newline at end of file diff --git a/python/docs/source/_static/kaskada-positive.svg b/python/docs/source/_static/kaskada-positive.svg new file mode 100644 index 000000000..ccfae84e2 --- /dev/null +++ b/python/docs/source/_static/kaskada-positive.svg @@ -0,0 +1 @@ +Kaskada Logo Horizontal Positive RGB \ No newline at end of file diff --git a/python/docs/source/_static/kaskada.svg b/python/docs/source/_static/kaskada.svg deleted file mode 100644 index 46cdb1548..000000000 --- a/python/docs/source/_static/kaskada.svg +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/python/docs/source/conf.py b/python/docs/source/conf.py index 28a265f77..a7d4cf69d 100644 --- a/python/docs/source/conf.py +++ b/python/docs/source/conf.py @@ -27,8 +27,6 @@ html_theme = "sphinx_book_theme" html_favicon = "_static/favicon.png" -html_logo = "_static/kaskada.svg" -html_title = "Kaskada Timestreams" html_theme_options: Dict[str, Any] = { "repository_url": "https://github.com/kaskada-ai/kaskada", @@ -38,7 +36,7 @@ "home_page_in_toc": False, "use_issues_button": True, "repository_branch": "main", - "path_to_docs": "kaskada/docs/source", + "path_to_docs": "python/docs/source", "announcement": ( "This describes the next version of Kaskada. " "It is currently available as an alpha release." @@ -56,6 +54,10 @@ "icon": "fa-brands fa-slack", }, ], + "logo": { + "image_light": "_static/kaskada-positive.svg", + "image_dark": "_static/kaskada-negative.svg", + }, "primary_sidebar_end": ["indices.html"], "show_toc_level": 2, "show_nav_level": 2, diff --git a/python/noxfile.py b/python/noxfile.py index 3499d57a3..2f965d997 100644 --- a/python/noxfile.py +++ b/python/noxfile.py @@ -135,7 +135,7 @@ def docs_build(session: nox.Session) -> None: @nox.session(python=python_versions[0]) def docs(session: nox.Session) -> None: """Build and serve the documentation with live reloading on file changes.""" - args = ["--open-browser", "docs/source", "docs/_build", "-j", "auto", "--ignore", "docs/source/reference/apidocs/**", "--ignore", "*/api/*"] + args = ["--open-browser", "docs/source", "docs/_build", "-j", "auto", "--ignore", "reference/apidocs/**", "--ignore", "*/api/*"] install(session, groups=["typecheck", "docs"]) build_dir = Path("docs", "_build")