Skip to content

Commit

Permalink
startlight 0.32 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Feb 21, 2025
1 parent b5f300b commit 7749075
Show file tree
Hide file tree
Showing 8 changed files with 151 additions and 179 deletions.
20 changes: 10 additions & 10 deletions THIRD_PARTY_LICENSES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2829,7 +2829,7 @@ The following npm packages may be included in this product:
- @types/[email protected]
- @types/[email protected]
- @types/[email protected]
- @types/[email protected].4
- @types/[email protected].5
- @types/[email protected]
- @types/[email protected]
- @types/[email protected]
Expand Down Expand Up @@ -2862,7 +2862,7 @@ MIT License

The following npm package may be included in this product:

- genaiscript-vscode@1.104.5
- genaiscript-vscode@1.105.0

This package contains the following license:

Expand Down Expand Up @@ -5521,7 +5521,7 @@ THE SOFTWARE.
The following npm packages may be included in this product:

- [email protected]
- [email protected].0
- [email protected].1

These packages each contain the following license:

Expand Down Expand Up @@ -7251,7 +7251,7 @@ THIS SOFTWARE.

The following npm package may be included in this product:

- [email protected].1
- [email protected].2

This package contains the following license:

Expand Down Expand Up @@ -8073,10 +8073,10 @@ The following npm packages may be included in this product:
- @tokenizer/[email protected]
- [email protected]
- [email protected]
- genaiscript-core-internal@1.104.5
- genaiscript-sample@1.104.5
- genaiscript-web@1.104.5
- genaiscript@1.104.5
- genaiscript-core-internal@1.105.0
- genaiscript-sample@1.105.0
- genaiscript-web@1.105.0
- genaiscript@1.105.0
- [email protected]
- [email protected]
- [email protected]
Expand Down Expand Up @@ -8944,7 +8944,7 @@ SOFTWARE.

The following npm package may be included in this product:

- strnum@1.0.5
- strnum@1.1.1

This package contains the following license:

Expand Down Expand Up @@ -11901,7 +11901,7 @@ SOFTWARE.

The following npm package may be included in this product:

- [email protected].0
- [email protected].1

This package contains the following license:

Expand Down
2 changes: 1 addition & 1 deletion docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default defineConfig({
},
social: {
github: "https://github.com/microsoft/genaiscript",
youtube: "https://www.youtube.com/@pelihalleux"
youtube: "https://www.youtube.com/@pelihalleux",
},
editLink: {
baseUrl:
Expand Down
8 changes: 4 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
"dependencies": {},
"devDependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/starlight": "^0.31.1",
"astro": "^5.2.6",
"@astrojs/starlight": "^0.32.1",
"astro": "^5.3.0",
"astro-embed": "^0.9.0",
"rehype-mermaid": "^3.0.0",
"starlight-blog": "^0.16.1",
"starlight-links-validator": "^0.14.2",
"starlight-blog": "^0.17.2",
"starlight-links-validator": "^0.14.3",
"starlight-package-managers": "^0.10.0",
"typescript": "5.7.3",
"zx": "^8.3.2"
Expand Down
3 changes: 1 addition & 2 deletions docs/src/components/Head.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
import type { Props } from "@astrojs/starlight/props"
import Default from "@astrojs/starlight/components/Head.astro"
const canonical = Astro.site
Expand All @@ -11,7 +10,7 @@ const llms = Astro.site
const slug = canonical?.href.replace(/\/$/, "") + ".md"
---

<Default {...Astro.props}>
<Default>
<slot />
</Default>
<link href={llms} rel="llms-txt" type="text/markdown" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
---

Check warning on line 1 in docs/src/content/docs/blog/makeitbetter.md

View workflow job for this annotation

GitHub Actions / build

Title should be more descriptive and follow a consistent format.
title: "Improve Your Code Twice with GenAI 🛠️"
authors: genaiscript
title: Make it better!
authors:
- genaiscript
- pelikhan

Check warning on line 5 in docs/src/content/docs/blog/makeitbetter.md

View workflow job for this annotation

GitHub Actions / build

Author list should be formatted as an unordered list for better readability.
date: 2025-01-28
draft: true
tags: ["genai", "code improvement", "automation"]
canonical_url: https://microsoft.github.io/genaiscript/blog/improve-your-code-twice-with-genai
---

## Introduction

Have you ever wished to improve your code automatically? This script uses GenAI to enhance your code by running a specific function twice. You can view the script [here](https://github.com/microsoft/genaiscript/blob/main/packages/sample/genaisrc/makeitbetter.genai.mjs).

## Motivation

The goal of this script is to leverage artificial intelligence to analyze and enhance your code without manual intervention. It's like having a smart assistant that can refine your work effortlessly.
GenAIScript comes with a helper that tells the LLM to "make it better".
It's a surprising way to improve your code by repeating a set of instructions multiple times.

## Code Explanation

Expand Down
Loading

0 comments on commit 7749075

Please sign in to comment.