From 2a6c56156a71dfb4116fa66ceb669b88d27667ce Mon Sep 17 00:00:00 2001 From: Zed <601306339@qq.com> Date: Thu, 6 May 2021 15:30:13 +0800 Subject: [PATCH] readme config --- .../billing/resource-manager/readme.md | 6 ++++- .../billing/resource-manager/readme.python.md | 25 ++++++++----------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/specification/billing/resource-manager/readme.md b/specification/billing/resource-manager/readme.md index 643589c6ec8a..8cb5f3f3a9a5 100644 --- a/specification/billing/resource-manager/readme.md +++ b/specification/billing/resource-manager/readme.md @@ -105,7 +105,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-net - - repo: azure-sdk-for-python + - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-js @@ -132,6 +132,10 @@ csharp: clear-output-folder: true ``` +## Python + +See configuration in [readme.python.md](./readme.python.md) + ## Go See configuration in [readme.go.md](./readme.go.md) diff --git a/specification/billing/resource-manager/readme.python.md b/specification/billing/resource-manager/readme.python.md index 28fc27d0534c..829ed6a6c37d 100644 --- a/specification/billing/resource-manager/readme.python.md +++ b/specification/billing/resource-manager/readme.python.md @@ -6,22 +6,19 @@ Use `--python-mode=update` if you already have a setup.py and just want to updat ``` yaml $(python) python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.billing - package-name: azure-mgmt-billing - package-version: 0.3.0 - clear-output-folder: true +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +namespace: azure.mgmt.billing +package-name: azure-mgmt-billing +package-version: 0.3.0 +clear-output-folder: true ``` ``` yaml $(python) && $(python-mode) == 'update' -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/billing/azure-mgmt-billing/azure/mgmt/billing +no-namespace-folders: true +output-folder: $(python-sdks-folder)/billing/azure-mgmt-billing/azure/mgmt/billing ``` + ``` yaml $(python) && $(python-mode) == 'create' -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/billing/azure-mgmt-billing +basic-setup-py: true +output-folder: $(python-sdks-folder)/billing/azure-mgmt-billing ```