Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

JustLend DAO Documentation

This is the official developer documentation for the JustLend DAO, providing comprehensive development guides and API references.

🚀 Community

🔧 Tech Stack

🛠️ Local Development

Use Node.js 24.22.3 (pinned in .nvmrc and CI) for the Swagger UI assets and verification scripts. With nvm installed, run nvm install && nvm use before the commands below. MkDocs uses Python 3.12. Install the locked dependencies in a fresh virtual environment so packages from the system Python do not affect the build:

npm ci --ignore-scripts
python3.12 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements-bootstrap.txt
python -m pip install -r requirements.txt
mkdocs serve

Before opening a pull request, run:

mkdocs build --strict
python scripts/verify-swagger-ui.py site

After installation, the Pages build and its asset checks run without contacting advisory services. The Python plugin generates the iframe; the JS, CSS, OAuth redirect and license notices come from the pinned swagger-ui-dist package. The check compares the two scripts the iframe loads with the locked assets, allowing only removal of a terminal local source-map directive.

The independent Audit documentation dependencies workflow runs on dependency-related PRs, weekly, and on manual dispatch. It audits the build and test locks separately (including the pip bootstrap in both), the npm installation tree, and the components named in Swagger UI's bundle inventory. Ordinary npm audit cannot see modules compiled into those bundles. To run the bundle scan locally, use python scripts/verify-swagger-ui.py --audit. It queries the lock at the embedded build revision and the npm advisory registry. If the lock lists several versions of a named component, the scan checks all of them. High or critical advisories for these candidates fail this audit; upstream-only package names are excluded. An unavailable feed fails the audit, not the Pages deployment.

For the documentation verification regressions (offline; no wallet signing or broadcasts):

python -m pip install -r requirements-test.txt
node scripts/verify-ai-consistency.mjs
node scripts/normalize-mcp-catalog.mjs --check
node --test scripts/api-acceptance.test.mjs
python scripts/test-published-assets.py
python scripts/test-docs-regressions.py
mkdocs build --strict
DOCS_SITE_DIR=site python scripts/test-docs-regressions.py

Product-facing interface sources, targets, verification dates and coverage belong in docs/developers/abis/manifest.json and the related reference pages. Offline observations used by regressions are in scripts/fixtures/docs-verification/abi-provenance-20261014.json, outside the published docs/ tree. Issue checklists, acceptance status and full collection archives belong in the PR or local review report, not site navigation or search.

After importing the generated MCP catalog, run node scripts/normalize-mcp-catalog.mjs to apply the docs-local table escaping and transaction/configuration distinctions.

When updating Python dependencies, edit the .in files and regenerate both locks in order (use --upgrade-package NAME to refresh a transitive pin):

uv pip compile --universal --python-version 3.12 --annotation-style line -o requirements.txt requirements.in
uv pip compile --universal --python-version 3.12 --annotation-style line -o requirements-test.txt requirements-test.in

🤝 Contact Us

📚 Related Links

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages