Include new page header text
Change layout to 4 columns. Removed Notes column
Include "Next Stable" column
Include "(New)"  on display name on "All" tab
Change Code/Docs badges to links
Include link to Support
Include "Replaced By" in name column in All tab.
Include package name under display name in Name column
This commit is contained in:
Jon Gallant 2021-04-05 16:49:30 -07:00 коммит произвёл GitHub
Родитель 067ee80276
Коммит 0552b7fbb0
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
30 изменённых файлов: 202 добавлений и 121 удалений

Просмотреть файл

@ -0,0 +1,53 @@
name: Azure Static Web Apps CI/CD
on:
push:
branches:
- roadmap4
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- roadmap4
jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Set up Ruby
uses: ruby/setup-ruby@v1.59.1
with:
ruby-version: 2.6
- name: Install dependencies
run: bundle install
- name: Jekyll build
run: jekyll build
- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v0.0.1-preview
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AMBITIOUS_SEA_05E32831E }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: "upload"
###### Repository/Build Configurations - These values can be configured to match you app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "/_site" # App source code path
api_location: "" # Api source code path - optional
output_location: "/bin/staticsites/ss-oryx/app" # Built app content directory - optional
###### End of Repository/Build Configurations ######
close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v0.0.1-preview
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AMBITIOUS_SEA_05E32831E }}
action: "close"

Просмотреть файл

@ -642,4 +642,4 @@
"Microsoft.WindowsAzure.Management.StorSimple","","1.0.5-preview","WindowsAzure Management - StorSimple","StorSimple","NA","NA","NA","mgmt","false","","","","","",""
"Microsoft.WindowsAzure.Management.TrafficManager","","0.16.1-preview","WindowsAzure Management - Traffic Manager","Traffic Manager","NA","NA","NA","mgmt","false","","","","","",""
"Microsoft.WindowsAzure.Management.VirtualNetworks","","0.9.9-preview","WindowsAzure Management - Virtual Networks","Virtual Network","NA","NA","NA","mgmt","false","","","","","",""
"Microsoft.WindowsAzure.Management.WebSites","","5.0.0-prerelease","WindowsAzure Management - WebSites","App Service","NA","NA","NA","mgmt","false","","","","","",""
"Microsoft.WindowsAzure.Management.WebSites","","5.0.0-prerelease","WindowsAzure Management - WebSites","App Service","NA","NA","NA","mgmt","false","","","","","",""
1 Package VersionGA VersionPreview DisplayName ServiceName RepoPath MSDocs GHDocs Type New PlannedVersions FirstGADate Support Hide Replace Notes
642 Microsoft.WindowsAzure.Management.StorSimple 1.0.5-preview WindowsAzure Management - StorSimple StorSimple NA NA NA mgmt false
643 Microsoft.WindowsAzure.Management.TrafficManager 0.16.1-preview WindowsAzure Management - Traffic Manager Traffic Manager NA NA NA mgmt false
644 Microsoft.WindowsAzure.Management.VirtualNetworks 0.9.9-preview WindowsAzure Management - Virtual Networks Virtual Network NA NA NA mgmt false
645 Microsoft.WindowsAzure.Management.WebSites 5.0.0-prerelease WindowsAzure Management - WebSites App Service NA NA NA mgmt false

Просмотреть файл

@ -956,4 +956,4 @@
"spring-jms-starter-azure-servicebus","com.microsoft.azure","1.2.0","","Spring JMS Starter Azure Service Bus","Spring Cloud","https://github.com/microsoft/spring-cloud-azure","NA","NA","spring","false","","","","true","",""
"spring-social-microsoft-graph","com.microsoft.azure","0.1.7","","Spring Social Microsoft Graph","Spring Boot","https://github.com/microsoft/azure-spring-boot","NA","NA","spring","false","","","","true","",""
"spring-starter-azure-storage","com.microsoft.azure","1.2.8","","spring-starter-azure-storage","Spring Cloud","spring","NA","NA","spring","false","","","","true","",""
"azure-storage-spring-boot-autoconfigure","com.microsoft.azure","0.1.5","","Storage Spring Boot Autoconfigure","Storage","https://github.com/microsoft/azure-spring-boot","NA","NA","spring","false","","","","true","",""
"azure-storage-spring-boot-autoconfigure","com.microsoft.azure","0.1.5","","Storage Spring Boot Autoconfigure","Storage","https://github.com/microsoft/azure-spring-boot","NA","NA","spring","false","","","","true","",""
1 Package GroupId VersionGA VersionPreview DisplayName ServiceName RepoPath MSDocs GHDocs Type New PlannedVersions FirstGADate Support Hide Replace Notes
956 spring-jms-starter-azure-servicebus com.microsoft.azure 1.2.0 Spring JMS Starter Azure Service Bus Spring Cloud https://github.com/microsoft/spring-cloud-azure NA NA spring false true
957 spring-social-microsoft-graph com.microsoft.azure 0.1.7 Spring Social Microsoft Graph Spring Boot https://github.com/microsoft/azure-spring-boot NA NA spring false true
958 spring-starter-azure-storage com.microsoft.azure 1.2.8 spring-starter-azure-storage Spring Cloud spring NA NA spring false true
959 azure-storage-spring-boot-autoconfigure com.microsoft.azure 0.1.5 Storage Spring Boot Autoconfigure Storage https://github.com/microsoft/azure-spring-boot NA NA spring false true

Просмотреть файл

@ -8,4 +8,4 @@
{% include releases/variables/android.md %}
{% include releases/pkgtable.md %}
{% include releases/pkgtable.md type=include.type %}

Просмотреть файл

@ -8,4 +8,4 @@
{% include releases/variables/c.md %}
{% include releases/pkgtable.md %}
{% include releases/pkgtable.md type=include.type %}

Просмотреть файл

@ -8,4 +8,4 @@
{% include releases/variables/cpp.md %}
{% include releases/pkgtable.md %}
{% include releases/pkgtable.md type=include.type %}

Просмотреть файл

@ -14,4 +14,4 @@
{% include releases/variables/dotnet.md %}
{% include releases/pkgtable.md %}
{% include releases/pkgtable.md type=include.type %}

Просмотреть файл

@ -8,4 +8,4 @@
{% include releases/variables/go.md %}
{% include releases/pkgtable.md %}
{% include releases/pkgtable.md type=include.type %}

Просмотреть файл

@ -1,7 +1,11 @@
{% if header_included != 'true' %}
# Azure SDK Latest Releases
# Azure SDK Releases
This page contains links to all of the Azure SDK library packages, code, and documentation. The "Client and Management Libraries" tabs contain libraries that follow the new [Azure SDK Guidelines](https://aka.ms/azsdk/guide). The "All" tab also contains libraries that do not yet follow the new guidelines.
<small>Last updated: {{ 'now' | date: "%b %Y" }}</small>
<input class="form-control" id="myInput" type="text" placeholder="Search...">
<br>
{% assign header_included = 'true' %}
{% endif %}

Просмотреть файл

@ -8,4 +8,4 @@
{% include releases/variables/ios.md %}
{% include releases/pkgtable.md %}
{% include releases/pkgtable.md type=include.type %}

Просмотреть файл

@ -14,4 +14,4 @@
{% include releases/variables/java.md %}
{% include releases/pkgtable.md %}
{% include releases/pkgtable.md type=include.type %}

Просмотреть файл

@ -14,4 +14,4 @@
{% include releases/variables/js.md %}
{% include releases/pkgtable.md %}
{% include releases/pkgtable.md type=include.type %}

Просмотреть файл

@ -0,0 +1,48 @@
{% assign version = item[include.version] %}
{% if version != "" %}
{% assign url = package_url | replace: 'item.Version', version %}
<div>
{% include releases/pkgbadge.md label=package_label url=url version=version preview=include.preview %}
</div>
<div>
{% if item.RepoPath == "NA" or item.RepoPath contains "http" %}
{% assign source_url = item.RepoPath %}
{% else %}
{% assign source_url = source_url_template | replace: 'item.Package', item.Package | replace: 'item.TrimmedPackage', trimmedPackage | replace: 'item.RepoPath', item.RepoPath %}
{% endif %}
{% assign code_url = source_url | replace: 'item.Version', version %}
{% include releases/pkgbadge.md label="Code" url=code_url version=version preview=include.preview %}
{% if include.version == "VersionGA" %}
{% assign msdocs_url = item.MSDocs %}
{% if item.MSDocs == "" %}
{% assign msdocs_url = msdocs_url_template | replace: 'item.Package', item.Package | replace: 'item.TrimmedPackage', trimmedPackage %}
{% if item.VersionGA == "" and item.VersionPreview != "" and pre_suffix.size > 0 %}
{% assign msdocs_url = msdocs_url | append: pre_suffix %}
{% endif %}
{% endif %}
{% assign msdocs_url = msdocs_url | replace: 'item.Version', version %}
{% if code_url != "" and code_url != "NA" and msdocs_url != "" and msdocs_url != "NA" %}
&nbsp;|&nbsp;
{% endif %}
{% include releases/pkgbadge.md label="Docs" url=msdocs_url version=version %}
{% else %}
{% assign ghdocs_url = item.GHDocs %}
{% if item.GHDocs == "" %}
{% assign ghdocs_url = ghdocs_url_template | replace: 'item.Package', item.Package | replace: 'item.TrimmedPackage', trimmedPackage %}
{% endif %}
{% assign ghdocs_url = ghdocs_url | replace: 'item.Version', version %}
{% if code_url != "" and code_url != "NA" and ghdocs_url != "" and ghdocs_url != "NA" %}
&nbsp;|&nbsp;
{% endif %}
{% include releases/pkgbadge.md label="Docs" url=ghdocs_url version=version preview="true" %}
{% endif %}
</div>
{% if item.Support != "" and include.version == "VersionGA" %}
<div>Support: <a href="https://aka.ms/azsdk/policies/support">{{ item.Support | capitalize }}</a></div>
{% endif %}
{% endif %}

Просмотреть файл

@ -1,3 +1,11 @@
{% if include.url != "NA" %}
<a href="{{ include.url }}"><button type="button" class="btn btn-primary {% if include.preview == 'true' %}btn-preview{% endif %}">{{ include.label }} <span class="badge {% if include.preview == 'true' %}badge-preview{% endif %}">{{ include.version }}</span></button></a>
<a href="{{ include.url }}" class="text-nowrap">
{% if include.label == package_label %}
<button type="button" class="btn btn-primary {% if include.preview == 'true' %}btn-preview{% endif %}" title="{{ item.Package }}">{{ include.label }} <span class="badge {% if include.preview == 'true' %}badge-preview{% endif %}" >{{ include.version }}</span></button>
{% else %}
{{ include.label }}
{% endif %}
</a>
{% endif %}

Просмотреть файл

@ -1,78 +1,18 @@
{% if item.Hide != "true" %}
<tr>
<td class="table-display-text-th">{{ item.DisplayName }}</td>
<td>
{% assign trimmedPackage = item.Package | remove: package_trim %}
{% assign package_url = package_url_template | replace: 'item.Package', item.Package | replace: 'item.TrimmedPackage', trimmedPackage | replace: 'item.GroupId', item.GroupId | replace: 'item.RepoPath', item.RepoPath %}
{% if item.VersionGA != "" %}
{% assign url = package_url | replace: 'item.Version', item.VersionGA %}
{% include releases/pkgbadge.md label=package_label url=url version=item.VersionGA %}
{% endif %}
<tr scope="row">
<td title="{{ item.Package }}">
<div>{{ item.DisplayName }} {% if include.type == "all" and item.New == "true" %}<i>(New)</i>{%endif%}</div>
<div><small class="text-muted">{{item.Package}}</small></div>
<div>{% include releases/replace.md %}</div>
</td>
<td>{% include releases/links.md version="VersionGA" %}</td>
<td>{% include releases/links.md version="VersionPreview" preview="true" %}</td>
<td class="text-nowrap">{% include releases/roadmap.md %}</td>
</tr>
{% if item.VersionPreview != "" %}
{% assign url = package_url | replace: 'item.Version', item.VersionPreview %}
{% include releases/pkgbadge.md label=package_label preview="true" url=url version=item.VersionPreview %}
{% endif %}
</td>
<td>
{% assign msdocs_url = item.MSDocs %}
{% if item.MSDocs == "" %}
{% assign msdocs_url = msdocs_url_template | replace: 'item.Package', item.Package | replace: 'item.TrimmedPackage', trimmedPackage %}
{% if item.VersionGA == "" and item.VersionPreview != "" and pre_suffix.size > 0 %}
{% assign msdocs_url = msdocs_url | append: pre_suffix %}
{% endif %}
{% endif %}
{% if item.VersionGA != "" %}
{% assign url = msdocs_url | replace: 'item.Version', item.VersionGA %}
{% include releases/pkgbadge.md label="msdocs" url=url version=item.VersionGA %}
{% endif %}
{% if item.VersionGA == "" and item.VersionPreview != "" %}
{% assign url = msdocs_url | replace: 'item.Version', item.VersionPreview %}
{% include releases/pkgbadge.md label="msdocs" preview="true" url=url version=item.VersionPreview %}
{% endif %}
</td>
<td>
{% assign ghdocs_url = item.GHDocs %}
{% if item.GHDocs == "" %}
{% assign ghdocs_url = ghdocs_url_template | replace: 'item.Package', item.Package | replace: 'item.TrimmedPackage', trimmedPackage %}
{% endif %}
{% if item.VersionGA != "" %}
{% assign url = ghdocs_url | replace: 'item.Version', item.VersionGA %}
{% if docs_label == undefined || docs_label == "" %}
{% assign docs_label = "ghdocs" %}
{% endif %}
{% include releases/pkgbadge.md label=docs_label url=url version=item.VersionGA %}
{% endif %}
{% if item.VersionPreview != "" %}
{% assign url = ghdocs_url | replace: 'item.Version', item.VersionPreview %}
{% if docs_label == undefined || docs_label == "" %}
{% assign docs_label = "ghdocs" %}
{% endif %}
{% include releases/pkgbadge.md label=docs_label preview="true" url=url version=item.VersionPreview %}
{% endif %}
</td>
<td>
{% if item.RepoPath == "NA" or item.RepoPath contains "http" %}
{% assign source_url = item.RepoPath %}
{% else %}
{% assign source_url = source_url_template | replace: 'item.Package', item.Package | replace: 'item.TrimmedPackage', trimmedPackage | replace: 'item.RepoPath', item.RepoPath %}
{% endif %}
{% if item.VersionGA != "" %}
{% assign url = source_url | replace: 'item.Version', item.VersionGA %}
{% include releases/pkgbadge.md label="github" url=url version=item.VersionGA %}
{% endif %}
{% if item.VersionPreview != "" %}
{% assign url = source_url | replace: 'item.Version', item.VersionPreview %}
{% include releases/pkgbadge.md label="github" preview="true" url=url version=item.VersionPreview %}
{% endif %}
</td>
<td class="table-display-text-th">{{ item.Notes }}</td>
</tr>
{% endif %}

Просмотреть файл

@ -1,20 +1,18 @@
<table>
<table class="table table-bordered">
<tr>
<th class="table-display-text-th table-display-name-th">Display Name</th>
<th>Package</th>
<th>Microsoft Docs</th>
{% if docs_header_label == undefined || docs_header_label == "" %}
{% assign docs_header_label = "GitHub Docs" %}
{% endif %}
<th>{{ docs_header_label }}</th>
<th>Source</th>
<th class="table-display-text-th">Notes</th>
<th class="table-display-text-th table-display-name-th" scope="col">Name</th>
<th scope="col">Stable</th>
<th scope="col">Beta</th>
<th scope="col">Next Stable</th>
</tr>
<tbody id="myTable">
{% for item in packages %}
{% include releases/pkgrow.md %}
{% include releases/pkgrow.md type=include.type %}
{% endfor %}
</tbody>
</table>
</table>

Просмотреть файл

@ -14,4 +14,4 @@
{% include releases/variables/python.md %}
{% include releases/pkgtable.md %}
{% include releases/pkgtable.md type=include.type %}

Просмотреть файл

@ -0,0 +1,14 @@
{% if item.Replace != "" %}
{% if item.New != "true" %}
<div class="replacement"><small>Replaced By:
{% assign replaceItems = item.Replace | split: "," %}
<ul>
{% for replaceItem in replaceItems %}
{% assign replaceItemS = replaceItem | strip %}
{% assign package_root_url = package_root_url_template | replace: 'item.GroupId/item.Package', replaceItemS | replace: 'item.Package', replaceItemS %}
<li><a href="{{ package_root_url }}">{{ replaceItemS }}</a></li>
{% endfor %}
</ul>
</small></div>
{% endif%}
{% endif %}

Просмотреть файл

@ -0,0 +1,13 @@
{% assign versions = item.PlannedVersions | split: "|" %}
{% for version in versions %}
{% if forloop.last %}
{% assign versionParts = version | split: "," %}
{% assign versionNumber = versionParts[0] %}
{% assign versionDateParts = versionParts[1] | split: "/" %}
{% assign versionDateQuarter = versionDateParts[0] | divided_by: 3.0 | ceil %}
{% capture versionDateString %}Q{{versionDateQuarter}}-{{versionDateParts[2]}}{% endcapture %}
{% unless versionNumber contains "b" || versionNumber contains "p" %}
{{ versionDateString }}
{% endunless%}
{% endif %}
{% endfor %}

Просмотреть файл

@ -1,6 +1,7 @@
{% assign package_label = "maven" %}
{% assign package_label = "Maven" %}
{% assign package_trim = "azure-" %}
{% assign pre_suffix = "" %}
{% assign package_root_url_template = "https://search.maven.org/artifact/item.GroupId/item.Package" %}
{% assign package_url_template = "https://search.maven.org/artifact/item.GroupId/item.Package/item.Version/aar" %}
<!--{% assign msdocs_url_template = "https://docs.microsoft.com/android/api/overview/azure/item.TrimmedPackage-readme" %}-->
<!--{% assign ghdocs_url_template = "https://azuresdkdocs.blob.core.windows.net/$web/android/item.Package/item.Version/index.html" %}-->

Просмотреть файл

@ -1,6 +1,7 @@
{% assign package_label = "nuget" %}
{% assign package_label = "NuGet" %}
{% assign package_trim = "Azure." %}
{% assign pre_suffix = "-pre" %}
{% assign package_root_url_template = "https://www.nuget.org/packages/item.Package" %}
{% assign package_url_template = "https://www.nuget.org/packages/item.Package/item.Version" %}
{% assign msdocs_url_template = "https://docs.microsoft.com/dotnet/api/overview/azure/item.TrimmedPackage-readme" %}
{% assign ghdocs_url_template = "https://azuresdkdocs.blob.core.windows.net/$web/dotnet/item.Package/item.Version/index.html" %}

Просмотреть файл

@ -1,6 +1,7 @@
{% assign package_label = "maven" %}
{% assign package_label = "Maven" %}
{% assign package_trim = "azure-" %}
{% assign pre_suffix = "" %}
{% assign package_root_url_template = "https://search.maven.org/artifact/item.GroupId/item.Package" %}
{% assign package_url_template = "https://search.maven.org/artifact/item.GroupId/item.Package/item.Version/jar/" %}
{% assign msdocs_url_template = "https://docs.microsoft.com/java/api/overview/azure/item.TrimmedPackage-readme" %}
{% assign ghdocs_url_template = "https://azuresdkdocs.blob.core.windows.net/$web/java/item.Package/item.Version/index.html" %}

Просмотреть файл

@ -1,6 +1,7 @@
{% assign package_label = "npm" %}
{% assign package_trim = "@azure/" %}
{% assign pre_suffix = "" %}
{% assign package_root_url_template = "https://www.npmjs.com/package/item.Package" %}
{% assign package_url_template = "https://www.npmjs.com/package/item.Package/v/item.Version" %}
{% assign msdocs_url_template = "https://docs.microsoft.com/javascript/api/overview/azure/item.TrimmedPackage-readme" %}
{% assign ghdocs_url_template = "https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-item.TrimmedPackage/item.Version/index.html" %}

Просмотреть файл

@ -1,6 +1,7 @@
{% assign package_label = "pypi" %}
{% assign package_label = "PyPI" %}
{% assign package_trim = "azure-" %}
{% assign pre_suffix = "" %}
{% assign package_root_url_template = "https://pypi.org/project/item.Package" %}
{% assign package_url_template = "https://pypi.org/project/item.Package/item.Version" %}
{% assign msdocs_url_template = "https://docs.microsoft.com/python/api/overview/azure/item.TrimmedPackage-readme" %}
{% assign ghdocs_url_template = "https://azuresdkdocs.blob.core.windows.net/$web/python/item.Package/item.Version/index.html" %}

Просмотреть файл

@ -1,5 +1,5 @@
<!-- Navigation -->
<nav class="navbar navbar-fixed-top navbar-inverse">
<nav class="navbar navbar-inverse">
<div class="container topnavlinks">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">

Просмотреть файл

@ -1,11 +1,10 @@
body {
font-size: 15px;
padding-top: 65px;
}
#tg-sb-content {
/* This is the header (50px) + header-bottom-margin (20px) */
margin-top: 70px;
/* margin-top: 30px; */
}
.requirement {
@ -98,13 +97,7 @@ body {
}
/* make room for the nav bar */
h1[id],
h2[id],
h3[id],
h4[id],
h5[id],
h6[id],
dt[id],
h1[id]
.requirement {
padding-top: 60px;
margin-top: -40px;
@ -690,7 +683,7 @@ h5 {
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
background-color: #248ec2;
background-color: #0071c5;
color: white;
}
@ -1333,13 +1326,14 @@ h4.panel-title {
}
.btn-preview {
align-items: center;
background-color: #a9a9a9;
border-color: #a9a9a9;
/*
align-items: center;
display: flex;
flex-wrap: wrap;
flex-flow: column;
margin-top: 4px;
margin-top: 4px;*/
}
.btn-preview:hover {
@ -1358,7 +1352,7 @@ h4.panel-title {
}
.table-display-name-th {
width: 18rem;
min-width: 20rem;
}
.table-display-text-th {
@ -1458,3 +1452,7 @@ pre code {
flex: 1;
}
}
.replacement{
margin-top: 5px;
}

Просмотреть файл

@ -1,5 +1,5 @@
---
title: Azure SDK Latest Releases
title: Azure SDK Releases
layout: default
sidebar: releases_sidebar
---

Просмотреть файл

@ -1,5 +1,5 @@
---
title: Azure SDK Latest Releases
title: Azure SDK Releases
layout: default
sidebar: releases_sidebar
---

Просмотреть файл

@ -1,5 +1,5 @@
---
title: Azure SDK Latest Releases
title: Azure SDK Releases
layout: default
sidebar: releases_sidebar
permalink: /releases/latest/index.html

Просмотреть файл

@ -1,5 +1,5 @@
---
title: Azure SDK Latest Releases
title: Azure SDK Releases
layout: default
sidebar: releases_sidebar
---