Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/changelog.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@
"CLEAN-URLS"
;; These objects are not documented yet:
"40ANTS-DOC/COMMONDOC/XREF:XREF"))
(0.25.1 2025-09-13
"* New package 40ants-doc/mito now exports `fixed-dao-table-class` class which should be used instead of Mito's `dao-table-class`.")
(0.25.0 2025-09-13
"* Added a `40ants-doc/mito` package with a helper to solve problem of rendering documentation for projects which use Mito's table classes. You should load this helper as your project's documentation dependency.")
(0.24.2 2025-05-26
Expand Down
11 changes: 8 additions & 3 deletions src/mito.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ Without this helper you will get these warnings when trying to build a documenta
```
This helper sets methods source to the source of the table class.
"))
")
(:export #:fixed-dao-table-class))
(in-package #:40ants-doc/mito)


Expand Down Expand Up @@ -45,14 +46,18 @@ This helper sets methods source to the source of the table class.
(values))


(defmethod initialize-instance :around ((class mito:dao-table-class) &rest initargs)
(defclass fixed-dao-table-class (mito:dao-table-class)
())


(defmethod initialize-instance :around ((class fixed-dao-table-class) &rest initargs)
(declare (ignore initargs))
(multiple-value-prog1
(call-next-method)
(set-methods-sources class)))


(defmethod reinitialize-instance :around ((class mito:dao-table-class) &rest initargs)
(defmethod reinitialize-instance :around ((class fixed-dao-table-class) &rest initargs)
(declare (ignore initargs))
(multiple-value-prog1
(call-next-method)
Expand Down