docs/docs/docs2website/programatic-use.md

449 B

title, layout, breadcrumb
title layout breadcrumb
Programatic Use | docs2website main.html
[doc-utils](index.html)
[docs2website](docs2website/index.html)

Programatic Use {#/}

todo

import { read_config, build_docs_project } from '@doc-utils/docs2website';

// Read and validate a configuration file
const config = await read_config('path/to/config.yaml');

// Build a project with the given configuration
await build_docs_project(config);