Skip to content

Commit a5d13a0

Browse files
authored
Improve workspace repo navigation and TOC defaults (#96)
1 parent 3aa711c commit a5d13a0

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

plugins/asta-tools/skills/workspace/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ Before writing any file in the steps below, check whether the target path alread
4444

4545
### Quarto build tool
4646

47-
1. Copy `assets/_quarto.yml` to project root; fill `{{TITLE}}`.
47+
1. Copy `assets/_quarto.yml` to project root; fill `{{TITLE}}` and `{{REPO_URL}}`
48+
(use the canonical GitHub URL, e.g. `https://github.com/{owner}/{repo}`).
4849
2. Create `index.qmd` with `title:` frontmatter.
4950
3. Create empty `references.bib`.
5051
4. Append any lines from `assets/gitignore` missing from the project's `.gitignore` (create it if absent; don't overwrite existing entries).

plugins/asta-tools/skills/workspace/assets/_quarto.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,15 @@ bibliography: references.bib
99
website:
1010
title: "{{TITLE}}"
1111
sidebar:
12+
tools:
13+
- icon: github
14+
href: "{{REPO_URL}}"
15+
text: "GitHub repo"
16+
target: _blank
1217
contents: auto
1318

1419
format:
1520
html:
1621
theme: cosmo
1722
toc: true
23+
toc-location: left

0 commit comments

Comments
 (0)