Proof-of-concept, ultra-primitive HTML doc generation from a fnhouse API spec, including schemas and per-namespace handler doc pages.
Proof-of-concept, ultra-primitive HTML doc generation from a fnhouse API spec, including schemas and per-namespace handler doc pages.
Generate HTML for docs, given the output of all-docs as :api-docs resource
Generate HTML for docs, given the output of all-docs as :api-docs resource
(all-docs handler-infos)
Inputs: [handler-infos :- [schemas/HandlerInfo]]
Generate HTML for handlers and schemas from a sequence of HandlerInfo descriptions.
Inputs: [handler-infos :- [schemas/HandlerInfo]] Generate HTML for handlers and schemas from a sequence of HandlerInfo descriptions.
(dirty-hack s)
Replace linked schemas in the HTML output with links to the corresponding schemas.
Replace linked schemas in the HTML output with links to the corresponding schemas.
(extract-schemas schemas-atom form)
Extract schemas, replacing defschemas with references to name to be replace with links using dirty-hack below.
Extract schemas, replacing defschemas with references to name to be replace with links using dirty-hack below.
(walk inner outer form)
A version of clojure.walk/walk, extended to work on records.
A version of clojure.walk/walk, extended to work on records.
(write-docs! handler-infos output-dir)
Inputs: [handler-infos :- [schemas/HandlerInfo] output-dir :- String]
Write handlers.html and schemas.html to output-dir from sequence of HanderInfo descriptions.
Inputs: [handler-infos :- [schemas/HandlerInfo] output-dir :- String] Write handlers.html and schemas.html to output-dir from sequence of HanderInfo descriptions.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close