chickadee » eggdoc » eggdoc:make-stylesheet

eggdoc:make-stylesheet DOCprocedure

Returns the default SXSLT stylesheet. This is a procedure because the stylesheet is built dynamically using the contents of the SXML document DOC. For example, the value of the (name) tag is retrieved at build time and inserted in the header and the usage information.

You can append to or modify this stylesheet and then pass it to eggdoc->html. This is done in doctype's eggdoc to provide a new tag, (strings), which makes the SXML much cleaner.

This procedure invokes eggdoc:make-html-stylesheet by default. However, it may be overridden by other eggs to return other stylesheet formats; for example, eggdoc-svnwiki may return an SXML->svnwiki stylesheet.