Skip to content

Commit f100474

Browse files
Add link to customization docs (Azure#52686)
* Add link to customization docs * delete docs * fix script
1 parent 12e3f5b commit f100474

File tree

5 files changed

+20
-1
lines changed

5 files changed

+20
-1
lines changed
File renamed without changes.
File renamed without changes.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
### Prerequisite
2+
3+
- Install [Node.js](https://nodejs.org/download/) 20 or above. (Verify by running `node --version`)
4+
- Install [**.NET 8.0 SDK**](https://dotnet.microsoft.com/download/dotnet/8.0) for your specific platform. (or a higher version)
5+
6+
### Customizing Generated Code
7+
8+
For detailed instructions on how to customize the generated C# code, see the [Customization Guide](https://github.com/microsoft/typespec/blob/main/packages/http-client-csharp/.tspd/docs/customization.md).

eng/packages/http-client-csharp/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ TypeSpec library for emitting Azure libraries for C#.
88
npm install @azure-typespec/http-client-csharp
99
```
1010

11+
## Usage
12+
13+
### Prerequisite
14+
15+
- Install [Node.js](https://nodejs.org/download/) 20 or above. (Verify by running `node --version`)
16+
- Install [**.NET 8.0 SDK**](https://dotnet.microsoft.com/download/dotnet/8.0) for your specific platform. (or a higher version)
17+
18+
### Customizing Generated Code
19+
20+
For detailed instructions on how to customize the generated C# code, see the [Customization Guide](https://github.com/microsoft/typespec/blob/main/packages/http-client-csharp/.tspd/docs/customization.md).
21+
1122
## Emitter usage
1223

1324
1. Via the command line

eng/packages/http-client-csharp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"lint:fix": "eslint . --fix",
3232
"prettier:fix": "prettier --write --config .prettierrc.json ./**/*.ts package.json",
3333
"prettier": "prettier --check --config .prettierrc.json ./**/*.ts package.json",
34-
"regen-docs": "npm run build:emitter && tspd doc . --enable-experimental --skip-js"
34+
"regen-docs": "npm run build:emitter && tspd doc . --output-dir .tspd/docs --enable-experimental --skip-js"
3535
},
3636
"files": [
3737
"dist/emitter/src/**",

0 commit comments

Comments
 (0)