Skip to content

Commit

Permalink
updated to nextra 3
Browse files Browse the repository at this point in the history
  • Loading branch information
benediktschwab committed Oct 2, 2024
1 parent 4e867df commit 361d4fc
Show file tree
Hide file tree
Showing 13 changed files with 1,398 additions and 1,021 deletions.
30 changes: 0 additions & 30 deletions components/blog-index.tsx

This file was deleted.

16 changes: 0 additions & 16 deletions next.config.js

This file was deleted.

14 changes: 14 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import nextra from 'nextra'

const withNextra = nextra({
theme: 'nextra-theme-docs',
themeConfig: './theme.config.tsx'
})

export default withNextra({
output: "export",
reactStrictMode: true,
images: {
unoptimized: true
}
})
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"@fontsource/open-sans": "^5.1.0",
"@reach/skip-nav": "^0.18.0",
"next": "^14.2.14",
"nextra": "2.13.4",
"nextra-theme-docs": "2.13.4",
"nextra": "3.0.2",
"nextra-theme-docs": "3.0.2",
"react": "18.3.1",
"react-dom": "18.3.1",
"sharp": "^0.33.5",
Expand Down
File renamed without changes.
9 changes: 1 addition & 8 deletions pages/_meta.json → pages/_meta.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
export default {
"index": {
"title": "Introduction",
"type": "page",
Expand All @@ -17,12 +17,5 @@
"href": "https://api.rtron.io",
"type": "page",
"newWindow": true
},
"blog": {
"title": "Blog",
"type": "page",
"theme": {
"sidebar": false
}
}
}
10 changes: 0 additions & 10 deletions pages/blog.mdx

This file was deleted.

3 changes: 0 additions & 3 deletions pages/blog/_meta.json

This file was deleted.

2 changes: 1 addition & 1 deletion pages/docs/_meta.json → pages/docs/_meta.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
export default {
"getting-started": "Getting Started",
"opendrive-feature-support": "OpenDRIVE Feature Support",
"opendrive-citygml-duality": "OpenDRIVE-CityGML Duality",
Expand Down
2 changes: 1 addition & 1 deletion pages/examples/_meta.json → pages/examples/_meta.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
export default {
"model-inspection": "Model Inspection",
"model-transformations": "Model Transformations",
"3dcitydb": "3D City Database",
Expand Down
2 changes: 1 addition & 1 deletion pages/examples/model-transformations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This workbench reads a transformed OpenDRIVE dataset and creates:
FME supports a [magnitude of formats](https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/Format-List-All.htm), including glTF, OBJ, and Unreal Datasmith.
Moreover, FME provides a [variety of transformers](https://www.safe.com/transformers/) that can be combined to realize feature manipulation tasks.

import { Callout } from 'nextra-theme-docs'
import { Callout } from 'nextra/components'

<Callout>
R:trån automatically outputs a CityGML v3.0 dataset; for CityGML v2.0, just add `--convert-to-citygml2` as CLI argument.
Expand Down
Loading

0 comments on commit 361d4fc

Please sign in to comment.