Skip to content

Commit

Permalink
add theme option
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer committed Aug 21, 2024
1 parent 0db176e commit b40dd4b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/doctum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
)
Expand Down

0 comments on commit b40dd4b

Please sign in to comment.