mirror of
https://github.com/apple/pkl.git
synced 2026-03-31 22:23:18 +02:00
Initial commit
This commit is contained in:
11
pkl-doc/src/test/files/DocGeneratorTest/input/com.package2/Module3.pkl
vendored
Normal file
11
pkl-doc/src/test/files/DocGeneratorTest/input/com.package2/Module3.pkl
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
module com.package2.Module3
|
||||
|
||||
property3: String
|
||||
|
||||
function function3(n: Int): String = n.toString()
|
||||
|
||||
class Class3 {
|
||||
property3: String
|
||||
|
||||
function function3(n: Int): String = n.toString()
|
||||
}
|
||||
23
pkl-doc/src/test/files/DocGeneratorTest/input/com.package2/doc-package-info.pkl
vendored
Normal file
23
pkl-doc/src/test/files/DocGeneratorTest/input/com.package2/doc-package-info.pkl
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
/// Docs for Package 2.
|
||||
amends "pkl:DocPackageInfo"
|
||||
|
||||
name = "com.package2"
|
||||
version = "4.5.6"
|
||||
importUri = "modulepath:/com/package2/"
|
||||
authors {
|
||||
"package2-publisher@group.apple.com"
|
||||
}
|
||||
sourceCode = "https://sources.apple.com/package2/"
|
||||
sourceCodeUrlScheme = "https://example.com/blob/\(version)%{path}#L%{line}-L%{endLine}"
|
||||
issueTracker = "https://issues.apple.com/package2/"
|
||||
|
||||
dependencies {
|
||||
new {
|
||||
name = "pkl"
|
||||
// use fixed version to avoid churn in expected test outputs
|
||||
version = "0.24.0"
|
||||
sourceCode = "https://github.com/apple/\(name)/blob/dev/stdlib/"
|
||||
sourceCodeUrlScheme = "https://github.com/apple/\(name)/blob/\(version)/stdlib%{path}#L%{line}-L%{endLine}"
|
||||
documentation = "https://pkl-lang.org/stdlib/\(name)/\(version)/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user