Skip to content

Commit 1d7491d

Browse files
Removing 0.10.x to save space.
1 parent a7ee4b7 commit 1d7491d

File tree

188 files changed

+11
-15528
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

188 files changed

+11
-15528
lines changed

docusaurus.config.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@ const config = {
102102
current: {
103103
label: "11.0.x",
104104
banner: "none"
105-
},
106-
"0.10.x": {
107-
banner: "none"
108105
}
109106
}
110107
},
@@ -236,11 +233,7 @@ const config = {
236233
{
237234
label: 'Support',
238235
to: 'https://avaloniaui.net/support?utm_source=docs&utm_medium=referral&utm_content=nav_link',
239-
},
240-
{
241-
type: 'docsVersionDropdown',
242-
position: 'right',
243-
},
236+
},
244237
{
245238
type: 'localeDropdown',
246239
position: 'right',

src/theme/SearchBar/index.js

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,7 @@ function DocSearch({externalUrlRegex, ...props}) {
208208
</>
209209
);
210210
}
211-
export default function SearchBar() {
212-
// Detect product from the current pathname
211+
export default function SearchBar(props) {
213212
const path = typeof window !== 'undefined' ? window.location.pathname : '';
214213
let product = null;
215214

@@ -221,14 +220,17 @@ export default function SearchBar() {
221220
product = 'accelerate';
222221
}
223222

224-
const searchParameters = product ? { facetFilters: [`product:${product}`] } : {};
223+
const dynamicSearchParameters = product
224+
? { facetFilters: [`product:${product}`] }
225+
: {};
225226

226227
return (
227-
<DocSearch
228-
appId="V9UF6750GH"
229-
indexName="avaloniaui_docs"
230-
apiKey="028e3dad834905a2a2c2a7ad9da9e666"
231-
searchParameters={searchParameters}
228+
<DefaultSearchBar
229+
{...props}
230+
searchParameters={{
231+
...props.searchParameters,
232+
...dynamicSearchParameters,
233+
}}
232234
/>
233235
);
234236
}

versioned_docs/version-0.10.x/animations/index.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

versioned_docs/version-0.10.x/animations/keyframe-animations.md

Lines changed: 0 additions & 169 deletions
This file was deleted.

0 commit comments

Comments
 (0)