-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Migrate to Nextra 3 * Migrate to Nextra 3 * Upgrade to nextra 3.0.5 * Fix failing CI * Fix issue with navigation bar ordering
- Loading branch information
Showing
13 changed files
with
1,777 additions
and
1,318 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
const withNextra = require('nextra')({ | ||
import nextra from 'nextra'; | ||
|
||
const withNextra = nextra({ | ||
theme: 'nextra-theme-docs', | ||
themeConfig: './theme.config.tsx', | ||
defaultShowCopyCode: true, | ||
}); | ||
|
||
module.exports = { | ||
...withNextra(), | ||
export default withNextra({ | ||
output: 'export', | ||
images: { | ||
unoptimized: true, | ||
}, | ||
}; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
export default { | ||
index: { | ||
title: 'Home', | ||
type: 'page' | ||
}, | ||
docs: { | ||
title: 'Documentation', | ||
type: 'page' | ||
}, | ||
social: { | ||
title: 'Core Team', | ||
type: 'menu', | ||
items: { | ||
'x-joe': { | ||
title: 'Joe Kawai', | ||
href: 'https://x.com/kawaijoe' | ||
}, | ||
'x-matthias': { | ||
title: 'Matthias Ngeo', | ||
href: 'https://x.com/matthiasngeo' | ||
} | ||
} | ||
} | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
export default { | ||
index: 'Getting Started', | ||
themes: 'Themes', | ||
'icon-library': 'Icon Library', | ||
api_reference: { | ||
title: 'API Reference ↗', | ||
href: 'https://pub.dev/documentation/forui', | ||
newWindow: true | ||
}, | ||
pub_dev: { | ||
title: 'Pub Dev ↗', | ||
href: 'https://pub.dev/packages/forui', | ||
newWindow: true | ||
}, | ||
|
||
'-- widgets': { | ||
type: 'separator', | ||
title: 'Widgets' | ||
}, | ||
// TODO: Workaround for a seperator bug. Remove when patched. | ||
// A page need to be listed after a separator or else the order will be messed up. | ||
accordion: 'Accordion', | ||
'*': { | ||
title: '' | ||
}, | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.