Commit Graph

22 Commits

Author SHA1 Message Date
zirain 0e02129c49
better description render (#2825)
* better description render

* fix gen
2024-02-22 07:38:40 -08:00
zirain c74bd02738
improve resource annotation table UX (#2770) 2024-01-09 17:43:47 -08:00
frauniki 79552bc555
Fix html indent of annotation_prep (#2579) 2023-07-11 10:08:45 -07:00
Eric Van Norman a0bd585758
Update common-files and fix lint/gen issues (#2106) 2022-08-15 09:16:17 -07:00
John Howard 2f37edf261
Do not lint strings.Title (#1887)
The replacement seems a pain to use, just skip
2022-03-03 12:03:33 -08:00
Eric Van Norman 195465a42c
Fixes for linting with new common-files update (#1842) 2022-01-26 14:12:05 -08:00
jacob-delgado 3af46d0938
Use sigs.k8s.io/yaml instead of ghodss (#1757)
* Use sigs.k8s.io/yaml instead of ghodss

* Run make gen:
2021-11-11 17:04:37 -08:00
Nathan Mittler b60d0f7a79
Fix custom variable names with annotation generator (#1379) 2021-01-08 17:36:51 -08:00
Nathan Mittler 191c4401f4
Fixes to annotation generator (#1377)
- Allow description test to contain carriage returns. In this case, go will use back quotes to display the description exactly as shown in the yaml. For HTML, carriage returns will be replaced by breaks.

- When in label mode, JSON parsing uses `labels` as the list name rather than `annotations`.
2021-01-08 15:57:00 -08:00
Nathan Mittler 65f5fa56f1
Minor cleanup to annotation HTML (#1287) 2020-10-30 17:16:36 -07:00
Nathan Mittler 69ae1e8fa2
Fixes to annotation generation (#1284) 2020-10-30 15:07:21 -07:00
Nathan Mittler 7b2da05527
Add support for generating labels to annotations_prep (#1277) 2020-10-30 12:20:17 -07:00
Jian Zeng b50499a9ac
fix(annotations_prep): correct resources list in template (#1075)
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-07-13 09:10:11 -07:00
Martin Taillefer d5bb1d35e2 Update the weight value for the generated annotations.pb.html file. (#542) 2019-11-11 12:31:53 -08:00
Jason Wang 414063b425 Some fixes to gen tools (#532)
* Some fixes to tools

* fix presubmit errors

* Revert "fix presubmit errors"

This reverts commit 652084c62b.

* fix lint
2019-11-07 19:41:51 -08:00
Jason Wang d3df10f2b0 Add All func to annotations (#529)
* Add All func to annotations

* fix tabs
2019-11-07 06:51:51 -08:00
Martin Taillefer 48fc04ed91 Emit reaource types in generated Go code. (#426) 2019-10-09 07:59:37 -07:00
Martin Taillefer 52060d8e5c Add support for a resource field in annotation definitions. (#419) 2019-10-08 07:54:35 -07:00
Martin Taillefer 09862c8ca5 Introducing mvpage, a command used to move markdown pages across directories for istio.io (#263) 2019-08-13 20:22:39 -07:00
Martin Taillefer 55b7f23135 Fix missing Instance type. (#228) 2019-07-26 14:27:33 +00:00
Martin Taillefer 595ec58df6 Move these from the istio/api repo. (#224) 2019-07-25 21:42:13 +00:00
mtail effec8baaa Add annotation processing tool. 2019-07-25 06:12:10 -07:00