Skip to content

Commit

Permalink
docs compile, pending overview
Browse files Browse the repository at this point in the history
  • Loading branch information
jordaniza committed Feb 25, 2025
1 parent db88689 commit 34956bb
Show file tree
Hide file tree
Showing 9 changed files with 3,239 additions and 341 deletions.
9 changes: 8 additions & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,11 @@

== Core

{{VotingEscrowIncreasing}}
{{VotingEscrow}}
{{ExitQueue}}
{{QuadraticIncreasingEscrow}}
{{SimpleGaugeVoter}}
{{SimpleGaugeVoterSetup}}
{{GaugesDAOFactory}}
{{Lock}}
{{Clock}}
1 change: 1 addition & 0 deletions docs/modules/api/nav.adoc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.API
* xref:ve-governance.adoc[Ve Governance]
3,229 changes: 3,229 additions & 0 deletions docs/modules/api/pages/ve-governance.adoc

Large diffs are not rendered by default.

165 changes: 0 additions & 165 deletions docs/templates/contract.hbs

This file was deleted.

83 changes: 0 additions & 83 deletions docs/templates/helpers.js

This file was deleted.

4 changes: 0 additions & 4 deletions docs/templates/page.hbs

This file was deleted.

85 changes: 0 additions & 85 deletions docs/templates/properties.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"solc": "0.8.17"
},
"scripts": {
"docs": "script/prepare-docs.sh && node ./script/prepare-docs.js"
"docs": "script/prepare-docs.sh && bun ./script/prepare-docs.js"
},
"repository": {
"type": "git",
Expand Down
2 changes: 0 additions & 2 deletions script/prepare-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ async function main() {

const o = await output;
console.log("Generating docs...");
console.log("Output", o);
await docgen.main([{ input, output: o }], config);

const navOutput = execSync(`${RUNTIME} script/gen-nav.js ${apiPath}/pages`, {
Expand All @@ -118,7 +117,6 @@ async function main() {
// Write the output to the target file
const targetFilePath = `${apiPath}/nav.adoc`;
console.log("Writing nav to", targetFilePath);
console.log(navOutput);
fs.writeFileSync(targetFilePath, navOutput, "utf8");

fs.rm(templatesPath, { recursive: true, force: true }, () => {});
Expand Down

0 comments on commit 34956bb

Please sign in to comment.