Skip to content

Commit e45ab2c

Browse files
committed
Use new API page
1 parent b6c765c commit e45ab2c

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ Read the [PostCSS API documentation] for more details about the JS API.
411411
All PostCSS runners should pass [PostCSS Runner Guidelines].
412412

413413
[PostCSS Runner Guidelines]: https://github.com/postcss/postcss/blob/master/docs/guidelines/runner.md
414-
[PostCSS API documentation]: http://api.postcss.org/postcss.html
414+
[PostCSS API documentation]: https://postcss.org/api/
415415

416416

417417
### Options

docs/README-cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ fs.readFile('src/app.css', (err, css) => {
299299
所有的 PostCSS 运行器应当通过 [PostCSS 运行器指南]
300300

301301
[PostCSS 运行器指南]: https://github.com/postcss/postcss/blob/master/docs/guidelines/runner.md
302-
[PostCSS API 文档]: http://api.postcss.org/postcss.html
302+
[PostCSS API 文档]: https://postcss.org/api/
303303

304304
### 配置选项
305305

docs/architecture.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ So now let's look more closely on structures that play the main role in PostCSS
141141

142142
Processor is a very plain structure that initializes plugins and runs syntax transformations
143143

144-
It exposes only a few public API methods. Description of them could be found on [api.postcss.org/Processor](http://api.postcss.org/Processor.html)
144+
It exposes only a few public API methods. Description of them could be found on [API](https://postcss.org/api/#processor)
145145

146146
- #### Stringifier [`lib/stringify.js`](https://github.com/postcss/postcss/blob/master/lib/stringify.js), [`lib/stringifier.js`](https://github.com/postcss/postcss/blob/master/lib/stringifier.js)
147147

@@ -154,4 +154,4 @@ So now let's look more closely on structures that play the main role in PostCSS
154154

155155
### API Reference
156156

157-
More descriptive API documentation could be found [here](http://api.postcss.org/)
157+
More descriptive API documentation could be found [here](https://postcss.org/api/)

docs/guidelines/runner.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ PostCSS runners must not rely on undocumented properties or methods,
6868
which may be subject to change in any minor release. The public API
6969
is described in [API docs].
7070

71-
[API docs]: http://api.postcss.org/
71+
[API docs]: https://postcss.org/api/
7272

7373

7474
## 3. Output

docs/syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ module.exports = function parse (css, opts) {
5353
```
5454

5555
[Safe Parser]: https://github.com/postcss/postcss-safe-parser
56-
[`Root`]: http://api.postcss.org/Root.html
56+
[`Root`]: https://postcss.org/api/#root
5757

5858

5959
### Main Theory

0 commit comments

Comments
 (0)