From 582c4481f3abb25d73b84059333c8a4c54d8aa33 Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Mon, 16 Mar 2026 15:06:49 -0700 Subject: [PATCH 1/6] Auto content update (2026-03-16 22:06:48) --- .../workflows/build-auto-generated-files.yml | 13 +++++ .github/workflows/lint.yml | 51 +++++++++++++------ .gitignore | 27 ++++++++-- dev.mjs | 28 ---------- package.json | 24 +++++---- 5 files changed, 83 insertions(+), 60 deletions(-) create mode 100644 .github/workflows/build-auto-generated-files.yml delete mode 100644 dev.mjs diff --git a/.github/workflows/build-auto-generated-files.yml b/.github/workflows/build-auto-generated-files.yml new file mode 100644 index 00000000..c926d91c --- /dev/null +++ b/.github/workflows/build-auto-generated-files.yml @@ -0,0 +1,13 @@ +--- +name: Build Auto-Generated Files +on: + pull_request: + workflow_dispatch: + +jobs: + build-contributors: + name: Build Auto-Generated Files + if: github.repository != 'AdobeDocs/dev-docs-template' + uses: AdobeDocs/adp-devsite-workflow/.github/workflows/build-auto-generated-files.yml@main + secrets: inherit + \ No newline at end of file diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 18f1e49d..8c6ddf8d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,17 +1,36 @@ --- - name: Lint - on: - pull_request: - branches: [main] - paths: - - 'src/pages/**' - - jobs: - lint: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Lint - run: npx --yes github:AdobeDocs/adp-devsite-utils runLint -v \ No newline at end of file + name: Lint + on: + pull_request: + branches: [main] + paths: + - 'src/pages/**' + + jobs: + lint: + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Lint + id: lint + continue-on-error: true + run: npx --yes github:AdobeDocs/adp-devsite-utils runLint -v + + - name: Post Linter Report to PR + if: always() + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PR_ID: ${{ github.event.pull_request.number }} + GITHUB_REPOSITORY: ${{ github.repository }} + run: | + npm install --no-save github:AdobeDocs/adp-devsite-scripts + node node_modules/adp-devsite-scripts/linter-bot/postLinterReport.js + + - name: Fail if linter found errors + if: steps.lint.outcome == 'failure' + run: exit 1 \ No newline at end of file diff --git a/.gitignore b/.gitignore index c2ed6184..2a83daa9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,15 @@ -.editorconfig -.idea + +# OS and IDE generated files # +############################## .DS_Store -.vscode/* +.vscode +.history +.idea +.editorconfig # npm yarn node_modules -package.lock +package-lock.json yarn-error.log .pnp.* .yarn/* @@ -30,4 +34,17 @@ cypress/videos cypress/screenshots # lerna -lerna-debug.log \ No newline at end of file +lerna-debug.log + +# local actions +.actrc +.secrets +local-test.yml + +# yalc +.yalc +yalc.lock + +#txt +linter-output.txt +linter-report.txt diff --git a/dev.mjs b/dev.mjs deleted file mode 100644 index 412e84de..00000000 --- a/dev.mjs +++ /dev/null @@ -1,28 +0,0 @@ -// content/docs -// serve static on 3001 - -import express from 'express'; -import fs from 'fs'; -import path from 'path'; -import { fileURLToPath } from 'url'; - -const __dirname = path.dirname(fileURLToPath(import.meta.url)); - -const PORT = process.env.DEV_PORT || 3003; - -// TODO: ensure `DOCS_DIRECTORY` starts with `/` -const DOCS_DIRECTORY = process.env.DIRECTORY || './src/pages'; - -const app = express(); -console.log(path.resolve(__dirname, `./${DOCS_DIRECTORY}`)); -app.use( - express.static(path.resolve(__dirname, `./${DOCS_DIRECTORY}`), { - setHeaders: (res) => { - res.setHeader('last-modified', new Date().toGMTString()); - }, - }), -); - -app.listen(PORT, () => { - console.debug(`Docs dev server is running on port ${PORT}`); -}); \ No newline at end of file diff --git a/package.json b/package.json index 5a625d4e..1c937319 100644 --- a/package.json +++ b/package.json @@ -1,27 +1,29 @@ { - "private": true, - "name": "adobe-dev-distribution", + "name": "dev-docs-template", "version": "1.0.0", "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AdobeDocs/dev-site-documentation-template" + "url": "https://github.com/AdobeDocs/dev-docs-template" }, "author": { - "name": "Stephan Ringel", - "url": "https://github.com/icaraps" + "name": "Tim Kim", + "url": "https://github.com/timkim" }, "scripts": { - "dev": "node ./dev.mjs", + "dev": "npx --yes github:AdobeDocs/adp-devsite-utils dev", "buildNavigation": "npx --yes github:AdobeDocs/adp-devsite-utils buildNavigation -v", "buildRedirections": "npx --yes github:AdobeDocs/adp-devsite-utils buildRedirections -v", "renameFiles": "npx --yes github:AdobeDocs/adp-devsite-utils renameFiles -v", "normalizeLinks": "npx --yes github:AdobeDocs/adp-devsite-utils normalizeLinks -v", "buildSiteWideBanner": "npx --yes github:AdobeDocs/adp-devsite-utils buildSiteWideBanner -v", - "lint": "npx --yes github:AdobeDocs/adp-devsite-utils runLint -v" - }, - "packageManager": "yarn@3.2.1", - "devDependencies": { - "express": "5.1.0" + "buildSiteMetadata": "npx --yes github:AdobeDocs/adp-devsite-utils buildSiteMetadata -v", + "buildContributors": "npx --yes github:AdobeDocs/adp-devsite-utils buildContributors -v", + "lint": "npx --yes github:AdobeDocs/adp-devsite-utils runLint -v", + "lint:errorOnly": "npx --yes github:AdobeDocs/adp-devsite-utils runLint", + "link:externalLinkOnly": "npx --yes github:AdobeDocs/adp-devsite-utils runLint --external-links-only -v", + "link:checkAllLinks": "npx --yes github:AdobeDocs/adp-devsite-utils runLint --internal-links-only --external-links-only -v", + "redirectCheck:stage": "npx --yes github:AdobeDocs/adp-devsite-utils redirectChecker stage --verbose", + "redirectCheck:prod": "npx --yes github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose" } } From 08fcf9dea6bd603fde0cb071743ad42f0ce7dfbe Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 16 Mar 2026 22:07:22 +0000 Subject: [PATCH 2/6] Generate contributors --- src/pages/contributors.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/pages/contributors.json diff --git a/src/pages/contributors.json b/src/pages/contributors.json new file mode 100644 index 00000000..167a2b02 --- /dev/null +++ b/src/pages/contributors.json @@ -0,0 +1 @@ +{"total":21,"offset":0,"limit":21,"data":[{"page":"/config","avatars":["https://avatars.githubusercontent.com/u/951386?v=4","https://avatars.githubusercontent.com/u/14320591?v=4"],"lastUpdated":"7/16/2025"},{"page":"/guides/","avatars":["https://avatars.githubusercontent.com/u/136454403?v=4","https://avatars.githubusercontent.com/u/14320591?v=4","https://avatars.githubusercontent.com/u/130189735?v=4","https://avatars.githubusercontent.com/u/951386?v=4","https://avatars.githubusercontent.com/u/78827399?v=4","https://avatars.githubusercontent.com/u/359935?v=4","https://avatars.githubusercontent.com/u/25147704?v=4","https://avatars.githubusercontent.com/u/57922?v=4"],"lastUpdated":"2/11/2026"},{"page":"/guides/branding-guidelines","avatars":["https://avatars.githubusercontent.com/u/136454403?v=4","https://avatars.githubusercontent.com/u/14320591?v=4"],"lastUpdated":"2/9/2026"},{"page":"/guides/commerce","avatars":["https://avatars.githubusercontent.com/u/359935?v=4"],"lastUpdated":"2/13/2023"},{"page":"/guides/discoverandmanage","avatars":["https://avatars.githubusercontent.com/u/136454403?v=4","https://avatars.githubusercontent.com/u/951386?v=4","https://avatars.githubusercontent.com/u/14320591?v=4","https://avatars.githubusercontent.com/u/77717258?v=4","https://avatars.githubusercontent.com/u/28722775?v=4","https://avatars.githubusercontent.com/u/359935?v=4","https://avatars.githubusercontent.com/u/147755538?v=4","https://avatars.githubusercontent.com/u/78827399?v=4"],"lastUpdated":"2/11/2026"},{"page":"/guides/discoverAndManage/app-builder-discover","avatars":["https://avatars.githubusercontent.com/u/136454403?v=4","https://avatars.githubusercontent.com/u/951386?v=4"],"lastUpdated":"3/12/2026"},{"page":"/guides/discoverAndManage/overview","avatars":["https://avatars.githubusercontent.com/u/136454403?v=4","https://avatars.githubusercontent.com/u/951386?v=4"],"lastUpdated":"2/11/2026"},{"page":"/guides/discoverAndManage/server-to-server-discover","avatars":["https://avatars.githubusercontent.com/u/951386?v=4"],"lastUpdated":"7/16/2025"},{"page":"/guides/getting-started","avatars":["https://avatars.githubusercontent.com/u/136454403?v=4","https://avatars.githubusercontent.com/u/14320591?v=4"],"lastUpdated":"2/11/2026"},{"page":"/guides/glossary","avatars":["https://avatars.githubusercontent.com/u/14320591?v=4","https://avatars.githubusercontent.com/u/130189735?v=4","https://avatars.githubusercontent.com/u/359935?v=4","https://avatars.githubusercontent.com/u/25147704?v=4"],"lastUpdated":"6/17/2025"},{"page":"/guides/plugin-id","avatars":["https://avatars.githubusercontent.com/u/14320591?v=4"],"lastUpdated":"6/17/2025"},{"page":"/guides/submission/app-builder-submission","avatars":["https://avatars.githubusercontent.com/u/136454403?v=4","https://avatars.githubusercontent.com/u/14320591?v=4"],"lastUpdated":"2/11/2026"},{"page":"/guides/submission/catalog-listing-submission","avatars":["https://avatars.githubusercontent.com/u/136454403?v=4","https://avatars.githubusercontent.com/u/14320591?v=4"],"lastUpdated":"2/9/2026"},{"page":"/guides/submission/overview","avatars":["https://avatars.githubusercontent.com/u/14320591?v=4","https://avatars.githubusercontent.com/u/951386?v=4","https://avatars.githubusercontent.com/u/28722775?v=4","https://avatars.githubusercontent.com/u/359935?v=4","https://avatars.githubusercontent.com/u/130189735?v=4"],"lastUpdated":"6/17/2025"},{"page":"/guides/submission/rejection-reasons","avatars":["https://avatars.githubusercontent.com/u/14320591?v=4"],"lastUpdated":"6/17/2025"},{"page":"/guides/submission/server-to-server-submission","avatars":["https://avatars.githubusercontent.com/u/136454403?v=4","https://avatars.githubusercontent.com/u/14320591?v=4"],"lastUpdated":"2/9/2026"},{"page":"/guides/submission/timelines-outcomes","avatars":["https://avatars.githubusercontent.com/u/14320591?v=4"],"lastUpdated":"6/17/2025"},{"page":"/guides/zxp/coming-soon","avatars":["https://avatars.githubusercontent.com/u/14320591?v=4"],"lastUpdated":"6/17/2025"},{"page":"/guides/zxp/distribution","avatars":["https://avatars.githubusercontent.com/u/136454403?v=4","https://avatars.githubusercontent.com/u/14320591?v=4","https://avatars.githubusercontent.com/u/130189735?v=4","https://avatars.githubusercontent.com/u/951386?v=4","https://avatars.githubusercontent.com/u/359935?v=4","https://avatars.githubusercontent.com/u/147755538?v=4"],"lastUpdated":"2/11/2026"},{"page":"/guides/zxp/resources","avatars":["https://avatars.githubusercontent.com/u/14320591?v=4","https://avatars.githubusercontent.com/u/359935?v=4"],"lastUpdated":"6/17/2025"},{"page":"/support/","avatars":["https://avatars.githubusercontent.com/u/14320591?v=4","https://avatars.githubusercontent.com/u/28722775?v=4","https://avatars.githubusercontent.com/u/359935?v=4","https://avatars.githubusercontent.com/u/57922?v=4"],"lastUpdated":"6/17/2025"}],":type":"sheet"} \ No newline at end of file From 379b21d0b881b6ee01dfa04009b38aeb465a767e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 16 Mar 2026 22:07:49 +0000 Subject: [PATCH 3/6] Generate site metadata --- src/pages/adp-site-metadata.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/pages/adp-site-metadata.json diff --git a/src/pages/adp-site-metadata.json b/src/pages/adp-site-metadata.json new file mode 100644 index 00000000..59fd870e --- /dev/null +++ b/src/pages/adp-site-metadata.json @@ -0,0 +1 @@ +{"total":3,"offset":0,"limit":3,"data":[{"key":"contributors","value":"src/pages/contributors.json"},{"key":"get-credentials","value":null},{"key":"site-wide-banner","value":null}],":type":"sheet"} \ No newline at end of file From 1d344c9e0469394dd9c91bce1b7215190f2dccfb Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Mon, 16 Mar 2026 15:08:43 -0700 Subject: [PATCH 4/6] fix: preserve repo-specific fields in package.json --- package.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1c937319..0999b785 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,11 @@ { - "name": "dev-docs-template", + "private": true, + "name": "Developer-Distribution-Experience-Cloud", "version": "1.0.0", "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AdobeDocs/dev-docs-template" + "url": "https://github.com/AdobeDocs/Developer-Distribution-Experience-Cloud" }, "author": { "name": "Tim Kim", @@ -25,5 +26,9 @@ "link:checkAllLinks": "npx --yes github:AdobeDocs/adp-devsite-utils runLint --internal-links-only --external-links-only -v", "redirectCheck:stage": "npx --yes github:AdobeDocs/adp-devsite-utils redirectChecker stage --verbose", "redirectCheck:prod": "npx --yes github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose" + }, + "packageManager": "yarn@3.2.1", + "devDependencies": { + "express": "5.1.0" } } From 7051bcf3131b1bb17d472855c33f35aaa51cd178 Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Mon, 16 Mar 2026 15:08:44 -0700 Subject: [PATCH 5/6] fix: preserve original entries, replace package.lock, add template entries --- .gitignore | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 2a83daa9..38d98e63 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,7 @@ - -# OS and IDE generated files # -############################## -.DS_Store -.vscode -.history -.idea .editorconfig +.idea +.DS_Store +.vscode/* # npm yarn node_modules @@ -45,6 +41,6 @@ local-test.yml .yalc yalc.lock -#txt +# Added by update-bot linter-output.txt linter-report.txt From e1d7ffd91dc3adf1a658e9daab2e86a44faceaf1 Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Mon, 16 Mar 2026 15:18:35 -0700 Subject: [PATCH 6/6] Auto content update (2026-03-16 22:18:35) --- .gitignore | 12 ++++++++---- package.json | 9 ++------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 38d98e63..2a83daa9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,11 @@ -.editorconfig -.idea + +# OS and IDE generated files # +############################## .DS_Store -.vscode/* +.vscode +.history +.idea +.editorconfig # npm yarn node_modules @@ -41,6 +45,6 @@ local-test.yml .yalc yalc.lock -# Added by update-bot +#txt linter-output.txt linter-report.txt diff --git a/package.json b/package.json index 0999b785..1c937319 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,10 @@ { - "private": true, - "name": "Developer-Distribution-Experience-Cloud", + "name": "dev-docs-template", "version": "1.0.0", "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AdobeDocs/Developer-Distribution-Experience-Cloud" + "url": "https://github.com/AdobeDocs/dev-docs-template" }, "author": { "name": "Tim Kim", @@ -26,9 +25,5 @@ "link:checkAllLinks": "npx --yes github:AdobeDocs/adp-devsite-utils runLint --internal-links-only --external-links-only -v", "redirectCheck:stage": "npx --yes github:AdobeDocs/adp-devsite-utils redirectChecker stage --verbose", "redirectCheck:prod": "npx --yes github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose" - }, - "packageManager": "yarn@3.2.1", - "devDependencies": { - "express": "5.1.0" } }