Skip to content

Commit

Permalink
Feat/matebarabas/spec-link-updates (#1747)
Browse files Browse the repository at this point in the history
  • Loading branch information
matebarabas authored Dec 3, 2024
1 parent d778c7e commit 8b6dfbf
Show file tree
Hide file tree
Showing 9 changed files with 135 additions and 119 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/module_proposal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ body:
value: |
Thank you for proposing a new AVM module!
Please ensure you have checked the [AVM Module Classification Definitions](https://azure.github.io/Azure-Verified-Modules/specs/shared/module-classifications/) & the [AVM Shared Specifications](https://azure.github.io/Azure-Verified-Modules/specs/shared/).
Please ensure you have checked the [AVM Module Classification Definitions](https://azure.github.io/Azure-Verified-Modules/specs/shared/module-classifications/) & the [AVM Module Specifications](https://azure.github.io/Azure-Verified-Modules/specs/module-specs/).
- type: checkboxes
id: existing-checks
attributes:
Expand Down Expand Up @@ -53,7 +53,7 @@ body:
attributes:
label: Module Name
description: |
What would be the name of the module following the [naming pattern](https://azure.github.io/Azure-Verified-Modules/specs/shared/#id-rmnfr1---category-naming)?
What would be the name of the module following the [naming pattern](https://azure.github.io/Azure-Verified-Modules/spec/RMNFR1/)?
- Bicep: `avm/res/<rp (hyphenated)>/<resource type (hyphenated, singular form)>`; e.g., `avm/res/virtual-machine-images/image-template`
- Terraform: `avm-res-<rp (single word)>-<resource type (single word, singular form)>`; e.g., `avm-res-virtualmachineimages-imagetemplate`
placeholder: '<Module name>'
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/orphaned_module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ body:
value: |
Thank you for reporting an orphaned AVM module!
Please ensure you have checked the [AVM Module Classification Definitions](https://azure.github.io/Azure-Verified-Modules/specs/shared/module-classifications/) & the [AVM Shared Specification](https://azure.github.io/Azure-Verified-Modules/specs/shared/)
Please ensure you have checked the [AVM Module Classification Definitions](https://azure.github.io/Azure-Verified-Modules/specs/shared/module-classifications/) & the [AVM Module Specifications](https://azure.github.io/Azure-Verified-Modules/specs/module-specs/).
- type: dropdown
id: language
attributes:
Expand Down
49 changes: 33 additions & 16 deletions docs/layouts/shortcodes/tagsStats.html
Original file line number Diff line number Diff line change
Expand Up @@ -182,23 +182,34 @@
-}}

<table>
{{/* <colgroup>
<col style="border-right: 1px solid rgb(233, 236, 239);">
{{- if not (or (eq $languageFilter "Bicep") (eq $languageFilter "Terraform")) -}}
<col>
<col>
<col style="border-right: 1px solid rgb(233, 236, 239);">
{{- end -}}

</colgroup> */}}
<thead>
<tr>
{{- if (eq $languageFilter "") -}}
<th rowspan="2">Category</th>
<th colspan="3" style="text-align: center;">
<span class="flex align-center gdoc-button gdoc-button--regular" style="line-height: 0.8; margin-bottom: 0px; margin-top: 0px;">
<a href="{{ $baseURL }}specs/bcp" style="text-decoration: none;">Bicep</a>
{{/* <span class="flex align-center gdoc-button gdoc-button--regular" style="line-height: 0.8; margin-bottom: 0px; margin-top: 0px;">
<a class="gdoc-button__link" href="{{ $baseURL }}tags/Language-Bicep" title="{{ i18n "posts_tagged_with" "Language-Bicep" }}">
Bicep
</a>
</span>
</span> */}}
</th>
<th colspan="3" style="text-align: center;">
<span class="flex align-center gdoc-button gdoc-button--regular" style="line-height: 0.8; margin-bottom: 0px; margin-top: 0px;">
<a href="{{ $baseURL }}specs/tf" style="text-decoration: none;">Terraform</a>
{{/* <span class="flex align-center gdoc-button gdoc-button--regular" style="line-height: 0.8; margin-bottom: 0px; margin-top: 0px;">
<a class="gdoc-button__link" href="{{ $baseURL }}tags/Language-Terraform" title="{{ i18n "posts_tagged_with" "Language-Terraform" }}">
Terraform
</a>
</span>
</span> */}}
</th>
{{- end -}}
</tr>
Expand All @@ -208,48 +219,54 @@
{{- end -}}
{{- if or (eq $languageFilter "Bicep") (eq $languageFilter "") -}}
<th style="text-align: center;">
<span class="flex align-center gdoc-button gdoc-button--regular" style="line-height: 0.8; margin-bottom: 0px; margin-top: 0px;">
<a href="{{ $baseURL }}specs/bcp/res" style="text-decoration: none;">Resource</a>
{{/* <span class="flex align-center gdoc-button gdoc-button--regular" style="line-height: 0.8; margin-bottom: 0px; margin-top: 0px;">
<a class="gdoc-button__link" href="{{ $baseURL }}tags/Class-Resource" title="{{ i18n "posts_tagged_with" "Class-Resource" }}">
Resource
</a>
</span>
</span> */}}
</th>
<th style="text-align: center;">
<span class="flex align-center gdoc-button gdoc-button--regular" style="line-height: 0.8; margin-bottom: 0px; margin-top: 0px;">
<a href="{{ $baseURL }}specs/bcp/ptn" style="text-decoration: none;">Pattern</a>
{{/* <span class="flex align-center gdoc-button gdoc-button--regular" style="line-height: 0.8; margin-bottom: 0px; margin-top: 0px;">
<a class="gdoc-button__link" href="{{ $baseURL }}tags/Class-Pattern" title="{{ i18n "posts_tagged_with" "Class-Pattern" }}">
Pattern
</a>
</span>
</span> */}}
</th>
<th style="text-align: center;">
<span class="flex align-center gdoc-button gdoc-button--regular" style="line-height: 0.8; margin-bottom: 0px; margin-top: 0px;">
<a href="{{ $baseURL }}specs/bcp/utl" style="text-decoration: none;">Utility</a>
{{/* <span class="flex align-center gdoc-button gdoc-button--regular" style="line-height: 0.8; margin-bottom: 0px; margin-top: 0px;">
<a class="gdoc-button__link" href="{{ $baseURL }}tags/Class-Utility" title="{{ i18n "posts_tagged_with" "Class-Utility" }}">
Utility
</a>
</span>
</span> */}}
</th>
{{- end -}}
{{- if or (eq $languageFilter "Terraform") (eq $languageFilter "") -}}
<th style="text-align: center;">
<span class="flex align-center gdoc-button gdoc-button--regular" style="line-height: 0.8; margin-bottom: 0px; margin-top: 0px;">
<a href="{{ $baseURL }}specs/tf/res" style="text-decoration: none;">Resource</a>
{{/* <span class="flex align-center gdoc-button gdoc-button--regular" style="line-height: 0.8; margin-bottom: 0px; margin-top: 0px;">
<a class="gdoc-button__link" href="{{ $baseURL }}tags/Class-Resource" title="{{ i18n "posts_tagged_with" "Class-Resource" }}">
Resource
</a>
</span>
</span> */}}
</th>
<th style="text-align: center;">
<span class="flex align-center gdoc-button gdoc-button--regular" style="line-height: 0.8; margin-bottom: 0px; margin-top: 0px;">
<a href="{{ $baseURL }}specs/tf/ptn" style="text-decoration: none;">Pattern</a>
{{/* <span class="flex align-center gdoc-button gdoc-button--regular" style="line-height: 0.8; margin-bottom: 0px; margin-top: 0px;">
<a class="gdoc-button__link" href="{{ $baseURL }}tags/Class-Pattern" title="{{ i18n "posts_tagged_with" "Class-Pattern" }}">
Pattern
</a>
</span>
</span> */}}
</th>
<th style="text-align: center;">
<span class="flex align-center gdoc-button gdoc-button--regular" style="line-height: 0.8; margin-bottom: 0px; margin-top: 0px;">
<a href="{{ $baseURL }}specs/tf/utl" style="text-decoration: none;">Utility</a>
{{/* <span class="flex align-center gdoc-button gdoc-button--regular" style="line-height: 0.8; margin-bottom: 0px; margin-top: 0px;">
<a class="gdoc-button__link" href="{{ $baseURL }}tags/Class-Utility" title="{{ i18n "posts_tagged_with" "Class-Utility" }}">
Utility
</a>
</span>
</span> */}}
</th>
{{- end -}}
</tr>
Expand Down
Loading

0 comments on commit 8b6dfbf

Please sign in to comment.