Skip to content

Commit

Permalink
Refreshing website content from main repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Action Website Snapshot committed Sep 2, 2024
1 parent 394bc01 commit 0c611e1
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/integrations/flink.md
Original file line number Diff line number Diff line change
Expand Up @@ -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';

<Transports/>

## Circuit Breakers

import CircuitBreakers from '../client/java/partials/java_circuit_breaker.md';
import CircuitBreakers from '@site/docs/client/java/partials/java_circuit_breaker.md';

<CircuitBreakers/>

2 changes: 1 addition & 1 deletion docs/integrations/spark/configuration/circuit_breaker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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';

<CircuitBreakers/>
2 changes: 1 addition & 1 deletion docs/integrations/spark/configuration/transport.md
Original file line number Diff line number Diff line change
Expand Up @@ -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';

<Transports/>
25 changes: 25 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
15 changes: 15 additions & 0 deletions src/theme/DocSidebar/index.js
Original file line number Diff line number Diff line change
@@ -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 (
<>
<div className="custom-sidebarVersion">
<p><b>Version:</b> <DocsVersionDropdownNavbarItem dropdownItemsBefore={[]} dropdownItemsAfter={[]} /></p>
</div>
<hr />
<DocSidebar {...props} />
</>
);
}

0 comments on commit 0c611e1

Please sign in to comment.