From aa795283dc936952520539329252f9113f057e91 Mon Sep 17 00:00:00 2001 From: Moncef LAHOUAR Date: Fri, 3 Apr 2026 01:12:19 +0200 Subject: [PATCH 1/5] feat: revamp architecture section and add dedicated roadmap page - Refactor architecture to two-layer model (Data & AI Modules + Control Plane) aligned with OKDP README structure - Add dedicated roadmap page (/roadmap/) with detailed v1.0.0 progress and future evolutions, replacing inline roadmap section with a teaser - Extract header/footer/scripts into Handlebars partials for reuse - Add bilingual roadmap pages (FR/EN) with proper language switching - Update TOSIT section with revised copy - Add tech logos (NiFi, Kafka, Flink) and fix Polaris logo visibility - Add PR preview workflow (rossjrw/pr-preview-action) - Adapt deploy workflow for gh-pages branch compatibility Made-with: Cursor --- .github/workflows/deploy.yml | 27 +- .github/workflows/preview.yml | 26 ++ en/index.html | 491 ++++++++++--------------- en/roadmap/index.html | 650 ++++++++++++++++++++++++++++++++++ index.html | 491 ++++++++++--------------- public/logos/flink.svg | 345 ++++++++++++++++++ public/logos/kafka.svg | 1 + public/logos/nifi.svg | 259 ++++++++++++++ roadmap/index.html | 650 ++++++++++++++++++++++++++++++++++ scripts/generate.js | 69 +++- src/locales/en.json | 412 ++++++++++++++------- src/locales/fr.json | 410 ++++++++++++++------- src/partials/footer.html | 12 + src/partials/header.html | 92 +++++ src/partials/scripts.html | 75 ++++ src/roadmap-template.html | 222 ++++++++++++ src/template.html | 468 ++++-------------------- tailwind.config.js | 2 +- vite.config.js | 2 + 19 files changed, 3405 insertions(+), 1299 deletions(-) create mode 100644 .github/workflows/preview.yml create mode 100644 en/roadmap/index.html create mode 100644 public/logos/flink.svg create mode 100644 public/logos/kafka.svg create mode 100644 public/logos/nifi.svg create mode 100644 roadmap/index.html create mode 100644 src/partials/footer.html create mode 100644 src/partials/header.html create mode 100644 src/partials/scripts.html create mode 100644 src/roadmap-template.html diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 13acb96..dbf6914 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,31 +1,19 @@ -# Simple workflow for deploying static content to GitHub Pages name: Deploy to GitHub Pages on: - # Runs on pushes targeting the default branch push: branches: ["master"] - - # Allows you to run this workflow manually from the Actions tab workflow_dispatch: -# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages permissions: - contents: read - pages: write - id-token: write + contents: write -# Allow only one concurrent deployment concurrency: group: "pages" cancel-in-progress: true jobs: - # Single deploy job since we're just deploying deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: - name: Checkout @@ -39,12 +27,9 @@ jobs: run: npm install - name: Build run: npm run build - - name: Setup Pages - uses: actions/configure-pages@v4 - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - path: './dist' - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 + uses: peaceiris/actions-gh-pages@v4 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./dist + keep_files: true diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml new file mode 100644 index 0000000..6fe553d --- /dev/null +++ b/.github/workflows/preview.yml @@ -0,0 +1,26 @@ +name: PR Preview + +on: + pull_request: + types: [opened, synchronize, reopened, closed] + +concurrency: preview-${{ github.ref }} + +permissions: + contents: write + pull-requests: write + +jobs: + preview: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 + with: + node-version: 18 + cache: "npm" + - run: npm install + - run: npm run build + - uses: rossjrw/pr-preview-action@v1 + with: + source-dir: ./dist/ diff --git a/en/index.html b/en/index.html index 8126822..c41d363 100644 --- a/en/index.html +++ b/en/index.html @@ -29,10 +29,10 @@