mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs: add docs package (#16515)
This adds an @ionic/docs package that we can use to publish the JSON API data along with each release.
This commit is contained in:
@@ -62,6 +62,10 @@ export const config: Config = {
|
||||
type: 'docs',
|
||||
strict: true
|
||||
},
|
||||
{
|
||||
type: 'docs-json',
|
||||
file: '../docs/core.json'
|
||||
},
|
||||
{
|
||||
type: 'stats',
|
||||
file: 'stats.json'
|
||||
|
||||
1
docs/.gitignore
vendored
Normal file
1
docs/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
core.json
|
||||
7
docs/README.md
Normal file
7
docs/README.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# @ionic/docs
|
||||
|
||||
This package publishes the JSON data used to build the [Ionic API documentation](https://beta.ionicframework.com/docs/api).
|
||||
|
||||
## License
|
||||
|
||||
* [MIT](https://raw.githubusercontent.com/ionic-team/ionic/master/LICENSE)
|
||||
19
docs/package.json
Normal file
19
docs/package.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "@ionic/docs",
|
||||
"version": "4.0.0-beta.17",
|
||||
"description": "Pre-packaged API documentation for the Ionic docs.",
|
||||
"main": "core.json",
|
||||
"files": [
|
||||
"core.json"
|
||||
],
|
||||
"author": "Ionic Team",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/ionic-team/ionic-docs.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/ionic-team/ionic-docs/issues"
|
||||
},
|
||||
"homepage": "https://github.com/ionic-team/ionic-docs#readme"
|
||||
}
|
||||
Reference in New Issue
Block a user