Skip to main content

Simple Project Examples

RFC Status: This section contains proposed examples for the OpenDocs Specification RFC.These examples are provided to illustrate how the specification could be implemented. Provide feedback to help refine these examples.

Simple TypeScript Library

This example demonstrates the most basic OpenDocs implementation for a single-language TypeScript utility library.

Project Structure

opendocs.json Configuration

Generated Documentation

Sample DocItems

Key Takeaways

  • Embedded Format: Simple projects can use "type": "embedded" to keep all DocItems in the opendocs.json file
  • Minimal Configuration: Only requires basic metadata and project information
  • Single Navigation Group: Groups all API items under one navigation section
  • JSON Format: Ideal for projects with fewer than 100 documented items

See Also


This example is part of the OpenDocs Specification RFC. Provide feedback to help improve it.