Skip to content

Commit 4ce030f

Browse files
committed
refactor: ♻️ do not auto-add seedcase-theme
1 parent a406550 commit 4ce030f

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

copier.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,6 @@ _tasks:
55
# Add dev dependencies
66
- command: "git init -b main && uv add --dev pre-commit ruff typos pytest bandit commitizen genbadge jupyter pytest-cov quartodoc types-tabulate mypy vulture"
77
when: "{{ _copier_operation == 'copy' }}"
8-
# If Seedcase project, add seedcase-theme extension
9-
- command: "just update-quarto-theme"
10-
when: "{{ _copier_operation == 'copy' and is_seedcase_project }}"
11-
# If Seedcase project, use seedcase-theme as project type
12-
- command: >-
13-
uv run python -c "from pathlib import Path; file = Path('_quarto.yml'); file.write_text(file.read_text().replace('type: website', 'type: seedcase-theme', 1))"
14-
when: "{{ _copier_operation == 'copy' and is_seedcase_project }}"
15-
168

179
# Message to show after generating or regenerating the project successfully
1810
_message_after_copy: |

docs/guide.qmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ Project, run:
136136
just update-quarto-theme
137137
```
138138

139+
Then set `seedcase-theme` as your project `type` in `_quarto.yml`.
140+
139141
This adds the `seedcase-theme` Quarto theme to the website, which
140142
provides a consistent look and feel across all Seedcase Project
141143
websites, including for Python package websites.

0 commit comments

Comments
 (0)