Skip to content

Commit 64abf1b

Browse files
Auto content update (2026-03-11 21:02:56)
1 parent 6cb9e4c commit 64abf1b

File tree

6 files changed

+102
-52
lines changed

6 files changed

+102
-52
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: Build Contributors
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
jobs:
8+
build-contributors:
9+
name: Build Contributors
10+
uses: AdobeDocs/adp-devsite-workflow/.github/workflows/build-contributors.yml@main
11+
secrets: inherit
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Build Site Metadata
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
jobs:
8+
build-site-metadata:
9+
name: Build Site Metadata
10+
uses: AdobeDocs/adp-devsite-workflow/.github/workflows/build-site-metadata.yml@main

.github/workflows/lint.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: Lint
3+
on:
4+
pull_request:
5+
branches: [main]
6+
paths:
7+
- 'src/pages/**'
8+
9+
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
14+
pull-requests: write
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Lint
20+
id: lint
21+
continue-on-error: true
22+
run: npx --yes github:AdobeDocs/adp-devsite-utils runLint -v
23+
24+
- name: Post Linter Report to PR
25+
if: always()
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
PR_ID: ${{ github.event.pull_request.number }}
29+
GITHUB_REPOSITORY: ${{ github.repository }}
30+
run: |
31+
npm install --no-save github:AdobeDocs/adp-devsite-scripts
32+
node node_modules/adp-devsite-scripts/linter-bot/postLinterReport.js
33+
34+
- name: Fail if linter found errors
35+
if: steps.lint.outcome == 'failure'
36+
run: exit 1

.gitignore

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,28 @@
66
.history
77
.idea
88
.editorconfig
9-
.cursor
109

1110
# npm yarn
1211
node_modules
12+
package-lock.json
13+
yarn-error.log
14+
.pnp.*
15+
.yarn/*
16+
17+
# keep in repo
18+
!.gitignore
19+
!.yarn.lock
20+
!.yarnrc.yml
21+
!.yarn/patches
22+
!.yarn/plugins
23+
!.yarn/releases
24+
!.yarn/sdks
25+
!.yarn/versions
26+
27+
# gatsby files
28+
.env
29+
.cache
30+
public
1331

1432
# cypress
1533
cypress/videos
@@ -22,3 +40,11 @@ lerna-debug.log
2240
.actrc
2341
.secrets
2442
local-test.yml
43+
44+
# yalc
45+
.yalc
46+
yalc.lock
47+
48+
#txt
49+
linter-output.txt
50+
linter-report.txt

dev.mjs

Lines changed: 0 additions & 39 deletions
This file was deleted.

package.json

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,29 @@
11
{
2-
"name": "commerce-contributor",
2+
"name": "dev-docs-template",
33
"version": "1.0.0",
44
"license": "Apache-2.0",
55
"repository": {
66
"type": "git",
7-
"url": "https://github.com/AdobeDocs/commerce-contributor"
7+
"url": "https://github.com/AdobeDocs/dev-docs-template"
88
},
9-
"config": {
10-
"sitePath": "commerce/contributor"
9+
"author": {
10+
"name": "Tim Kim",
11+
"url": "https://github.com/timkim"
1112
},
1213
"scripts": {
13-
"dev": "node ./dev.mjs",
14+
"dev": "npx --yes github:AdobeDocs/adp-devsite-utils dev",
15+
"buildNavigation": "npx --yes github:AdobeDocs/adp-devsite-utils buildNavigation -v",
16+
"buildRedirections": "npx --yes github:AdobeDocs/adp-devsite-utils buildRedirections -v",
17+
"renameFiles": "npx --yes github:AdobeDocs/adp-devsite-utils renameFiles -v",
18+
"normalizeLinks": "npx --yes github:AdobeDocs/adp-devsite-utils normalizeLinks -v",
19+
"buildSiteWideBanner": "npx --yes github:AdobeDocs/adp-devsite-utils buildSiteWideBanner -v",
20+
"buildSiteMetadata": "npx --yes github:AdobeDocs/adp-devsite-utils buildSiteMetadata -v",
21+
"buildContributors": "npx --yes github:AdobeDocs/adp-devsite-utils buildContributors -v",
1422
"lint": "npx --yes github:AdobeDocs/adp-devsite-utils runLint -v",
15-
"lint:md": "npx --yes markdownlint-cli2 'src/pages/**/*.md' '*.md'",
16-
"lint:md:fix": "npx --yes markdownlint-cli2 --fix 'src/pages/**/*.md' '*.md'",
17-
"test": "npx --yes jest",
18-
"test:config": "npx --yes jest tests/config.test.js"
19-
},
20-
"devDependencies": {
21-
"express": "5.2.1"
23+
"lint:errorOnly": "npx --yes github:AdobeDocs/adp-devsite-utils runLint",
24+
"link:skipdeadlinks": "npx --yes github:AdobeDocs/adp-devsite-utils runLint --skip-dead-links -v",
25+
"link:deadlinkonly": "npx --yes github:AdobeDocs/adp-devsite-utils runLint --dead-links-only -v",
26+
"redirectCheck:stage": "npx --yes github:AdobeDocs/adp-devsite-utils redirectChecker stage --verbose",
27+
"redirectCheck:prod": "npx --yes github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose"
2228
}
2329
}

0 commit comments

Comments
 (0)