June 13, 2026

Local library docs generation

You can now generate library documentation from local source code using the --local flag. Instead of pushing to a remote repository and parsing on Fern’s servers, fern docs md generate --local parses the source locally. This doesn’t require you to be logged in to Fern.

To use local generation, set your library’s input to a path instead of a git URL:

docs.yml
1libraries:
2 plant-core:
3 input:
4 path: ../plant-core-cpp
5 output:
6 path: ./static/plant-core-docs
7 lang: cpp
$fern docs md generate --local
Read the docs