@markline/create
v0.1.5
Published
Scaffold a new Markline documentation project.
Maintainers
Readme
@markline/create
Scaffold a new Markline documentation project in one command.
npm create @markline@latest my-docs
cd my-docs
npm install
npm run devWhat it creates
A ready-to-edit docs project that depends on
@markline/markline:
my-docs/
├── docs.json # navigation, theme, branding, API settings
├── docs/ # your pages (*.mdx)
│ ├── index.mdx
│ └── quickstart.mdx
├── api/openapi.json # rendered as an interactive API reference
├── package.json # markline scripts + dependency
├── Dockerfile / .dockerignore # Node-server deploy
├── netlify.toml # static deploy
└── .github/workflows/deploy.yml # GitHub PagesThe new package is named after the target directory. If you omit the directory argument, the current directory is used.
Adding to an existing project
Skip the scaffolder and use the CLI directly:
npm install @markline/markline
npx markline initLicense
MIT
