diff --git a/src/MiniDocs/LeDatabase.extension.st b/src/MiniDocs/LeDatabase.extension.st index c159063..f19778e 100644 --- a/src/MiniDocs/LeDatabase.extension.st +++ b/src/MiniDocs/LeDatabase.extension.st @@ -23,6 +23,8 @@ LeDatabase >> addPageFromMarkdeep: markdeepDocTree [ createEmail: (remoteMetadata at: 'creator'); editEmail: (remoteMetadata at: 'modifier'). snippets do: [ :snippet | page addSnippet: snippet ]. + page children collect: [ :snippet | snippet database: self. self registerSnippet: snippet ]. + self addPage: page. ^ page ]