Skip to content

Commit 766eac5

Browse files
author
Zakk
committed
refactor theme for allo v2; build out stubs for new pages
1 parent 680fdf0 commit 766eac5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+219
-357
lines changed

next.config.js

+6-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ const withNextra = require('nextra')({
22
theme: 'nextra-theme-docs',
33
themeConfig: './theme.config.jsx'
44
})
5+
6+
/** @type {import('next').NextConfig} */
7+
const config = {
8+
9+
}
510

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 */ })
11+
module.exports = withNextra(config)

package.json

+8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
{
2+
"name": "Allo v2 Documentation",
3+
"version": "0.0.1",
4+
"description": "Documentation for the second version of Gitcoin's Allo Protocol",
5+
"scripts": {
6+
"dev": "next dev",
7+
"build": "next build",
8+
"start": "next start"
9+
},
210
"dependencies": {
311
"next": "^13.4.3",
412
"react": "^18.2.0",

pages/_meta.json

+25-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,27 @@
11
{
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-
"project-registry": "Project Registry",
8-
"extras": "Extras"
2+
"index": {
3+
"title": "Introduction",
4+
"type": "page",
5+
"display": "hidden"
6+
},
7+
"overview": {
8+
"title": "Overview",
9+
"type": "page"
10+
},
11+
"allo": {
12+
"title": "Allo",
13+
"type": "page"
14+
},
15+
"strategies": {
16+
"title": "Strategies",
17+
"type": "page"
18+
},
19+
"project-registry": {
20+
"title": "Project Registry",
21+
"type": "page"
22+
},
23+
"blog": {
24+
"title": "Blog",
25+
"type": "page"
26+
}
927
}

pages/allo/_meta.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

pages/allo/index.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Allo

pages/blog.mdx

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Blog
2+
3+
test

pages/blog/custom-registry.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: "Creating Your own Registry of Projects"
3+
date: 2023-07-14
4+
summary: "This tutoral walks you through how to build a simple registry of identities. It uses a token and staking to curate a list of identities, which could be projects, guilds, workstreams, or subDAOs."
5+
---
6+
7+
# Creating Your Own Registry of Projects

pages/core-concepts/_meta.json

-8
This file was deleted.

pages/core-concepts/payout-strategy.md

-36
This file was deleted.

pages/core-concepts/program.mdx

-28
This file was deleted.

pages/overview/_meta.json

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"index": "Overview",
3+
"concepts": {
4+
"type": "separator",
5+
"title": "Core Concepts"
6+
},
7+
"pool": "Pool",
8+
"allocation-strategy": "Allocation Strategy",
9+
"project-registry": "Project Registry",
10+
"aqueduct": "Aqueduct",
11+
"extra": {
12+
"type": "separator",
13+
"title": "Extras"
14+
},
15+
"contracts": "Contracts",
16+
"subgraph": "Subgraph",
17+
"allo-improvement-proposals": "Allo Improvement Proposals",
18+
"getting-involved": "Getting Involved"
19+
}
File renamed without changes.

pages/overview/aqueduct.mdx

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Aqueduct
2+
3+
- What is it? What problem does it solve?
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

pages/payout-strategy/_meta.json

-11
This file was deleted.

pages/payout-strategy/getting-started.mdx

-48
This file was deleted.

pages/payout-strategy/interface-and-spec.md

-69
This file was deleted.

pages/payout-strategy/security-considerations.md

-32
This file was deleted.

0 commit comments

Comments
 (0)