Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

1. Home

Cesar Parra edited this page Sep 9, 2024 · 1 revision

Welcome to the ApexDocs wiki!


ApexDocs is a non-opinionated documentation generator for Salesforce Apex classes. It can output documentation in Markdown format, which allows you to use the Static Site Generator of your choice to create a documentation site that fits your needs, hosted in any static web hosting service.

πŸ’Ώ Installation

npm i -g @cparra/apexdocs

⚑ Quick Start

CLI

Markdown

Run the following command to generate markdown files for your global Salesforce Apex classes:

apexdocs markdown -s force-app

OpenApi

Run the following command to generate an OpenApi REST specification for your Salesforce Apex classes annotated with @RestResource:

apexdocs openapi -s force-app

πŸš€ Features

  • Generate documentation for Salesforce Apex classes as Markdown files
  • Generate an OpenApi REST specification based on @RestResource classes
  • Support for grouping blocks of related code within a class
  • Support for ignoring files and members from being documented
  • Namespace support
  • Configuration file support
  • Single line ApexDoc Blocks
  • Custom tag support
  • And much, much more!

Clone this wiki locally

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /