example/documentation for use as linked library

There any example/documentation to get the rendered code using the library and not the external standalone program?