Skip to content

Commit 3cbeda4

Browse files
committed
fix sample
1 parent 5c58d9f commit 3cbeda4

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

docs/astro.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ is at https://microsoft.github.io/genaiscript/reference/scripts.md
5858
- save generated code in the "./genaisrc" folder with ".genai.mts" extension
5959
`,
6060
pageSeparator: "\n\n=|=|=|=|=|=\n\n",
61+
minify: {
62+
customSelectors: ["picture"]
63+
},
6164
promote: ["index*", "getting-started*", "!*/*"],
6265
customSets: [
6366
{

docs/src/content/docs/reference/scripts/diagrams.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,9 @@ graph LR
6262
````
6363

6464
and it gets rendered automatically once you install the extension.
65+
66+
```mermaid
67+
graph LR
68+
A[Master] --> C[New Commit]
69+
B[Feature Branch] --> C
70+
```

genaisrc/docs.genai.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ if (stats.length)
119119

120120
async function generateDocs(file: WorkspaceFile, fileStats: any) {
121121
const { matches: missingDocs } = await sg.search(
122+
"ts",
122123
file.filename,
123124
{
124125
rule: {
@@ -215,6 +216,7 @@ async function generateDocs(file: WorkspaceFile, fileStats: any) {
215216

216217
async function updateDocs(file: WorkspaceFile, fileStats: any) {
217218
const { matches } = await sg.search(
219+
"ts",
218220
file.filename,
219221
YAML`
220222
rule:

0 commit comments

Comments
 (0)