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:
libraries:
plant-core:
input:
path: ../plant-core-cpp
output:
path: ./static/plant-core-docs
lang: cpp
fern docs md generate --localFetched June 20, 2026

