Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs workflow #20

Merged
merged 17 commits into from
Mar 11, 2024
Merged

Add docs workflow #20

merged 17 commits into from
Mar 11, 2024

Conversation

justyns
Copy link
Owner

@justyns justyns commented Mar 2, 2024

No description provided.

@justyns justyns self-assigned this Mar 2, 2024
Copy link

cloudflare-workers-and-pages bot commented Mar 2, 2024

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2b383e0
Status: ✅  Deploy successful!
Preview URL: https://c910e225.silverbullet-ai.pages.dev
Branch Preview URL: https://add-docs.silverbullet-ai.pages.dev

View logs

@zefhemel
Copy link
Contributor

zefhemel commented Mar 3, 2024

I like what you’re doing here. Interested how it turns out, I’m sure there’s improvements to be made in pub to make this type of thing better/easier.

const commandDocsContent = `---
tags: commands
commandName: "${value.command.name}"
commandSummary: "${docs.replace(/"/g, '\\"')}"

Check failure

Code scanning / CodeQL

Incomplete string escaping or encoding High

This does not escape backslash characters in the input.
@justyns justyns marked this pull request as ready for review March 11, 2024 01:53
@justyns justyns merged commit 03fc4f4 into main Mar 11, 2024
2 of 3 checks passed
@justyns justyns deleted the add-docs branch March 11, 2024 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants