Compare commits

...
Author SHA1 Message Date
gericdongandGitHub 7761e4662c Merge branch 'main' into autoreview_24 2022-10-06 08:44:18 -04:00
Andrew FerlitschandGitHub f8e58240da Merge branch 'main' into autoreview_24 2022-10-05 18:12:49 -07:00
Andrew Ferlitsch 150b18f105 fix: incorrect linking 2022-10-06 00:56:14 +00:00
Andrew Ferlitsch 61644895d0 Merge branch 'autoreview_23' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into autoreview_23 2022-10-06 00:51:14 +00:00
Andrew Ferlitsch efa2ba6a93 fix: incorrect linking for index 2022-10-06 00:51:10 +00:00
Andrew FerlitschandGitHub 480e1d684e Merge branch 'main' into autoreview_23 2022-10-05 17:24:57 -07:00
Andrew Ferlitsch 428757c8b7 Merge branch 'autoreview_23' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into autoreview_23 2022-10-06 00:23:59 +00:00
Andrew Ferlitsch 9534acb34d feat: add autogen index 2022-10-06 00:23:34 +00:00
Andrew FerlitschandGitHub 4fc22e677c Merge branch 'main' into autoreview_23 2022-10-05 17:22:08 -07:00
Andrew Ferlitsch cf0cc93b29 Merge branch 'autoreview_23' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into autoreview_23 2022-10-06 00:21:15 +00:00
Andrew Ferlitsch 6a69d6906e feat: add autogen index 2022-10-06 00:21:10 +00:00
Andrew FerlitschandGitHub 8aceffe359 Merge branch 'main' into autoreview_23 2022-10-05 17:19:58 -07:00
Andrew Ferlitsch f474da103b Merge branch 'autoreview_23' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into autoreview_23 2022-10-06 00:18:42 +00:00
Andrew Ferlitsch 66fd216c55 feat: add autogen index 2022-10-06 00:18:34 +00:00
Andrew FerlitschandGitHub 665f73a076 Merge branch 'main' into autoreview_23 2022-10-05 17:17:07 -07:00
Andrew Ferlitsch 2eac73a4fc Merge branch 'autoreview_23' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into autoreview_23 2022-10-06 00:15:58 +00:00
Andrew Ferlitsch f0da7d05f3 feat: add autogen index 2022-10-06 00:15:54 +00:00
Andrew FerlitschandGitHub 1e372eb78f Merge branch 'main' into autoreview_23 2022-10-05 17:14:41 -07:00
Andrew Ferlitsch 5ed998a71e feat: add autogen index 2022-10-06 00:13:30 +00:00
Andrew Ferlitsch 98c0ec5111 Merge branch 'autoreview_23' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into autoreview_23 2022-10-06 00:08:27 +00:00
Andrew Ferlitsch 12353904e8 feat: add autogen index 2022-10-06 00:08:22 +00:00
Andrew FerlitschandGitHub 61e7e07b93 Merge branch 'main' into autoreview_23 2022-10-05 17:01:53 -07:00
Andrew Ferlitsch 105da46f08 Merge branch 'autoreview_23' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into autoreview_23 2022-10-06 00:00:50 +00:00
Andrew Ferlitsch 5b40349e40 feat: add autogen index 2022-10-06 00:00:44 +00:00
Andrew FerlitschandGitHub ceb42602c6 Merge branch 'main' into autoreview_23 2022-10-05 16:58:36 -07:00
Andrew Ferlitsch 0ce8613c76 Merge branch 'autoreview_23' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into autoreview_23 2022-10-05 23:57:37 +00:00
Andrew Ferlitsch 2fdc09b448 feat: add autogen index 2022-10-05 23:57:32 +00:00
Andrew FerlitschandGitHub a6a2485126 Merge branch 'main' into autoreview_23 2022-10-05 16:54:12 -07:00
Andrew Ferlitsch 196b53bfe5 Merge branch 'autoreview_23' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into autoreview_23 2022-10-05 23:53:19 +00:00
Andrew Ferlitsch 30d43eceea feat: add autogen index 2022-10-05 23:53:14 +00:00
Andrew FerlitschandGitHub 67cd66749a Merge branch 'main' into autoreview_23 2022-10-05 16:45:49 -07:00
Andrew Ferlitsch 03b9f91de0 Merge branch 'autoreview_23' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into autoreview_23 2022-10-05 23:44:37 +00:00
Andrew Ferlitsch 6d9700e243 feat: add autogen index 2022-10-05 23:44:23 +00:00
Andrew FerlitschandGitHub efb4bf6aae Merge branch 'main' into autoreview_23 2022-10-05 16:43:08 -07:00
Andrew Ferlitsch b46035c715 Merge branch 'autoreview_23' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into autoreview_23 2022-10-05 23:42:14 +00:00
Andrew Ferlitsch 141b67632a feat: add autogen index 2022-10-05 23:42:11 +00:00
Andrew FerlitschandGitHub 4cbfeb7e00 Merge branch 'main' into autoreview_23 2022-10-05 16:40:54 -07:00
Andrew Ferlitsch cb19b25db7 Merge branch 'autoreview_23' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into autoreview_23 2022-10-05 23:39:24 +00:00
Andrew Ferlitsch b4e23d58a5 feat: add autogen index 2022-10-05 23:39:03 +00:00
Andrew FerlitschandGitHub 2fba85f6c3 Merge branch 'main' into autoreview_23 2022-10-05 16:37:20 -07:00
Andrew Ferlitsch 50241a7c24 Merge branch 'autoreview_23' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into autoreview_23 2022-10-05 23:35:44 +00:00
Andrew Ferlitsch 1eb4310ffe feat: add autogen index 2022-10-05 23:35:05 +00:00
Andrew FerlitschandGitHub e16a3f2f82 Merge branch 'main' into autoreview_23 2022-10-05 16:29:53 -07:00
Andrew Ferlitsch 67bd6bff38 Merge branch 'autoreview_23' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into autoreview_23 2022-10-05 23:28:34 +00:00
Andrew Ferlitsch 5f1fc7548e feat: add autogen index 2022-10-05 23:28:12 +00:00
Andrew FerlitschandGitHub 8cf78554a6 Merge branch 'main' into autoreview_23 2022-10-05 16:24:01 -07:00
Andrew Ferlitsch ac1270dc42 Merge branch 'autoreview_23' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into autoreview_23 2022-10-05 23:23:03 +00:00
Andrew Ferlitsch 7d86e6f93b feat: add autogen index 2022-10-05 23:22:40 +00:00
Andrew FerlitschandGitHub 2ddc695158 Merge branch 'main' into autoreview_23 2022-10-05 16:14:10 -07:00
Andrew Ferlitsch 2b781faafd fix: update autogen index 2022-10-05 23:13:01 +00:00
Andrew Ferlitsch 4a70745a21 fix: missed the REAME 2022-10-05 23:07:35 +00:00
Andrew Ferlitsch f304fd3843 feat: add autogen index 2022-10-05 23:05:04 +00:00
+7 -4
View File
@@ -59,7 +59,7 @@ def parse_dir(directory):
if entry.is_dir():
if entry.name[0] == '.':
continue
if entry.name == 'src' or entry.name == 'images':
if entry.name == 'src' or entry.name == 'images' or entry.name == 'sample_data':
continue
print("\n##", entry.name, "\n")
parse_dir(entry.path)
@@ -355,8 +355,8 @@ def check_sentence_case(path, heading):
for word in words[1:]:
word = word.replace(':', '').replace('(', '').replace(')', '')
if word in ['E2E', 'Vertex', 'AutoML', 'ML', 'AI', 'GCP', 'API', 'R', 'CMEK', 'TFX', 'TFDV', 'SDK',
'VM', 'CPR', 'NVIDIA', 'ID', 'DASK', 'ARIMA_PLUS', 'KFP', 'I/O']:
if word in ['E2E', 'Vertex', 'AutoML', 'ML', 'AI', 'GCP', 'API', 'R', 'CMEK', 'TF', 'TFX', 'TFDV', 'SDK',
'VM', 'CPR', 'NVIDIA', 'ID', 'DASK', 'ARIMA_PLUS', 'KFP', 'I/O', 'GPU']:
continue
if word.isupper():
report_error(path, ERROR_HEADING_CASE, f"heading is not sentence case: {word}")
@@ -446,6 +446,9 @@ def parse_objective(path, cell):
def add_index(path, tag, title, desc, uses, steps, git_link, colab_link, workbench_link):
global last_tag
if not args.web and not args.repo:
return
title = title.split(':')[-1].strip()
title = title[0].upper() + title[1:]
if args.web:
@@ -486,7 +489,7 @@ def add_index(path, tag, title, desc, uses, steps, git_link, colab_link, workben
for item in tags:
flat_list += item.replace("'", '') + ' '
print(f"\n### {flat_list}\n")
print(f"\n[{title}]({path})\n")
print(f"\n[{title}]({git_link})\n")
if args.desc:
print(desc)