changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > core / lisp/lib/doc/comp.lisp

changeset 698: 96958d3eb5b0
parent: b7183bfd7107
author: Richard Westhaver <ellis@rwest.io>
date: Fri, 04 Oct 2024 22:04:59 -0400
permissions: -rw-r--r--
description: fixes
1 ;;; lib/doc/comp.lisp --- Documentation Compiler
2 
3 ;; easiest way to ensure consistency in our docs is to compile them :)
4 
5 ;;; Code:
6 (in-package :doc)
7 
8 ;; Q 2023-12-28: generic compiler functions? hmm..
9 
10 (defun compile-symbol-documentation (sym &key path))
11 
12 (defun compile-package-documentation (pkg &key path))
13 
14 (defun compile-file-documentation (file &key path)
15  (with-compilation-unit (:policy '(optimize))
16  (restrict-compiler-policy 'debug 3)
17  (restrict-compiler-policy 'safety 3)
18  (load file :verbose t)))
19 
20 (defun compile-system-documentation (sys &key path)
21  (unless (typep sys 'system)
22  (setf sys (find-system sys)))
23  (let ((sys-desc (system-description sys)))))