3.2.1 • Published 9 months ago

omnidoc v3.2.1

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
github
Last release
9 months ago

Features

  • 📝 Quickly start authoring MDX
  • ✅ Type-check content
  • 📘 Generate type documentation
  • 📊 Gather module metadata
  • 🖼️ Preview source code examples
  • 📁 Generate file-based routes
  • 🌈 Accurately highlight code blocks

Getting Started

npm install omnidoc

After installing the package and required dependencies, you can start creating content or documentation using any framework that supports React Server Components.

To get started, use the createCollection function to render a collection of files from the file system:

import { createCollection } from 'omnidoc/collections'

const posts = createCollection('docs/*.mdx')

export default async function Page({ params }) {
  const Content = await posts
    .getSource(params.slug)
    .getDefaultExport()
    .getValue()

  return <Content />
}

There are many different components to help facilitate writing technical content. Visit the site to view the full documentation and learn more about the features and capabilities of Omnidoc.

License

AGPLv3 © souporserious

3.2.1

9 months ago

3.2.0

9 months ago

3.1.1

10 months ago

3.1.0

10 months ago

3.0.1

10 months ago

3.0.0

10 months ago

0.0.0

12 months ago