mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-17 16:38:14 +03:00
09c91c7f90
* refactor: Tiny cleanup before we begin * refactor: Moved module finding to its own local function * feat: save-docs-internal is now a binary command * feat: This seems to work * fix: Cleaned up the code, save-docs now emit one module per file listed
59 lines
1.1 KiB
Plaintext
59 lines
1.1 KiB
Plaintext
; runs this from the Carp installation directory, NOT current directory!
|
|
|
|
(Project.config "title" "core")
|
|
(Project.config "docs-directory" "./docs/core/")
|
|
(Project.config "docs-logo" "logo.png")
|
|
(Project.config "docs-prelude" "Welcome to the documentation for the Carp standard library. Please select a library from the menu on the right to browse its documentation. Carp is available for download [here](https://github.com/carp-lang/carp).")
|
|
(Project.config "docs-url" "https://github.com/carp-lang/carp")
|
|
|
|
(load "SafeInt.carp")
|
|
(load "Vector.carp")
|
|
(load "Geometry.carp")
|
|
(load "Statistics.carp")
|
|
(load "Test.carp")
|
|
(load "Bench.carp")
|
|
(load "Phantom.carp")
|
|
|
|
(save-docs-ex
|
|
['Array
|
|
'Bench
|
|
'Bool
|
|
'Byte
|
|
'Char
|
|
'Control
|
|
'Debug
|
|
'Derive
|
|
'Double
|
|
'Dynamic
|
|
'Float
|
|
'Function
|
|
'Geometry
|
|
'Quasiquote
|
|
'Int
|
|
'Introspect
|
|
'Unit
|
|
'IO
|
|
'Long
|
|
'Map
|
|
'Maybe
|
|
'Opaque
|
|
'Pair
|
|
'Pattern
|
|
'Quadruple
|
|
'Phantom
|
|
'Pointer
|
|
'Result
|
|
'StaticArray
|
|
'System
|
|
'Statistics
|
|
'String
|
|
'Test
|
|
'Triple
|
|
'Vector2
|
|
'Vector3
|
|
'VectorN]
|
|
["Macros.carp"
|
|
"ControlMacros.carp"])
|
|
|
|
(quit)
|