Skip to content

Commit

Permalink
docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
William committed Apr 17, 2023
1 parent fa093c0 commit 7e3a63c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
11 changes: 9 additions & 2 deletions docs/next.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
const withNextra = require('nextra')({
distDir: '../build',
theme: 'nextra-theme-docs',
themeConfig: './theme.config.jsx',
});

module.exports = withNextra();
const config = {
...withNextra(),
distDir: '../build',
// output: 'export',
};

delete config.rewrites;

module.exports = config;
2 changes: 1 addition & 1 deletion docs/pages/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: About
title: Home
---

# Native runtime type checking
Expand Down
5 changes: 5 additions & 0 deletions docs/theme.config.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,9 @@ export default {
project: {
link: 'https://github.com/Prefinem/nativemodels',
},
useNextSeoProps() {
return {
titleTemplate: '%s – Native Models',
};
},
};

0 comments on commit 7e3a63c

Please sign in to comment.