Skip to content

Commit 9b3cf9f

Browse files
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 <[email protected]>
1 parent ee5da7a commit 9b3cf9f

File tree

10 files changed

+5
-6
lines changed

10 files changed

+5
-6
lines changed

.github/workflows/release-ionic.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
uses: ./.github/workflows/actions/upload-archive
4242
with:
4343
name: ionic-docs
44-
output: docs/DocsBuild.zip
45-
paths: docs/core.json docs/core.d.ts
44+
output: packages/docs/DocsBuild.zip
45+
paths: packages/docs/core.json packages/docs/core.d.ts
4646

4747
release-docs:
4848
needs: [release-core]
@@ -53,15 +53,15 @@ jobs:
5353
uses: ./.github/workflows/actions/download-archive
5454
with:
5555
name: ionic-docs
56-
path: ./docs
56+
path: ./packages/docs
5757
filename: DocsBuild.zip
5858
- uses: ./.github/workflows/actions/publish-npm
5959
with:
6060
scope: '@ionic/docs'
6161
tag: ${{ inputs.tag }}
6262
version: ${{ inputs.version }}
6363
preid: ${{ inputs.preid }}
64-
working-directory: 'docs'
64+
working-directory: 'packages/docs'
6565
token: ${{ secrets.NPM_TOKEN }}
6666

6767
release-angular:

core/stencil.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export const config: Config = {
232232
},
233233
{
234234
type: 'docs-json',
235-
file: '../docs/core.json'
235+
file: '../packages/docs/core.json'
236236
},
237237
{
238238
type: 'dist-hydrate-script'

lerna.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"packages": [
33
"core",
4-
"docs",
54
"packages/*"
65
],
76
"version": "7.8.2"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)