mirror of
https://github.com/urbit/shrub.git
synced 2024-12-20 01:01:37 +03:00
dprint: new core naming syntax
changes the syntax for cores named with :> # %corename to |% %core-name for the dprint and dprint testing library
This commit is contained in:
parent
3d3ea61d53
commit
7e0d16d817
@ -1,5 +1,5 @@
|
||||
:: A library for printing doccords
|
||||
=/ debug &
|
||||
=/ debug |
|
||||
=>
|
||||
|%
|
||||
:> an overview of all named things in the type.
|
||||
@ -54,8 +54,7 @@
|
||||
==
|
||||
::
|
||||
--
|
||||
:> # %dprint
|
||||
|%
|
||||
|% %dprint
|
||||
:> contains arms used for looking for docs inside of a type
|
||||
:>
|
||||
:> the entrypoint for finding docs within a type is +find-item-in-type.
|
||||
|
@ -4,12 +4,10 @@
|
||||
::
|
||||
=> =>
|
||||
:: This core is for testing core and chapter docs.
|
||||
:> # %core-test
|
||||
:>
|
||||
:> core-summary
|
||||
:>
|
||||
:> core-description
|
||||
|%
|
||||
|% %core-test
|
||||
:> chapter-summary
|
||||
:>
|
||||
:> chapter-description
|
||||
@ -17,10 +15,8 @@
|
||||
++ empty ~
|
||||
--
|
||||
::
|
||||
:> # %test-arms
|
||||
:>
|
||||
:> arms used for testing arm documentation
|
||||
|%
|
||||
|% %test-arms
|
||||
+| %types
|
||||
+$ arm-dox [tape what what what]
|
||||
+$ core-dox [tape what]
|
||||
@ -187,10 +183,8 @@
|
||||
::
|
||||
--
|
||||
::
|
||||
:> # %dprint-tests
|
||||
:>
|
||||
:> contains the actual tests to be run by -test
|
||||
|%
|
||||
|% %dprint-tests
|
||||
++ test-no-doc
|
||||
%+ expect-eq
|
||||
!> (get-arm-dox ~[%no-doc])
|
||||
|
Loading…
Reference in New Issue
Block a user