Skip to content

Commit

Permalink
Remove versioning (#46)
Browse files Browse the repository at this point in the history
* Version documentation for 0.7.8

* Remove versioning
  • Loading branch information
InfraredAces authored Apr 10, 2024
1 parent 846faa0 commit a88943e
Show file tree
Hide file tree
Showing 451 changed files with 47 additions and 30,260 deletions.
67 changes: 0 additions & 67 deletions development/documentation-versioning.mdx

This file was deleted.

54 changes: 27 additions & 27 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
const lightCodeTheme = require("prism-react-renderer").themes.github;
const darkCodeTheme = require("prism-react-renderer").themes.dracula;

const releaseVersion = "0.7.7";
const releaseVersion = "0.7.8";

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down Expand Up @@ -51,7 +51,7 @@ const config = {
hashed: true,
highlightSearchTermsOnTargetPage: true,
docsRouteBasePath: "/",
indexBlog: false
indexBlog: false,
},
],
"@docusaurus/theme-mermaid",
Expand Down Expand Up @@ -82,42 +82,42 @@ const config = {
position: "right",
sidebarId: "docSidebar",
label: "Documentation",
docId: 'introduction',
docId: "introduction",
},
{
type: "docSidebar",
position: "right",
sidebarId: "webConfigSidebar",
label: "Web Config",
docId: 'introduction',
docId: "introduction",
},
{
to: '/development/contribution-guide',
label: 'Contribute',
position: 'right',
to: "/development/contribution-guide",
label: "Contribute",
position: "right",
// activeBaseRegex: `/development/`,
},
{
position: "right",
to: '/downloads',
to: "/downloads",
label: "Downloads",
},
// {
// type: "docsVersionDropdown",
// position: "left",
// dropdownActiveClassDisabled: true,
// },
{
type: "docsVersionDropdown",
position: "left",
dropdownActiveClassDisabled: true,
},
{
'aria-label': 'Discord Invite',
'className': 'navbar-discord-link',
'href': 'https://discord.gg/k2pxhke7q8',
'position': 'right',
"aria-label": "Discord Invite",
className: "navbar-discord-link",
href: "https://discord.gg/k2pxhke7q8",
position: "right",
},
{
'aria-label': 'GitHub Repository',
'className': 'navbar-github-link',
'href': 'https://github.com/OpenStickCommunity/GP2040-CE',
'position': 'right',
"aria-label": "GitHub Repository",
className: "navbar-github-link",
href: "https://github.com/OpenStickCommunity/GP2040-CE",
position: "right",
},
],
},
Expand Down Expand Up @@ -145,7 +145,7 @@ const config = {
performCleanup: false,
modifyContent(filename, content) {
if (filename.includes("README")) {
return content // <-- this last part adds in the rest of the content, which would otherwise be discarded
return content; // <-- this last part adds in the rest of the content, which would otherwise be discarded
}

// we don't want to modify this item, since it doesn't contain "README" in the name
Expand All @@ -166,13 +166,13 @@ const config = {
},
],
[
'content-docs',
"content-docs",
{
id: 'development',
path: 'development',
routeBasePath: 'development',
id: "development",
path: "development",
routeBasePath: "development",
editCurrentVersion: true,
sidebarPath: './sidebarsDevelopment.json',
sidebarPath: "./sidebarsDevelopment.json",
},
],
],
Expand Down
41 changes: 20 additions & 21 deletions sidebarsDevelopment.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
{
"development": [
"contribution-guide",
{
"type": "category",
"label": "Firmware",
"collapsed": false,
"items": ["firmware-development"]
},
{
"type": "category",
"label": "Documentation",
"collapsed": false,
"items": [
"documentation-style-guide",
"documentation-versioning",
"documentation-preview",
"documentation-update-downloads"
]
},
"templates"
"development": [
"contribution-guide",
{
"type": "category",
"label": "Firmware",
"collapsed": false,
"items": ["firmware-development"]
},
{
"type": "category",
"label": "Documentation",
"collapsed": false,
"items": [
"documentation-style-guide",
"documentation-preview",
"documentation-update-downloads"
]
}
},
"templates"
]
}
10 changes: 0 additions & 10 deletions src/theme/NavbarItem/DocsVersionDropdownNavbarItem.js

This file was deleted.

23 changes: 0 additions & 23 deletions versioned_docs/version-0.7.5/add-ons/analog.md

This file was deleted.

15 changes: 0 additions & 15 deletions versioned_docs/version-0.7.5/add-ons/bootsel-button.md

This file was deleted.

15 changes: 0 additions & 15 deletions versioned_docs/version-0.7.5/add-ons/buzzer-speaker.md

This file was deleted.

27 changes: 0 additions & 27 deletions versioned_docs/version-0.7.5/add-ons/dual-direction-input.md

This file was deleted.

14 changes: 0 additions & 14 deletions versioned_docs/version-0.7.5/add-ons/extra-button.md

This file was deleted.

15 changes: 0 additions & 15 deletions versioned_docs/version-0.7.5/add-ons/focus-mode.md

This file was deleted.

17 changes: 0 additions & 17 deletions versioned_docs/version-0.7.5/add-ons/i2c-analog-ads1219.md

This file was deleted.

18 changes: 0 additions & 18 deletions versioned_docs/version-0.7.5/add-ons/input-reverse.md

This file was deleted.

Loading

0 comments on commit a88943e

Please sign in to comment.