Skip to content

Commit 087fa4e

Browse files
committed
update migration
1 parent c5b2980 commit 087fa4e

File tree

1 file changed

+7
-26
lines changed

1 file changed

+7
-26
lines changed

guides/migration.mdx

Lines changed: 7 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -92,56 +92,37 @@ Don't see your documentation provider or have a custom system? We can still help
9292

9393
## Commands
9494

95-
- `mintlify-scrape section [url]` - Scrapes multiple pages in a site
96-
- `mintlify-scrape page [url]` - Scrapes a single page in a site
95+
- `mintlify-scrape section [url]` - Scrapes multiple pages in a site.
96+
- `mintlify-scrape page [url]` - Scrapes a single page in a site.
9797

9898
The commands automatically detect the framework.
9999

100100
## Installation
101101

102-
First, install the package:
103-
104-
```bash
105-
npm i @mintlify/scraping
106-
```
107-
108-
### One-time use
109-
110-
<CodeGroup>
111-
112-
```bash Section
113-
npx @mintlify/scraping@latest section [url]
114-
```
115-
116-
117-
```bash Page
118-
npx @mintlify/scraping@latest page [url]
119-
```
120-
121-
</CodeGroup>
102+
You can install the package globally or for one-time use.
122103

123104
### Global installation
124105

125106
```bash
126107
npm install @mintlify/scraping@latest -g
127108
```
128109

129-
### Global usage
110+
### One-time use
130111

131112
<CodeGroup>
132113

133114
```bash Section
134-
mintlify-scrape section [url]
115+
npx @mintlify/scraping@latest section [url]
135116
```
136117

137118

138119
```bash Page
139-
mintlify-scrape page [url]
120+
npx @mintlify/scraping@latest page [url]
140121
```
141122

142123
</CodeGroup>
143124

144-
### OpenAPI migration
125+
## OpenAPI migration
145126

146127
Provide the relative path or URL to the OpenAPI file to generate frontmatter files for each endpoint.
147128

0 commit comments

Comments
 (0)