瀏覽代碼

Document tweaks to the catalog JSON

default_compile_flags
vector-of-bool 4 年之前
父節點
當前提交
6784110696
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. +4
    -1
      docs/guide/catalog.rst

+ 4
- 1
docs/guide/catalog.rst 查看文件

@@ -96,11 +96,14 @@ The JSON file has the following structure:
// available for each package.
"0.4.2": {
// `depends` is an object of dependencies for this
// particular version of the package.
// particular version of the package. (Optional)
"depends": {
// A mapping of package names to version ranges
"acme-widgets": "^1.4.1"
},
// `description` is an attribute to give a string to describe
// the package. (Optional)
"description": "A collection of useful gadgets.",
// Specify the Git remote information
"git": {
// `url` and `ref` are required.

Loading…
取消
儲存