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
|
||||
with:
|
||||
name: ionic-docs
|
||||
output: docs/DocsBuild.zip
|
||||
paths: docs/core.json docs/core.d.ts
|
||||
output: packages/docs/DocsBuild.zip
|
||||
paths: packages/docs/core.json packages/docs/core.d.ts
|
||||
|
||||
release-docs:
|
||||
needs: [release-core]
|
||||
@ -53,7 +53,7 @@ jobs:
|
||||
uses: ./.github/workflows/actions/download-archive
|
||||
with:
|
||||
name: ionic-docs
|
||||
path: ./docs
|
||||
path: ./packages/docs
|
||||
filename: DocsBuild.zip
|
||||
- uses: ./.github/workflows/actions/publish-npm
|
||||
with:
|
||||
@ -61,7 +61,7 @@ jobs:
|
||||
tag: ${{ inputs.tag }}
|
||||
version: ${{ inputs.version }}
|
||||
preid: ${{ inputs.preid }}
|
||||
working-directory: 'docs'
|
||||
working-directory: 'packages/docs'
|
||||
token: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
release-angular:
|
||||
|
@ -232,7 +232,7 @@ export const config: Config = {
|
||||
},
|
||||
{
|
||||
type: 'docs-json',
|
||||
file: '../docs/core.json'
|
||||
file: '../packages/docs/core.json'
|
||||
},
|
||||
{
|
||||
type: 'dist-hydrate-script'
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"packages": [
|
||||
"core",
|
||||
"docs",
|
||||
"packages/*"
|
||||
],
|
||||
"version": "7.8.2"
|
||||
|
Reference in New Issue
Block a user