Skip to content

Commit a597acf

Browse files
authored
docs: freeze 0.11.x documentation (#1579)
## Description Freezes the v0.11.0 docs as `0.11.x` and makes it the default version. Gallery links point at the gallery's `main`, as in #1447. Also renames the `0.10.0` version to `0.10.x` to match the other lines. ### Introduces a breaking change? - [ ] Yes - [x] No ### Type of change - [ ] Bug fix (change which fixes an issue) - [ ] New feature (change which adds functionality) - [x] Documentation update (improves or adds clarity to existing documentation) - [ ] Other (chores, tests, code style improvements etc.) ### Tested on - [ ] iOS - [ ] Android ### Testing instructions `cd docs && yarn docusaurus build` ### Screenshots ### Related issues ### Checklist - [x] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [x] I have updated the documentation accordingly - [x] My changes generate no new warnings
1 parent 2c2069a commit a597acf

740 files changed

Lines changed: 39763 additions & 14 deletions

File tree

Some content is hidden

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

‎docs/docusaurus.config.js‎

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ const darkCodeTheme = require('./src/theme/CodeBlock/highlighting-dark.js');
44
/** @type {import('@docusaurus/types').Config} */
55
const config = {
66
title: 'React Native ExecuTorch',
7-
tagline:
8-
'Declarative way to run AI models in React Native on device, powered by ExecuTorch',
7+
tagline: 'Declarative way to run AI models in React Native on device, powered by ExecuTorch',
98
favicon: 'img/favicon.ico',
109

1110
url: 'https://docs.swmansion.com',
@@ -34,9 +33,8 @@ const config = {
3433
breadcrumbs: true,
3534
sidebarPath: require.resolve('./sidebars.js'),
3635
sidebarCollapsible: false,
37-
editUrl:
38-
'https://github.com/software-mansion/react-native-executorch/edit/main/docs',
39-
lastVersion: '0.10.0',
36+
editUrl: 'https://github.com/software-mansion/react-native-executorch/edit/main/docs',
37+
lastVersion: '0.11.x',
4038
versions: {
4139
// === LEGACY SUPPORT ===: versioned docs for the legacy API (remove when legacy API is dropped)
4240
'0.10.0-legacy': {
@@ -83,10 +81,7 @@ const config = {
8381
({
8482
markdown: {
8583
enableFiles: true,
86-
excludeRoutes: [
87-
'**/react-native-executorch/search',
88-
'**/api-reference/**',
89-
],
84+
excludeRoutes: ['**/react-native-executorch/search', '**/api-reference/**'],
9085
includeVersionedDocs: false,
9186
relativePaths: false,
9287
},
@@ -171,8 +166,7 @@ const config = {
171166
'aria-label': 'Discord server',
172167
},
173168
{
174-
'href':
175-
'https://github.com/software-mansion/react-native-executorch',
169+
'href': 'https://github.com/software-mansion/react-native-executorch',
176170
'position': 'right',
177171
'className': 'header-github',
178172
'aria-label': 'GitHub repository',
@@ -182,8 +176,7 @@ const config = {
182176
footer: {
183177
style: 'light',
184178
links: [],
185-
copyright:
186-
'All trademarks and copyrights belong to their respective owners.',
179+
copyright: 'All trademarks and copyrights belong to their respective owners.',
187180
},
188181
prism: {
189182
additionalLanguages: ['bash'],

docs/versioned_docs/version-0.10.0/01-fundamentals/01-getting-started.md renamed to docs/versioned_docs/version-0.10.x/01-fundamentals/01-getting-started.md

docs/versioned_docs/version-0.10.0/01-fundamentals/02-downloading-models.md renamed to docs/versioned_docs/version-0.10.x/01-fundamentals/02-downloading-models.md

docs/versioned_docs/version-0.10.0/01-fundamentals/03-migrating-from-v0-9.md renamed to docs/versioned_docs/version-0.10.x/01-fundamentals/03-migrating-from-v0-9.md

docs/versioned_docs/version-0.10.0/01-fundamentals/_category_.json renamed to docs/versioned_docs/version-0.10.x/01-fundamentals/_category_.json

File renamed without changes.

docs/versioned_docs/version-0.10.0/02-extensions/_category_.json renamed to docs/versioned_docs/version-0.10.x/02-extensions/_category_.json

File renamed without changes.

docs/versioned_docs/version-0.10.0/02-extensions/computer-vision/02-image-classification.md renamed to docs/versioned_docs/version-0.10.x/02-extensions/computer-vision/02-image-classification.md

docs/versioned_docs/version-0.10.0/02-extensions/computer-vision/03-object-detection.md renamed to docs/versioned_docs/version-0.10.x/02-extensions/computer-vision/03-object-detection.md

docs/versioned_docs/version-0.10.0/02-extensions/computer-vision/04-pose-and-keypoints.md renamed to docs/versioned_docs/version-0.10.x/02-extensions/computer-vision/04-pose-and-keypoints.md

docs/versioned_docs/version-0.10.0/02-extensions/computer-vision/05-optical-character-recognition.md renamed to docs/versioned_docs/version-0.10.x/02-extensions/computer-vision/05-optical-character-recognition.md

0 commit comments

Comments
 (0)