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:
Brandy Carney
2024-04-02 21:27:00 -04:00
committed by GitHub
parent ee5da7a747
commit 9b3cf9fbc2
10 changed files with 5 additions and 6 deletions

View File

@ -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:

View File

@ -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'

View File

@ -1,7 +1,6 @@
{ {
"packages": [ "packages": [
"core", "core",
"docs",
"packages/*" "packages/*"
], ],
"version": "7.8.2" "version": "7.8.2"