From b40dd4b941807d2c03d8bf96f3b39c8b2cb361c0 Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Wed, 21 Aug 2024 11:27:28 -0700 Subject: [PATCH] add theme option --- .github/workflows/doctum.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/doctum.yml b/.github/workflows/doctum.yml index 18f29b6..12119c2 100644 --- a/.github/workflows/doctum.yml +++ b/.github/workflows/doctum.yml @@ -20,6 +20,10 @@ on: dry_run: type: boolean description: "do not deploy to gh-pages" + theme: + type: string + description: "doctum theme" + default: default permissions: contents: write @@ -65,12 +69,13 @@ jobs: return new Doctum($iterator, [ 'title' => '${{ inputs.title }}', + 'theme' => '${{ inputs.theme }}', 'versions' => $versions, 'build_dir' => __DIR__ . '/.build/%version%', 'cache_dir' => __DIR__ . '/.cache/%version%', 'remote_repository' => new GitHubRemoteRepository('${{ github.repository }}', __DIR__), 'default_opened_level' => 2, - // 'base_url' => 'https://googleapis.github.io/${{ github.event.repository.name }}', + 'template_dirs' => [__DIR__ . '/.github'], ]); EOF )