Skip to main contentSkip to content

Updated Aug 20, 2026

Doc ↔ build mapping (source of truth for drift checks)

This file is used by docs-automation/check-docs-sync.js and the docs-intel pipeline to keep VitePress documentation aligned with the product build.

Last updated: 2026–05-26

Code sources (not lend-api-sim):

LayerPath
v2 frontend routeslend-frontend-repo/src/lib/constants/routes.ts
v2 frontend routerlend-frontend-repo/src/features/LendAPIApp.tsx
v2 feature moduleslend-frontend-repo/src/features/<name>/
Django URL mountsrepo/lendapi/urls.py
Per-app routes/APIsrepo/<app>/urls.py (e.g. repo/application/urls.py)

Doc section ↔ product areas

Doc folderBackend mountFrontend feature(s)v2 route prefixes (sample)Required doc
docs/getting-started/profiles//login/, /profileyes
docs/applications/application/applications/application/applications/, /application/detail/yes
docs/customers/customers/customers/application/customers/yes
docs/tenant-and-workspace/tenant/, profiles/, billing/, sso/settings, dashboard, tenants/settings/workspace/, /stats/, /tenants/yes
docs/pricing-engine/offer/pricing-engine/pricing-engine/yes
docs/rules-and-decisions/rules/, workflow/rules-studio, decision-outcomes/rules/, /decision-outcomes/yes
docs/templates/emails/templates/templates/yes
docs/products/products/, page_builder/product-studio, model-studio/product-studio/, /model-studio/yes
docs/documents-and-contracts/docs/contract-builder, doc-library, doc-upload-templates/docs/contracts/, /docs/doc_lib/, /doc-upload-templates/yes
docs/leads-and-marketplace/leads/, campaign/lead-gen/lead-gen/yes
(optional — no doc folder)provider/integrations/integrations/, /provider/providersno
(optional — no doc folder)flow_builder/workflow-builder/flow-builder/no
(optional — no doc folder)backtest/, abtest/, shadowtest/backtest, abtest, shadowtest/backtest/, /abtest/, /shadowtest/no
(optional — no doc folder)lender/lenders/lenders/no
(optional — no doc folder)labs/labs/labs/no
(optional — no doc folder)kyb//kyb/no
(optional — no doc folder)applicant/applicant/applicant/no
(optional — no doc folder)api/v1/REST v1 (external)no

API prefix notes (dashboard v2)

Mounted under Django repo/lendapi/urls.py. Representative JSON API paths (full paths are <mount>api/...):

AreaExample API path (after site root)
Applicationsapplication/api/applications/, application/api/app/<session>/detail/
Customerscustomers/api/... (see repo/customers/urls.py)
Tenant / profiletenant/api/..., profiles/api/...
Pricingoffer/api/offer_tables/...
Rulesrules/api/...
Templatesemails/api/...
Productsproducts/api/...
Documentsdocs/api/...
Leadsleads/api/...

Non-doc paths under docs/

These directories/files are not VitePress content. Ignored by check-docs-sync.js:

  • images/ — static assets
  • node_modules/ — local npm install (should not be committed)
  • migrations/, static/ — legacy artifacts; do not treat as doc sections

Versioning

  • Each doc page should include frontmatter (see docs/_templates/page-frontmatter.md).
  • Doc-wide changes are recorded in CHANGELOG.md.

LendAPI Field Guide.