Skip to content

Commit a1da290

Browse files
committed
Refactor code for consistency and readability
- Standardized string quotes to double quotes across multiple files. - Improved formatting and indentation for better readability. - Added a function to format multiline text in tools rendering. - Enhanced dropdown and action button handlers for better event management. - Updated the theme application logic to initialize on page load. - Refactored utility functions for consistency and clarity. - Improved error handling and user feedback in download and share functionalities.
1 parent cdb056e commit a1da290

12 files changed

Lines changed: 1232 additions & 658 deletions

File tree

.github/workflows/deploy-website.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@ on:
88
push:
99
branches: ["main"]
1010
paths:
11-
- 'website/**'
12-
- 'agents/**'
13-
- 'prompts/**'
14-
- 'instructions/**'
15-
- 'skills/**'
16-
- 'collections/**'
17-
- 'eng/generate-website-data.mjs'
18-
- '.github/workflows/deploy-website.yml'
11+
- "website/**"
12+
- "agents/**"
13+
- "prompts/**"
14+
- "instructions/**"
15+
- "skills/**"
16+
- "collections/**"
17+
- "cookbook/**"
18+
- "eng/generate-website-data.mjs"
19+
- ".github/workflows/deploy-website.yml"
1920

2021
# Allows you to run this workflow manually from the Actions tab
2122
workflow_dispatch:
@@ -43,8 +44,8 @@ jobs:
4344
- name: Setup Node.js
4445
uses: actions/setup-node@v4
4546
with:
46-
node-version: '20'
47-
cache: 'npm'
47+
node-version: "20"
48+
cache: "npm"
4849

4950
- name: Install root dependencies
5051
run: npm ci
@@ -66,7 +67,7 @@ jobs:
6667
- name: Upload artifact
6768
uses: actions/upload-pages-artifact@v3
6869
with:
69-
path: './website/dist'
70+
path: "./website/dist"
7071

7172
# Deployment job
7273
deploy:

0 commit comments

Comments
 (0)