-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IGNORE-PACKAGES argument was added to DEFSECTION macro.
Packages listed in this argument allows to muffle this warning: ``` Object referenced as #<XREF FOO:BAR CLASS> in \"Some section\" is not documented. ```
- Loading branch information
1 parent
66a4d43
commit 9124b04
Showing
7 changed files
with
282 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
(uiop:define-package #:40ants-doc-full/errors | ||
(:use #:cl) | ||
(:import-from #:serapeum | ||
#:soft-list-of) | ||
(:export #:40ants-doc-warning | ||
#:object-is-not-documented | ||
#:object-reference | ||
#:breadcrumbs)) | ||
(in-package #:40ants-doc-full/errors) | ||
|
||
|
||
(define-condition 40ants-doc-warning (warning) | ||
()) | ||
|
||
|
||
(define-condition object-is-not-documented (40ants-doc-warning) | ||
((reference :initarg :reference | ||
:reader object-reference | ||
:documentation "Object of class 40ANTS-DOC-FULL/COMMONDOC/XREF:XREF.") | ||
(breadcrumbs :initarg :breadcrumbs | ||
:type (soft-list-of string) | ||
:reader breadcrumbs)) | ||
(:report (lambda (err stream) | ||
(format stream | ||
"Object referenced as ~A in ~{~A~^ / ~} is not documented." | ||
(object-reference err) | ||
(breadcrumbs err))))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters