Full build: Vite/React acid-terminal frontend (BEARER design system, Panchang/Sentient/Fragment Mono, neon layer, palette audit script), HoodquidityVaults Foundry contracts (single+dual deposits via Chainlink-style feeds, hybrid exit, 10% platform fee, boost, Genesis LP), Reown AppKit wallet connect with Robinhood Chain testnet (46630), live data from Dexscreener and onchain reads, partner portal, design-sync setup for claude.ai/design. Deploy: static via Forgejo Actions platform, BUILD_DIR=apps/web/dist (.env). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
21 lines
748 B
JavaScript
21 lines
748 B
JavaScript
const path = require('path');
|
|
const fs = require('fs');
|
|
|
|
/** @type import('solidity-docgen/dist/config').UserConfig */
|
|
module.exports = {
|
|
outputDir: 'docs/modules/api/pages',
|
|
templates: 'docs/templates',
|
|
exclude: ['mocks'],
|
|
pageExtension: '.adoc',
|
|
pages: (_, file, config) => {
|
|
// For each contract file, find the closest README.adoc and return its location as the output page path.
|
|
const sourcesDir = path.resolve(config.root, config.sourcesDir);
|
|
let dir = path.resolve(config.root, file.absolutePath);
|
|
while (dir.startsWith(sourcesDir)) {
|
|
dir = path.dirname(dir);
|
|
if (fs.existsSync(path.join(dir, 'README.adoc'))) {
|
|
return path.relative(sourcesDir, dir) + config.pageExtension;
|
|
}
|
|
}
|
|
},
|
|
};
|