Skip to content

Commit 0b65acc

Browse files
authored
feat(name): @nodejs/doc-kit (#358)
1 parent 9436edd commit 0b65acc

File tree

7 files changed

+18
-18
lines changed

7 files changed

+18
-18
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Node.js `api-docs-tooling` Contributing Guide
1+
# `@nodejs/doc-kit` Contributing Guide
22

3-
Thank you for your interest in contributing to the Node.js `api-docs-tooling` project! We welcome contributions from everyone, and we appreciate your help in making this project better.
3+
Thank you for your interest in contributing to the `@nodejs/doc-kit` project! We welcome contributions from everyone, and we appreciate your help in making this project better.
44

55
## Table of Contents
66

@@ -26,7 +26,7 @@ Thank you for your interest in contributing to the Node.js `api-docs-tooling` pr
2626

2727
## Getting Started
2828

29-
The steps below will give you a general idea of how to prepare your local environment for the Node.js `api-docs-tooling` project and general steps for getting things done and landing your contribution.
29+
The steps below will give you a general idea of how to prepare your local environment for the `@nodejs/doc-kit` project and general steps for getting things done and landing your contribution.
3030

3131
### Prerequisites
3232

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</p>
1010

1111
<p align="center">
12-
<code>api-docs-tooling</code> is a tool to generate API documentation of Node.js. <a href="https://github.com/nodejs/node/issues/52343">See this issue</a> for more information.
12+
<code>@nodejs/doc-kit</code> is a tool to generate API documentation of Node.js. <a href="https://github.com/nodejs/node/issues/52343">See this issue</a> for more information.
1313
</p>
1414

1515
<p align="center">
@@ -32,11 +32,11 @@
3232
Local invocation:
3333

3434
```sh
35-
$ npx api-docs-tooling --help
35+
$ npx doc-kit --help
3636
```
3737

3838
```
39-
Usage: api-docs-tooling [options] [command]
39+
Usage: @nodejs/doc-kit [options] [command]
4040
4141
CLI tool to generate and lint Node.js API documentation
4242
@@ -54,7 +54,7 @@ Commands:
5454
### `generate`
5555

5656
```
57-
Usage: api-docs-tooling generate [options]
57+
Usage: @nodejs/doc-kit generate [options]
5858
5959
Generate API docs
6060
@@ -74,7 +74,7 @@ Options:
7474
### `lint`
7575

7676
```
77-
Usage: api-docs-tooling lint [options]
77+
Usage: @nodejs/doc-kit lint [options]
7878
7979
Run linter independently
8080
@@ -90,7 +90,7 @@ Options:
9090
### `interactive`
9191

9292
```
93-
Usage: api-docs-tooling interactive [options]
93+
Usage: @nodejs/doc-kit interactive [options]
9494
9595
Launch guided CLI wizard
9696
@@ -101,7 +101,7 @@ Options:
101101
### `list`
102102

103103
```
104-
Usage: api-docs-tooling list [options] <types>
104+
Usage: @nodejs/doc-kit list [options] <types>
105105
106106
List the given type
107107

bin/cli.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import list, { types } from './commands/list.mjs';
1010
import { errorWrap } from './utils.mjs';
1111

1212
const program = new Command()
13-
.name('api-docs-tooling')
13+
.name('@nodejs/doc-kit')
1414
.description('CLI tool to generate and lint Node.js API documentation');
1515

1616
// Registering generate and lint commands

bin/commands/interactive.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export default async function interactive() {
134134
}
135135

136136
// Step 4: Build the final command by escaping values
137-
const cmdParts = ['npx', 'api-docs-tooling', name];
137+
const cmdParts = ['npx', 'doc-kit', name];
138138
const executionArgs = [name];
139139

140140
for (const [key, { flags }] of Object.entries(options)) {

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@node-core/api-docs-tooling",
2+
"name": "@nodejs/doc-kit",
33
"repository": {
44
"type": "git",
55
"url": "git+https://github.com/nodejs/api-docs-tooling.git"
@@ -21,7 +21,7 @@
2121
},
2222
"main": "./src/index.mjs",
2323
"bin": {
24-
"api-docs-tooling": "./bin/cli.mjs"
24+
"doc-kit": "./bin/cli.mjs"
2525
},
2626
"devDependencies": {
2727
"@eslint/js": "^9.30.1",

src/generators/man-page/template.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.\"
2-
.\" This file was generated automatically by the api-docs-tooling tool.
2+
.\" This file was generated automatically by the @nodejs/doc-kit tool.
33
.\" Please do not edit this file manually. Make any updates to cli.md
44
.\" and regenerate the file afterward.
55
.\"

0 commit comments

Comments
 (0)