diff options
author | Eduardo Julian | 2022-11-07 18:52:46 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-11-07 18:52:46 -0400 |
commit | cb572295c9a73330531e07f3f6a92b3bb2434514 (patch) | |
tree | ae14be0a53235971d897c033879e3d4512ffde68 /stdlib/source/documentation/lux/meta/type/unit.lux | |
parent | 13c594758482bac0a7550bcb89cfeda8c5f0a1f3 (diff) |
Can now mark definitions as deprecated in their documentation.
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/documentation/lux/meta/type/unit.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/documentation/lux/meta/type/unit.lux b/stdlib/source/documentation/lux/meta/type/unit.lux index 606184c7a..67157d892 100644 --- a/stdlib/source/documentation/lux/meta/type/unit.lux +++ b/stdlib/source/documentation/lux/meta/type/unit.lux @@ -54,15 +54,15 @@ ($.definition /.unit (format "Define a unit of measurement." \n "Both the name of the type, and the name of the Unit implementation must be specified.") - [(def feet (unit []))]) + ($.example (def feet (unit [])))) ... ($.definition /.scale ... "Define a scale of magnitude." - ... [(def bajillion (scale [1 1,234,567,890]))]) + ... ($.example (def bajillion (scale [1 1,234,567,890])))) ... ($.definition /.re_scaled ... "" - ... [(re_scaled from to measure)]) + ... ($.example (re_scaled from to measure))) ... (,, (with_template [<type> <scale>] ... [(`` ($.definition <scale> |