Set up default parents to use for xdoc.
When documenting a book of inter-related functions, you may
sometimes wish to use the same
The macro (set-default-parents &rest parents) can be used to set up a default list of parent topics to be automatically used by commands such as defxdoc and defsection.
Basic Example:
(local (set-default-parents fox-p)) (defxdoc make-fox ;; use default :parents, (fox-p) :short ... :long ...) (defsection feed-fox ;; use default :parents, (fox-p) :short ... :long ...) (defsection chase-mouse ;; use explicit :parents, (fox-p mouse-p) :parents (fox-p mouse-p) :short ... :long ...) (local (set-default-parents fox-p hawk-p)) (defsection bother-hawk ;; use default :parents, (fox-p hawk-p) :short ... :long ...) (local (set-default-parents nil)) (defxdoc zebra-p ;; use default :parents, nil :short ... :long ...)
Note that