Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
5e9fe31
feat: initial commit for ds-docs
cesaroeduardo Mar 7, 2026
ed163b8
feat: search engine and playground
cesaroeduardo Mar 8, 2026
f445850
feat: i18n and component status
cesaroeduardo Mar 8, 2026
1712d42
feat: governance, validations and analytics
cesaroeduardo Mar 8, 2026
e6798d6
feat: i18n content and versioning
cesaroeduardo Mar 9, 2026
d48c1a8
chore: layout playground
cesaroeduardo Mar 9, 2026
ce958cd
chore: styles docs
cesaroeduardo Mar 9, 2026
75a87cd
feat: component tabs
cesaroeduardo Mar 9, 2026
2cc3756
chore: styles
cesaroeduardo Mar 9, 2026
61b9d59
fix: componentes in usage
cesaroeduardo Mar 9, 2026
8643adc
feat: adjustments in style
cesaroeduardo Mar 9, 2026
55543c3
feat: code highlight in code examples
cesaroeduardo Mar 10, 2026
7573c73
feat: tokens and foundations page start
cesaroeduardo Mar 10, 2026
9d04b72
fix: languages structure pages
cesaroeduardo Mar 10, 2026
c0460a2
fix: .astro ignore
cesaroeduardo Mar 10, 2026
b6ee761
Revert "fix: .astro ignore"
cesaroeduardo Mar 10, 2026
e26d679
fix: language components
cesaroeduardo Mar 10, 2026
847c983
feat: dark / light playground
cesaroeduardo Mar 10, 2026
1b39fcd
fix: css to tailwind
cesaroeduardo Mar 10, 2026
5de572c
fix: icons svg to icons
cesaroeduardo Mar 10, 2026
7385d01
fix: icon integration doc
cesaroeduardo Mar 10, 2026
2fe617c
fix: icon size theme
cesaroeduardo Mar 10, 2026
d023784
fix: build error
cesaroeduardo Mar 10, 2026
99b2671
fix: build errors
cesaroeduardo Mar 10, 2026
99aadb3
Merge branch 'ds-docs-platform' of https://github.com/aziontech/webki…
cesaroeduardo Mar 10, 2026
cc9f33c
fix: search
cesaroeduardo Mar 10, 2026
6928e3a
feat: add motion.dev to docs
cesaroeduardo Mar 10, 2026
896d627
feat: pattern and block pages, icons too
cesaroeduardo Mar 10, 2026
7221867
feat: button generated by figma
cesaroeduardo Mar 12, 2026
435cf3e
Merge branch 'main' into ds-docs-platform
cesaroeduardo Mar 12, 2026
63b37c7
feat: initial script extract components from webkit
cesaroeduardo Mar 12, 2026
8a80040
Merge branch 'main' into ds-docs-platform
cesaroeduardo Mar 12, 2026
4d00467
fix: components renderization
cesaroeduardo Mar 12, 2026
75fc8ec
fix: azion theme import
cesaroeduardo Mar 12, 2026
0d20470
fix: theme issues
cesaroeduardo Mar 12, 2026
82dea2f
fix: theme adjustments
cesaroeduardo Mar 13, 2026
2311889
fix: theme issues in ds-docs
cesaroeduardo Mar 13, 2026
2a19e9e
fix: theme semantic tokens fix
cesaroeduardo Mar 13, 2026
53e01d9
fix: playground theme switch
cesaroeduardo Mar 13, 2026
6516c80
fix: general adjustments
cesaroeduardo Mar 13, 2026
d12059e
fix: playground not affect components
cesaroeduardo Mar 13, 2026
e291ece
Merge remote-tracking branch 'origin/no-issue-fix-semantic-tokens' in…
cesaroeduardo Mar 13, 2026
77c4c68
fix: theme + ds docs
cesaroeduardo Mar 13, 2026
d26d48a
chore: deleted ds-docs plan
cesaroeduardo Mar 13, 2026
63011cb
chore: gitignore + readme update
cesaroeduardo Mar 13, 2026
d6af43f
chore(ds-docs): stop tracking generated and search index files
cesaroeduardo Mar 13, 2026
4b64c3b
chore: update homepage docs
cesaroeduardo Mar 13, 2026
5785d5a
chore: ordenação semantic tokens
cesaroeduardo Mar 13, 2026
e2300ff
fix: update pnpm
cesaroeduardo Mar 13, 2026
aa4bc65
fix: component coverage check
cesaroeduardo Mar 13, 2026
5fa51f3
fix: coverage ignore docs components
cesaroeduardo Mar 13, 2026
90cb3d3
chore: point coverage test to correct component folder
cesaroeduardo Mar 13, 2026
1deb852
fix: build icons in docs
cesaroeduardo Mar 13, 2026
221208e
fix: github alerts
cesaroeduardo Mar 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
232 changes: 232 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,232 @@
name: Documentation CI

on:
push:
branches:
- main
- develop
paths:
- 'apps/ds-docs/**'
- 'packages/**'
- '.github/workflows/docs.yml'
pull_request:
branches:
- main
- develop
paths:
- 'apps/ds-docs/**'
- 'packages/**'
- '.github/workflows/docs.yml'

env:
NODE_VERSION: '20'
PNPM_VERSION: '8'

# Minimal permissions for CI (read-only checkout; no write to repo)
permissions:
contents: read

jobs:
lint:
name: Documentation Lint
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: ${{ env.PNPM_VERSION }}

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run documentation lint
run: |
cd apps/ds-docs
pnpm run lint || echo "Lint script not defined, skipping..."

- name: Validate frontmatter
run: |
cd apps/ds-docs
pnpm run lint || true

link-check:
name: Link Validation
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: ${{ env.PNPM_VERSION }}

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Check internal links
run: |
cd apps/ds-docs
pnpm run lint:links || true

component-docs:
name: Component Documentation Coverage
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: ${{ env.PNPM_VERSION }}

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Check component documentation coverage
run: |
cd apps/ds-docs
pnpm run lint:coverage

api-extraction:
name: API Extraction
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: ${{ env.PNPM_VERSION }}

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Extract component APIs
run: |
cd apps/ds-docs
pnpm run build:api || true

- name: Upload API artifacts
uses: actions/upload-artifact@v4
with:
name: component-api
path: apps/ds-docs/src/generated/component-api/
retention-days: 7

build:
name: Build Documentation
runs-on: ubuntu-latest
needs: [lint, link-check, component-docs]

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: ${{ env.PNPM_VERSION }}

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build @aziontech/icons
run: pnpm --filter @aziontech/icons run build

- name: Build search index
run: |
cd apps/ds-docs
pnpm run build:search

- name: Build documentation
run: |
cd apps/ds-docs
pnpm run build
env:
ASTRO_TELEMETRY_DISABLED: true

- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: docs-build
path: apps/ds-docs/dist/
retention-days: 7

preview:
name: Deploy Preview
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'pull_request'

steps:
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: docs-build
path: dist

- name: Deploy to preview
run: |
echo "Preview deployment would happen here"
echo "Build artifacts are ready at: dist/"
# In a real setup, this would deploy to a preview environment
# such as Vercel, Netlify, or Cloudflare Pages

# Summary job that requires all checks to pass
docs-check:
name: Documentation Check Summary
runs-on: ubuntu-latest
needs: [lint, link-check, component-docs, build]
if: always()

steps:
- name: Check job status
run: |
if [[ "${{ needs.lint.result }}" == "failure" ]] || \
[[ "${{ needs.link-check.result }}" == "failure" ]] || \
[[ "${{ needs.component-docs.result }}" == "failure" ]] || \
[[ "${{ needs.build.result }}" == "failure" ]]; then
echo "❌ Documentation checks failed"
exit 1
fi
echo "✅ All documentation checks passed"
Loading
Loading