From 1b4679e6b8ab6a62df13903aeb789cd82cdabb35 Mon Sep 17 00:00:00 2001 From: awais-ur-rehman Date: Sun, 25 Oct 2026 16:34:14 +0500 Subject: [PATCH] fix(docs): generate notebooks before publishing --- .github/workflows/build_docs.yml | 4 ++++ Rakefile | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index b97b7a0e3..8d20d014f 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -44,6 +44,10 @@ jobs: auto-activate-base: false - name: Build run: sphinx-build docs ./public + - name: Generate Notebooks + run: | + gem install rake --version 13.0.1 --no-document + rake genNotebooks - name: Deploy Docs if: ${{ github.ref == 'refs/heads/sources' && github.repository == 'Symengine/symengine.github.io' }} uses: peaceiris/actions-gh-pages@v3 diff --git a/Rakefile b/Rakefile index c783a62b9..288a0f287 100644 --- a/Rakefile +++ b/Rakefile @@ -8,6 +8,7 @@ require "fileutils" # Cross Platform # Common CWD = File.expand_path(__dir__) OUTPUB = File.join(CWD, "public") +NBSITE = File.join(CWD, "notebooks") # Site BASESITE = File.join(CWD, "docs") # Files