Skip to content

Commit b301242

Browse files
author
Zakk
committed
initial setup for nextra docs site
1 parent 14a71b1 commit b301242

30 files changed

+2234
-35
lines changed

.gitignore

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
node_modules
2+
.next
3+
.DS_Store
4+
yarn-error.log
5+
.yalc
6+
yalc.lock
7+
8+
public/*.st
9+
public/*.toml
10+
public/.nextra
11+
.vercel

SUMMARY.md

-30
This file was deleted.

core-concepts/payout-strategy/payout-strategy-template.md

-2
This file was deleted.

core-concepts/voting-strategy/voting-strategy-template.md

-3
This file was deleted.

next.config.js

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
const withNextra = require('nextra')({
2+
theme: 'nextra-theme-docs',
3+
themeConfig: './theme.config.jsx'
4+
})
5+
6+
module.exports = withNextra()
7+
8+
// If you have other Next.js configurations, you can pass them as the parameter:
9+
// module.exports = withNextra({ /* other next.js config */ })

package.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"dependencies": {
3+
"next": "^13.4.3",
4+
"react": "^18.2.0",
5+
"react-dom": "^18.2.0",
6+
"nextra-theme-docs": "^2.6.0"
7+
}
8+
}

pages/_meta.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"index": "Start Here",
3+
"getting-started": "Getting Started",
4+
"core-concepts": "Core Concepts",
5+
"voting-strategy": "Voting Strategy",
6+
"payout-strategy": "Payout Strategy",
7+
"extras": "Extras"
8+
}

pages/core-concepts/_meta.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"conceptual-overview": "",
3+
"project-registry": "",
4+
"program": "",
5+
"round": "",
6+
"voting-strategy": "",
7+
"payout-strategy": ""
8+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

README.md pages/index.md

File renamed without changes.

pages/payout-strategy/_meta.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"getting-started": "Getting Started",
3+
"interface-and-spec": "Interface and Spec",
4+
"writing-a-custom-payout-strategy": "Writing a Custom Payout Strategy",
5+
"security-considerations": "Security Considerations",
6+
"strategy-starter-kit": {
7+
"title": "Strategy Starter Kit",
8+
"href": "https://github.com/orgs/allo-protocol/repositories",
9+
"newWindow": true
10+
}
11+
}

pages/voting-strategy/_meta.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"getting-started": "Getting Started",
3+
"interface-and-spec": "Interface and Spec",
4+
"writing-a-custom-voting-strategy": "Writing a Custom Voting Strategy",
5+
"security-considerations": "Security Considerations",
6+
"strategy-starter-kit": {
7+
"title": "Strategy Starter Kit",
8+
"href": "https://github.com/orgs/allo-protocol/repositories",
9+
"newWindow": true
10+
}
11+
}

0 commit comments

Comments
 (0)