Add documentation metadata for Orbit packages
This commit is contained in:
1 parent
49739fc9f9
commit
28b13e7a96
6 files changed
+84
-4
No files matched your search
@@ -12,6 +12,7 @@ struct Manifest {
|
||||
name : String
|
||||
version : String
|
||||
description : String
|
||||
documentation : String
|
||||
depends : Map[String, String]
|
||||
bins : Array[String]
|
||||
}
|
||||
@@ -179,6 +180,7 @@ fn parse_manifest(text : String) -> Manifest raise OrbitError {
|
||||
name: jstr(o, "name", ""),
|
||||
version: jstr(o, "version", ""),
|
||||
description: jstr(o, "description", ""),
|
||||
documentation: jstr(o, "documentation", ""),
|
||||
depends: jmap(o, "depends"),
|
||||
bins: jstrs(o, "bin"),
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user