mirror of
https://github.com/hanzoai/postcss.git
synced 2026-09-24 17:01:56 +00:00
Use new API page
This commit is contained in:
@@ -411,7 +411,7 @@ Read the [PostCSS API documentation] for more details about the JS API.
|
||||
All PostCSS runners should pass [PostCSS Runner Guidelines].
|
||||
|
||||
[PostCSS Runner Guidelines]: https://github.com/postcss/postcss/blob/master/docs/guidelines/runner.md
|
||||
[PostCSS API documentation]: http://api.postcss.org/postcss.html
|
||||
[PostCSS API documentation]: https://postcss.org/api/
|
||||
|
||||
|
||||
### Options
|
||||
|
||||
+1
-1
@@ -299,7 +299,7 @@ fs.readFile('src/app.css', (err, css) => {
|
||||
所有的 PostCSS 运行器应当通过 [PostCSS 运行器指南]。
|
||||
|
||||
[PostCSS 运行器指南]: https://github.com/postcss/postcss/blob/master/docs/guidelines/runner.md
|
||||
[PostCSS API 文档]: http://api.postcss.org/postcss.html
|
||||
[PostCSS API 文档]: https://postcss.org/api/
|
||||
|
||||
### 配置选项
|
||||
|
||||
|
||||
@@ -141,7 +141,7 @@ So now let's look more closely on structures that play the main role in PostCSS
|
||||
|
||||
Processor is a very plain structure that initializes plugins and runs syntax transformations
|
||||
|
||||
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)
|
||||
It exposes only a few public API methods. Description of them could be found on [API](https://postcss.org/api/#processor)
|
||||
|
||||
- #### 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)
|
||||
|
||||
@@ -154,4 +154,4 @@ So now let's look more closely on structures that play the main role in PostCSS
|
||||
|
||||
### API Reference
|
||||
|
||||
More descriptive API documentation could be found [here](http://api.postcss.org/)
|
||||
More descriptive API documentation could be found [here](https://postcss.org/api/)
|
||||
|
||||
@@ -68,7 +68,7 @@ PostCSS runners must not rely on undocumented properties or methods,
|
||||
which may be subject to change in any minor release. The public API
|
||||
is described in [API docs].
|
||||
|
||||
[API docs]: http://api.postcss.org/
|
||||
[API docs]: https://postcss.org/api/
|
||||
|
||||
|
||||
## 3. Output
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@ module.exports = function parse (css, opts) {
|
||||
```
|
||||
|
||||
[Safe Parser]: https://github.com/postcss/postcss-safe-parser
|
||||
[`Root`]: http://api.postcss.org/Root.html
|
||||
[`Root`]: https://postcss.org/api/#root
|
||||
|
||||
|
||||
### Main Theory
|
||||
|
||||
Reference in New Issue
Block a user