Skip to content

Doc Gen Home

Salesforce Project Documentation

Turn your Salesforce project into a beautiful, searchable documentation website with a single command. Every Flow, Object, Profile, Apex class, and Lightning Page becomes browsable, AI-explained, and version-tracked.

Documentation site preview

Activate AI integration to add natural-language explanations and visual Flow diff history to your docs.


Why generate it?

  • Onboard faster: new developers and admins explore the org without opening Setup.
  • Track changes: visualize how Flows evolve over time with diff history.
  • Share knowledge: publish the documentation as a static website, on Confluence, or inside Salesforce itself.
  • Stay in sync: regenerate on demand, or wire it into sfdx-hardis Monitoring to keep it automatically up to date.

What gets documented

Data Model

  • Objects with fields, validation rules, relationships, and dependencies
  • Object diagrams

Automations

  • Approval Processes
  • Assignment Rules
  • AutoResponse Rules
  • Escalation Rules
  • Flows (with visual diff history)

Authorizations

  • Profiles
  • Permission Sets
  • Permission Set Groups

Code

  • Apex classes and triggers
  • Lightning Web Components

Configuration

  • Lightning Pages
  • Packages
  • Manifests
  • sfdx-hardis configuration
  • Branches and orgs strategy (CI/CD projects)

A look inside

Object diagrams show relationships at a glance.

Object diagram example

Apex classes are documented with AI-generated summaries.

Apex documentation example

Profiles and Permission Sets become searchable and reviewable.

Profile documentation example

For sfdx-hardis CI/CD projects, a branches and orgs strategy diagram is also generated.

Branches and orgs strategy diagram


Publish anywhere

The output is plain Markdown powered by MkDocs Material, so you can:

Documentation hosted on Confluence


Next steps