|
| 1 | +<!-- |
| 2 | + |
| 3 | + ** DO NOT EDIT THIS FILE |
| 4 | + ** |
| 5 | + ** This file was automatically generated by the `build-harness`. |
| 6 | + ** 1) Make all changes to `README.yaml` |
| 7 | + ** 2) Run `make init` (you only need to do this once) |
| 8 | + ** 3) Run`make readme` to rebuild this file. |
| 9 | + ** |
| 10 | + |
| 11 | + --> |
| 12 | +{{- defineDatasource "config" .Env.README_YAML | regexp.Replace ".*" "" -}} |
| 13 | +{{- defineDatasource "includes" .Env.README_INCLUDES | regexp.Replace ".*" "" }} |
| 14 | + |
| 15 | +[<img src="https://res.cloudinary.com/enter-at/image/upload/v1576145406/static/logo-svg.svg" alt="enter-at" width="100">][website] |
| 16 | + |
| 17 | +# {{(ds "config").name}}{{ if gt (len (ds "config").name) 34 }}{{ print "\n\n" }}{{ end }}{{ if has (ds "config") "badges" }}{{- range $badge := (ds "config").badges -}}{{ printf " [](%s)" $badge.name $badge.image $badge.url }}{{ end }}{{ end }} |
| 18 | + |
| 19 | +{{ if has (ds "config") "logo" }} |
| 20 | +.logo }}) |
| 21 | +{{- end -}} |
| 22 | + |
| 23 | +{{ if has (ds "config") "description" }} |
| 24 | +{{(ds "config").description }} |
| 25 | +{{ end }} |
| 26 | + |
| 27 | +--- |
| 28 | + |
| 29 | +{{ if eq (ds "config").license "APACHE2" }} |
| 30 | +It's 100% Open Source and licensed under the [APACHE2](LICENSE). |
| 31 | +{{ end }} |
| 32 | + |
| 33 | +{{ if has (ds "config") "screenshots" }} |
| 34 | +## Screenshots |
| 35 | + |
| 36 | +{{ range $screenshot := (ds "config").screenshots }} |
| 37 | +{{ printf "\n*%s*" $screenshot.name $screenshot.url $screenshot.description }}{{ end }} |
| 38 | +{{ end }} |
| 39 | +{{ if has (ds "config") "introduction" }} |
| 40 | +## Introduction |
| 41 | + |
| 42 | +{{ (ds "config").introduction -}} |
| 43 | +{{ end }} |
| 44 | +{{ if has (ds "config") "usage" }} |
| 45 | +## Usage |
| 46 | + |
| 47 | +{{ if (file.Exists "main.tf") }} |
| 48 | +**IMPORTANT:** The `master` branch is used in `source` just as an example. In your code, do not pin to `master` because there may be breaking changes between releases. |
| 49 | +Instead pin to the release tag (e.g. `?ref=tags/x.y.z`) of one of our [latest releases]({{ printf "https://github.com/%s/releases" (ds "config").github_repo}}). |
| 50 | +{{end}} |
| 51 | + |
| 52 | +{{ (ds "config").usage -}} |
| 53 | +{{ end }} |
| 54 | + |
| 55 | +{{ if has (ds "config") "quickstart" -}} |
| 56 | +## Quick Start |
| 57 | + |
| 58 | +{{ (ds "config").quickstart -}} |
| 59 | +{{ end }} |
| 60 | + |
| 61 | +{{ if has (ds "config") "examples" }} |
| 62 | +## Examples |
| 63 | + |
| 64 | +{{(ds "config").examples }} |
| 65 | +{{ end }} |
| 66 | + |
| 67 | +{{ if has (ds "config") "api" }} |
| 68 | +## API |
| 69 | + |
| 70 | +{{(ds "config").api }} |
| 71 | +{{ end }} |
| 72 | + |
| 73 | +{{ if has (ds "config") "include" }} |
| 74 | +{{ range $file := (datasource "config").include -}} |
| 75 | +{{ (include "includes" $file) }} |
| 76 | +{{- end }} |
| 77 | +{{- end }} |
| 78 | +{{ if has (ds "config") "related" }} |
| 79 | + |
| 80 | +## Share the Love |
| 81 | + |
| 82 | +Like this project? |
| 83 | +Please give it a ★ on [our GitHub]({{ printf "https://github.com/%s" (ds "config").github_repo}})! |
| 84 | + |
| 85 | + |
| 86 | +## Related Projects |
| 87 | + |
| 88 | +Check out these related projects. |
| 89 | +{{ range $related := (ds "config").related }} |
| 90 | +{{ printf "- [%s](%s) - %s" $related.name $related.url $related.description }}{{ end }} |
| 91 | + |
| 92 | +{{ end}} |
| 93 | +{{ if has (ds "config") "references" }} |
| 94 | + |
| 95 | +## References |
| 96 | + |
| 97 | +For additional context, refer to some of these links. |
| 98 | +{{ range $reference := (ds "config").references }} |
| 99 | +{{ printf "- [%s](%s) - %s" $reference.name $reference.url $reference.description }}{{ end }} |
| 100 | + |
| 101 | +{{ end}} |
| 102 | +## Help |
| 103 | + |
| 104 | +**Got a question?** |
| 105 | + |
| 106 | +File a GitHub [issue]({{ printf "https://github.com/%s/issues" (ds "config").github_repo}}). |
| 107 | + |
| 108 | +## Contributing |
| 109 | + |
| 110 | +### Bug Reports & Feature Requests |
| 111 | + |
| 112 | +Please use the [issue tracker]({{ printf "https://github.com/%s/issues" (ds "config").github_repo}}) to report any bugs or file feature requests. |
| 113 | + |
| 114 | +### Developing |
| 115 | + |
| 116 | +If you are interested in being a contributor and want to get involved in developing this project, we would love to hear from you! |
| 117 | + |
| 118 | +In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow. |
| 119 | + |
| 120 | + 1. **Fork** the repo on GitHub |
| 121 | + 2. **Clone** the project to your own machine |
| 122 | + 3. **Commit** changes to your own branch |
| 123 | + 4. **Push** your work back up to your fork |
| 124 | + 5. Submit a **Pull Request** so that we can review your changes |
| 125 | + |
| 126 | +**NOTE:** Be sure to merge the latest changes from "upstream" before making a pull request! |
| 127 | + |
| 128 | +{{ if has (ds "config") "copyrights" }} |
| 129 | + |
| 130 | +## Copyrights |
| 131 | + |
| 132 | +{{ range $copyright := (ds "config").copyrights -}} |
| 133 | +{{ printf "Copyright © %s-%d [%s](%s)\n" $copyright.year time.Now.Year $copyright.name $copyright.url }} |
| 134 | +{{ end }} |
| 135 | +{{ end }} |
| 136 | + |
| 137 | + |
| 138 | +{{ if eq (ds "config").license "APACHE2" }} |
| 139 | +## License |
| 140 | + |
| 141 | +[](https://opensource.org/licenses/Apache-2.0) |
| 142 | + |
| 143 | +See [LICENSE](LICENSE) for full details. |
| 144 | + |
| 145 | + Licensed to the Apache Software Foundation (ASF) under one |
| 146 | + or more contributor license agreements. See the NOTICE file |
| 147 | + distributed with this work for additional information |
| 148 | + regarding copyright ownership. The ASF licenses this file |
| 149 | + to you under the Apache License, Version 2.0 (the |
| 150 | + "License"); you may not use this file except in compliance |
| 151 | + with the License. You may obtain a copy of the License at |
| 152 | + |
| 153 | + https://www.apache.org/licenses/LICENSE-2.0 |
| 154 | + |
| 155 | + Unless required by applicable law or agreed to in writing, |
| 156 | + software distributed under the License is distributed on an |
| 157 | + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 158 | + KIND, either express or implied. See the License for the |
| 159 | + specific language governing permissions and limitations |
| 160 | + under the License. |
| 161 | +{{ end }} |
| 162 | + |
| 163 | + |
| 164 | +{{ if has (datasource "config") "contributors" }} |
| 165 | +### Contributors |
| 166 | + |
| 167 | +{{ range $contributor := (ds "config").contributors }} |
| 168 | +{{ printf "[![%s][%s_avatar]][%s_homepage]" $contributor.name $contributor.github $contributor.github }} |
| 169 | +{{ end }} |
| 170 | + |
| 171 | +{{ range $contributor := (ds "config").contributors -}} |
| 172 | +{{- if has $contributor "homepage" }} |
| 173 | +{{ printf " [%s_homepage]: %s" $contributor.github $contributor.homepage }} |
| 174 | +{{ else -}} |
| 175 | +{{ printf " [%s_homepage]: https://github.com/%s" $contributor.github $contributor.github }} |
| 176 | +{{ end -}} |
| 177 | +{{ if has $contributor "avatar" }}{{ printf " [%s_avatar]: %s" $contributor.github $contributor.avatar }} |
| 178 | +{{ else -}} |
| 179 | +{{ printf " [%s_avatar]: https://res.cloudinary.com/enter-at/image/fetch/f_png,r_max,w_100,h_100,c_thumb/https://github.com/%s.png" $contributor.github $contributor.github }} |
| 180 | +{{- end }} |
| 181 | +{{ end }} |
| 182 | +{{ end }} |
| 183 | + |
| 184 | + [website]: https://github.com/enter-at |
0 commit comments