Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions scripts/site/template.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,12 @@
<a class="btn-ghost btn-lg" href="gallery/">Browse the gallery</a>
</div>
<div class="clone-row">
{# <wbr> after each path slash: a phone wraps the URL there, not mid-word #}
<pre id="cloneCmd"><span class="p">$</span> git clone {% for part in repo.split('/') %}{{ part }}{% if not loop.last %}/{% if loop.index >= 3 %}<wbr>{% endif %}{% endif %}{% endfor %}</pre>
<button class="copy-btn" type="button" data-copy="git clone {{ repo }}">copy</button>
{# site.heroCommand: the one command most visitors need (this repo: the
Claude Code marketplace add). <wbr> after each slash lets a phone
wrap there, not mid-word. #}
{% set hero_cmd = site.heroCommand or ('git clone ' ~ repo) %}
<pre id="cloneCmd"><span class="p">{{ site.heroPrompt or '$' }}</span> {% for part in hero_cmd.split('/') %}{{ part }}{% if not loop.last %}/<wbr>{% endif %}{% endfor %}</pre>
<button class="copy-btn" type="button" data-copy="{{ hero_cmd }}">copy</button>
</div>
</div>
</section>
Expand Down Expand Up @@ -368,7 +371,7 @@
<span class="hud">Install</span>
</div>
<div class="panel-body">
<h2>Clone it. Point your AI at it.</h2>
<h2>{{ site.installHeading or 'Clone it. Point your AI at it.' }}</h2>
<ol class="steps">
{% for step in site.installSteps %}
<li><span>{{ step | safe }}</span></li>
Expand Down
11 changes: 7 additions & 4 deletions site.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@
"github": "https://github.com/TMHSDigital/Blender-Developer-Tools"
},
"installSteps": [
"Clone the repo: <code>git clone https://github.com/TMHSDigital/Blender-Developer-Tools</code>",
"<strong>Cursor:</strong> <code>git clone --branch plugin-dist --single-branch https://github.com/TMHSDigital/Blender-Developer-Tools.git ~/.cursor/plugins/local/blender-developer-tools</code>, then reload the window; Customize lists the 16 skills and 9 rules",
"<strong>Claude Code:</strong> run <code>/plugin marketplace add TMHSDigital/Blender-Developer-Tools@plugin-dist</code> then <code>/plugin install blender-developer-tools@blender-developer-tools</code>; the rules come with it as the <code>blender-rules</code> skill",
"<strong>Claude Code:</strong> <code>/plugin marketplace add TMHSDigital/Blender-Developer-Tools@plugin-dist</code> then <code>/plugin install blender-developer-tools@blender-developer-tools</code>. The 16 skills load when a task matches; the rules come along as the <code>blender-rules</code> skill",
"<strong>Cursor:</strong> <code>git clone --branch plugin-dist --single-branch https://github.com/TMHSDigital/Blender-Developer-Tools.git ~/.cursor/plugins/local/blender-developer-tools</code>, then reload the window; Customize lists the 16 skills and 9 rules. This clones only the 0.3 MB plugin build",
"<strong>Other agents (Codex, Copilot, Windsurf):</strong> clone the repo and copy <code>skills/*</code> into your agent's skills folder (for example <code>.agents/skills/</code>); point it at <code>claude/blender-rules.md</code> for the rules",
"Grab <code>snippets/</code> and <code>templates/</code> as starting points for add-ons and headless batch jobs"
]
],
"heroCommand": "/plugin marketplace add TMHSDigital/Blender-Developer-Tools@plugin-dist",
"heroPrompt": "Claude Code",
"installHeading": "Install it in your agent. No clone needed."
}
Loading