From 0c611e1f58eeb9748da2d267bbbb9c6a6b6c21d5 Mon Sep 17 00:00:00 2001 From: GitHub Action Website Snapshot <> Date: Mon, 2 Sep 2024 12:09:03 +0000 Subject: [PATCH] Refreshing website content from main repo. Source commit: https://github.com/OpenLineage/OpenLineage/commit/42b994fd6f71e787334da0eb410ac1ea7e903415 --- docs/integrations/flink.md | 4 +-- .../spark/configuration/circuit_breaker.md | 2 +- .../spark/configuration/transport.md | 2 +- src/css/custom.css | 25 +++++++++++++++++++ src/theme/DocSidebar/index.js | 15 +++++++++++ 5 files changed, 44 insertions(+), 4 deletions(-) create mode 100644 src/theme/DocSidebar/index.js diff --git a/docs/integrations/flink.md b/docs/integrations/flink.md index e2176c4..d252d9f 100644 --- a/docs/integrations/flink.md +++ b/docs/integrations/flink.md @@ -126,13 +126,13 @@ The following parameters can be specified: ## Transports -import Transports from '../client/java/partials/java_transport.md'; +import Transports from '@site/docs/client/java/partials/java_transport.md'; ## Circuit Breakers -import CircuitBreakers from '../client/java/partials/java_circuit_breaker.md'; +import CircuitBreakers from '@site/docs/client/java/partials/java_circuit_breaker.md'; diff --git a/docs/integrations/spark/configuration/circuit_breaker.md b/docs/integrations/spark/configuration/circuit_breaker.md index ddd58c1..1f723a5 100644 --- a/docs/integrations/spark/configuration/circuit_breaker.md +++ b/docs/integrations/spark/configuration/circuit_breaker.md @@ -3,6 +3,6 @@ sidebar_position: 3 title: Circuit Breaker --- -import CircuitBreakers from '../../../client/java/partials/java_circuit_breaker.md'; +import CircuitBreakers from '@site/docs/client/java/partials/java_circuit_breaker.md'; diff --git a/docs/integrations/spark/configuration/transport.md b/docs/integrations/spark/configuration/transport.md index 1305aaa..49c0369 100644 --- a/docs/integrations/spark/configuration/transport.md +++ b/docs/integrations/spark/configuration/transport.md @@ -3,6 +3,6 @@ sidebar_position: 2 title: Transport --- -import Transports from '../../../client/java/partials/java_transport.md'; +import Transports from '@site/docs/client/java/partials/java_transport.md'; \ No newline at end of file diff --git a/src/css/custom.css b/src/css/custom.css index 753a1bf..5583fe9 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -655,3 +655,28 @@ dl.py dl.field-list dt ul li p, dl.py dl.field-list dd ul li p { margin: 0; padding: 0; } + +/* + * Styling Sidebar's Version dropdown + */ +nav .dropdown--hoverable { + display: none; +} + +aside div div:has(nav.menu) { + padding-top: 0 !important; +} +aside .custom-sidebarVersion { + margin-top: var(--ifm-navbar-height); + padding: 0.5rem 0 0 0.5rem; +} + +aside .custom-sidebarVersion p { + margin-bottom: 0; + font-size: var(--fbc-font-size: 13px;); + padding: var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal); +} + +aside .navbar__item { + padding: 0; +} diff --git a/src/theme/DocSidebar/index.js b/src/theme/DocSidebar/index.js new file mode 100644 index 0000000..ddc84c1 --- /dev/null +++ b/src/theme/DocSidebar/index.js @@ -0,0 +1,15 @@ +import React from 'react'; +import DocSidebar from '@theme-original/DocSidebar'; +import DocsVersionDropdownNavbarItem from '@theme-original/NavbarItem/DocsVersionDropdownNavbarItem'; + +export default function DocSidebarWrapper(props) { + return ( + <> +
+

Version:

+
+
+ + + ); +} \ No newline at end of file