Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Open-source CLI that transforms Markdown files into modern JAMStack documentation websites deployable to GitHub Pages.
CODEDOC is an open-source documentation generator that compiles Markdown files into a modern JAMStack website you can deploy to GitHub Pages.
CODEDOC is an open-source command-line tool for building software documentation websites. It takes Markdown files (stored by default in docs/md/) as input and produces a static JAMStack app as output, which can be deployed to services like GitHub Pages. The tool runs on Node.js via npm and is maintained by the CONNECT-platform GitHub organization. It is built on a set of open-source libraries, including webpack, jsdom, Marked.js, Prism, KaTeX, Express, and RxJS.
npm i -g @codedoc/cli, then run codedoc init to set up a project, codedoc serve for a local development server with real-time reload, and codedoc build to generate the deployable site.docs/md/ (e.g., docs/md/index.md), so writers can use familiar Markdown syntax.color library provides automatic color deduction and manipulation for themes.select library.docs/md/ folder and deploy it to GitHub Pages with a simple git push.codedoc init to scaffold a project, then start editing Markdown; the local server with codedoc serve reflects changes in real time.codedoc build, push the generated output to a GitHub repository, and the documentation is published as a static site.npm i -g @codedoc/cli.codedoc init to create the initial configuration and default docs/md/ folder.codedoc serve to start a local development server that watches markdown and config files, using ts-node-dev for live updates.codedoc build to compile the final static site.Yes, CODEDOC is open-source, released under a license that allows free use. The CLI is installed via npm and the source code is available on GitHub under the CONNECT-platform organization.
CODEDOC builds a JAMStack application — a static site that runs without a dedicated backend — from your Markdown files. This output can be hosted on static hosting services like GitHub Pages, making it easy to publish project documentation.
Beyond standard Markdown, CODEDOC supports syntax highlighting via Prism, LaTeX formula rendering via KaTeX, and custom TSX components. This gives documentation authors more expressive power than plain Markdown alone.
Yes, CODEDOC is installed and run through npm, so Node.js and npm are required to use the CLI. The generated site is static, but the build tooling runs on Node.js.
Yes, the documentation specifically mentions deploying to GitHub Pages. After running codedoc build, you push the changes to your repository and the static site is served from GitHub Pages.
