Improve reference documentation

main
Duncan Ogilvie 2 years ago
parent 5a0eda7abc
commit ae6bea3b58

@ -137,6 +137,7 @@ components = ["mycomponent"]
condition = "mycondition" condition = "mycondition"
git = "https://github.com/myuser/gitcontent" git = "https://github.com/myuser/gitcontent"
tag = "v0.1" tag = "v0.1"
shallow = false
[fetch-content.svncontent] [fetch-content.svncontent]
condition = "mycondition" condition = "mycondition"
@ -146,7 +147,10 @@ rev = "svn_rev"
[fetch-content.urlcontent] [fetch-content.urlcontent]
condition = "mycondition" condition = "mycondition"
url = "https://content-host.com/urlcontent.zip" url = "https://content-host.com/urlcontent.zip"
hash = "123123123123" # These are equivalent, supported algorithms:
# md5, sha1, sha224, sha256, sha384, sha512, sha3_224, sha3_256, sha3_384, sha3_512
hash = "SHA1 502a4e25b8b209889c99c7fa0732102682c2e4ff"
sha1 = "502a4e25b8b209889c99c7fa0732102682c2e4ff"
``` ```
## Targets ## Targets

Loading…
Cancel
Save