diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/test/lux/documentation.lux | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/stdlib/source/test/lux/documentation.lux b/stdlib/source/test/lux/documentation.lux index c9d9cbc43..0a306c771 100644 --- a/stdlib/source/test/lux/documentation.lux +++ b/stdlib/source/test/lux/documentation.lux @@ -43,8 +43,8 @@ Nat 123) - (def documentation - (/.documentation /.documentation + (def definition + (/.definition /.definition 'definition_description')) (def .public test @@ -67,12 +67,12 @@ _ false)) - (_.coverage [/.documentation] - (case ..documentation + (_.coverage [/.definition] + (case ..definition (list documentation) (and (|> documentation (the /.#definition) - (text#= (template.text [/.documentation]))) + (text#= (template.text [/.definition]))) (|> documentation (the /.#documentation) md.markdown @@ -90,7 +90,7 @@ [])) super (`` (/.module .._ (,, (template.text ['super_description'])) - [..documentation] + [..definition] [sub]))] (and (text.contains? (template.text ['sub_description']) (/.markdown sub)) @@ -98,7 +98,7 @@ (/.markdown super)) (text.contains? (template.text ['super_description']) (/.markdown super)) - (case ..documentation + (case ..definition (list documentation) (text.contains? (md.markdown (the /.#documentation documentation)) (/.markdown super)) @@ -111,11 +111,11 @@ [(macro_error <example>)] [(/.default g!default)] - [(/.documentation g!default + [(/.definition g!default (,, (template.text ['definition_description'])))] [(/.module g!default "" - [..documentation] + [..definition] [sub])] ))))) ))))) |