diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index d570d46d53..46b8ac4f28 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -44,8 +44,6 @@ jobs: - name: Setup Pages id: pages uses: actions/configure-pages@v6 - - name: Template source files - run: bundle exec rake templates - name: Build with RDoc run: bundle exec rake rdoc - name: Build with Doxygen diff --git a/rakelib/rdoc.rake b/rakelib/rdoc.rake index 69dee55fbc..b8451c87dd 100644 --- a/rakelib/rdoc.rake +++ b/rakelib/rdoc.rake @@ -29,5 +29,5 @@ end %w[rdoc rerdoc rdoc:coverage].each do |name| # rdoc:coverage available in rdoc as a default gem since ruby 3.3 only next unless Rake::Task.task_defined?(name) - Rake::Task[name].enhance(["compile"]) + Rake::Task[name].prerequisites.unshift("compile") end