Skip to content

Add GitHub sidebar icon and left TOC to workspace Quarto scaffold - #97

Open
gas2own wants to merge 1 commit into
mainfrom
workspace-scaffold-repo-nav-toc
Open

Add GitHub sidebar icon and left TOC to workspace Quarto scaffold#97
gas2own wants to merge 1 commit into
mainfrom
workspace-scaffold-repo-nav-toc

Conversation

@gas2own

@gas2own gas2own commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

What

Upstreams the two navigation/layout defaults validated in allenai/meta-agent-notes#2 into the shared workspace Quarto scaffold (plugins/asta-tools/skills/workspace/):

  1. Sidebar GitHub icon in assets/_quarto.yml linking to the source repo, opening in a new tab (target: _blank) — easy jump from the deployed site back to source. The href uses a new {{REPO_URL}} placeholder.
  2. toc-location: left so the on-page outline no longer floats on the right and overlaps wide body content (e.g. leaderboard tables).

Scaffolding

SKILL.md step 1 now fills {{REPO_URL}} alongside {{TITLE}}, sourced from gh repo view --json url -q .url or git remote get-url origin (normalizing SSH form to https://). If the repo has no remote yet, the instruction is to drop the sidebar.tools: block rather than leave the placeholder unfilled, and re-add it once a remote exists. The placeholder is quoted (href: "{{REPO_URL}}") for the same reason {{TITLE}} is — {{ starts a YAML flow-mapping and errors unquoted.

Requested by @jbragg in #meta-research-agent; tracked in allenai/gas2own#388.

🤖 Generated with Claude Code

Upstreams the two navigation/layout defaults validated in
allenai/meta-agent-notes#2 into the shared `workspace` Quarto scaffold:

- Sidebar GitHub icon linking to the source repo, opening in a new tab
  (`target: _blank`). Href uses a new `{{REPO_URL}}` placeholder filled
  during scaffolding; SKILL.md documents how to source it and to drop the
  `tools:` block when no remote exists yet.
- `toc-location: left` so the on-page outline no longer floats on the
  right and overlaps wide content (e.g. leaderboard tables).

Requested via allenai/gas2own#388.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant