mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-17 15:04:55 +00:00
chore: update skill install command to use rivet-dev/skills (#20)
* chore: update skill install command to use rivet-dev/skills * chore: improve skill structure per skill-creator guidelines * chore: add bug report section and simplify description * chore: add Discord link to bug report section
This commit is contained in:
parent
43db33590d
commit
82ac0b3880
8 changed files with 28 additions and 11 deletions
|
|
@ -15,7 +15,7 @@ async function main() {
|
|||
}
|
||||
|
||||
await fsp.rm(OUTPUT_ROOT, { recursive: true, force: true });
|
||||
await fsp.mkdir(path.join(OUTPUT_ROOT, "reference"), { recursive: true });
|
||||
await fsp.mkdir(path.join(OUTPUT_ROOT, "references"), { recursive: true });
|
||||
|
||||
const docFiles = await listDocFiles(DOCS_ROOT);
|
||||
const references = [];
|
||||
|
|
@ -33,7 +33,7 @@ async function main() {
|
|||
const markdown = convertDocToMarkdown(body);
|
||||
|
||||
const referenceRelPath = `${stripExtension(relPath)}.md`;
|
||||
const outputPath = path.join(OUTPUT_ROOT, "reference", referenceRelPath);
|
||||
const outputPath = path.join(OUTPUT_ROOT, "references", referenceRelPath);
|
||||
await fsp.mkdir(path.dirname(outputPath), { recursive: true });
|
||||
|
||||
const referenceFile = buildReferenceFile({
|
||||
|
|
@ -51,7 +51,7 @@ async function main() {
|
|||
title,
|
||||
description,
|
||||
canonicalUrl,
|
||||
referencePath: `reference/${referenceRelPath}`,
|
||||
referencePath: `references/${referenceRelPath}`,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue