1

我只是想添加我的自定义扩展的概述。分步指南等。

此外,很高兴知道如何添加问答选项卡。

目前,它似乎在下面的屏幕上。

概述

我想添加一个概述,但我不知道该怎么做。

我的vss-extension.json文件如下所示:

{
    "manifestVersion": 1,
    "id": "{{my id}}",
    "version": "{{version}}",
    "name": "{{name}}",
    "description": "{{description}}",
    "publisher": "{{publisher}}",
    "categories": [
        "Azure Boards"
    ],
    "includes": [
        "ms.vss-releaseManagement-web.release-service-data-external"
    ],
    "targets": [
        {
            "id": "Microsoft.VisualStudio.Services"
        }
    ],
    "icons": {
        "default": "static/logo.png"
    },
    "demands": [
        "contribution/ms.vss-dashboards-web.widget-sdk-version-2",
        "contribution/ms.vss-web.charts-service"
    ],
    "contributions": [
        {
            "id": "Widget",
            "type": "ms.vss-dashboards-web.widget",
            "targets": [
                "ms.vss-dashboards-web.widget-catalog",
                ".Configuration"
            ],
            "properties": {
                "name": "{{name}}",
                "description": "A reusable widget",
                "catalogIconUrl": "static/catalogImage.png",
                "previewImageUrl": "static/previewImage.png",
                "isNameConfigurable": false,
                "uri": "static/widget.html",
                "supportedSizes": [
                    {
                        "rowSpan": 2,
                        "columnSpan": 2
                    }
                ],
                "supportedScopes": [
                    "project_team"
                ]
            }
        },
        {
            "id": "Configuration",
            "type": "ms.vss-dashboards-web.widget-configuration",
            "targets": [
                "ms.vss-dashboards-web.widget-configuration"
            ],
            "properties": {
                "name": "AnalyticsExampleWidget Configuration",
                "description": "Configures AnalyticsExampleWidget",
                "uri": "static/configuration.html"
            }
        }
    ],
    "files": [
        ...
    ],
    ...
}
4

1 回答 1

1

概述是一个readme.md文件,您需要放入扩展 repo 并在vss-extension.json文件中指定路径:

"content": {
    "details": {
    "path": "README.MD"
    },

问答部分不可配置,用户可以去那里创建一个问题,您可以回答。

于 2020-04-23T13:05:32.197 回答