mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-26 08:13:34 +08:00
chore(docs): move docs to the packages directory (#29256)
Move the `docs/` directory into the `packages/` directory. This will enable us to create a top level `docs/` folder for onboarding and contributing guidelines. It will also be necessary when migrating to pnpm. --------- Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
This commit is contained in:
8
.github/workflows/release-ionic.yml
vendored
8
.github/workflows/release-ionic.yml
vendored
@ -41,8 +41,8 @@ jobs:
|
|||||||
uses: ./.github/workflows/actions/upload-archive
|
uses: ./.github/workflows/actions/upload-archive
|
||||||
with:
|
with:
|
||||||
name: ionic-docs
|
name: ionic-docs
|
||||||
output: docs/DocsBuild.zip
|
output: packages/docs/DocsBuild.zip
|
||||||
paths: docs/core.json docs/core.d.ts
|
paths: packages/docs/core.json packages/docs/core.d.ts
|
||||||
|
|
||||||
release-docs:
|
release-docs:
|
||||||
needs: [release-core]
|
needs: [release-core]
|
||||||
@ -53,7 +53,7 @@ jobs:
|
|||||||
uses: ./.github/workflows/actions/download-archive
|
uses: ./.github/workflows/actions/download-archive
|
||||||
with:
|
with:
|
||||||
name: ionic-docs
|
name: ionic-docs
|
||||||
path: ./docs
|
path: ./packages/docs
|
||||||
filename: DocsBuild.zip
|
filename: DocsBuild.zip
|
||||||
- uses: ./.github/workflows/actions/publish-npm
|
- uses: ./.github/workflows/actions/publish-npm
|
||||||
with:
|
with:
|
||||||
@ -61,7 +61,7 @@ jobs:
|
|||||||
tag: ${{ inputs.tag }}
|
tag: ${{ inputs.tag }}
|
||||||
version: ${{ inputs.version }}
|
version: ${{ inputs.version }}
|
||||||
preid: ${{ inputs.preid }}
|
preid: ${{ inputs.preid }}
|
||||||
working-directory: 'docs'
|
working-directory: 'packages/docs'
|
||||||
token: ${{ secrets.NPM_TOKEN }}
|
token: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
||||||
release-angular:
|
release-angular:
|
||||||
|
@ -232,7 +232,7 @@ export const config: Config = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'docs-json',
|
type: 'docs-json',
|
||||||
file: '../docs/core.json'
|
file: '../packages/docs/core.json'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'dist-hydrate-script'
|
type: 'dist-hydrate-script'
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"packages": [
|
"packages": [
|
||||||
"core",
|
"core",
|
||||||
"docs",
|
|
||||||
"packages/*"
|
"packages/*"
|
||||||
],
|
],
|
||||||
"version": "7.8.2"
|
"version": "7.8.2"
|
||||||
|
Reference in New Issue
Block a user