Skip to content

Docs/website and readme - #58

Merged
KARTIKrocks merged 9 commits into
mainfrom
docs/website-and-readme
Sep 16, 2026
Merged

KARTIKrocks merged 9 commits into
mainfrom
docs/website-and-readme

Conversation

@KARTIKrocks

Copy link
Copy Markdown
Owner

Summary

What does this PR change, and why?

Closes #

Type of change

  • Bug fix
  • New detection rule
  • New integration / parser
  • Feature / enhancement
  • Docs only
  • Refactor / chore

Checklist

  • make ci passes (fmt-check, vet, lint, test-race) across all modules
  • Added/updated tests (and, where practical, a failure-mode check)
  • Updated docs as needed (README.md, AGENTS.md, .sqlguard.example.yml)
  • Added an entry under ## [Unreleased] in CHANGELOG.md
  • No new third-party deps in analyzer / middleware / reporter
  • Findings stay redaction-safe (no raw literals leak into a Result)

Notes for reviewers

Anything reviewers should focus on — tricky areas, trade-offs, follow-ups.

cmd/sqlguard opened "postgres"/"mysql" by name but imported no driver, so
every `sqlguard explain` failed with `sql: unknown driver`. Blank-import
pgx/v5/stdlib and go-sql-driver/mysql from db.go only; library consumers
of analyzer/middleware never link them since Go compiles per package.
lint-docs runs markdownlint-cli2 (from website/node_modules) over every
Markdown file in the repo; config and rationale in .markdownlint-cli2.jsonc.
Wired into `make ci` and `make fix`.
Lives in website/ on main (TypeScript, Biome, versioned docs). Twenty
guide pages covering the middleware, rules, config, CLI, integrations and
extension seams, plus a landing page with measured benchmark figures.
Docs are versioned by snapshot per website/VERSIONING.md; 0.2 is the first
snapshot so /docs/ serves the released version and /docs/next/ tracks main.
Includes the logo, favicon, social card and README terminal mockup.
Centered logo and badges, a "Why sqlguard?" comparison, condensed
features, quick start, and a guide index pointing at the docs site. The
per-feature deep dives moved to website/docs.
Add the Docs workflow (check on PRs, deploy to Pages from main), a
markdown lint job in CI, YAML issue forms with structured fields, a docs
checklist line in the PR template, and Dependabot tracking for website/.
Codecov ignores website/; drop the stale sqlguard-website gitignore entry.
AGENTS.md gains a Documentation website section (versioning by snapshot,
version markers, never edit versioned_docs) and an updated dependency
note for the CLI drivers. Greptile and CodeRabbit ignore frozen snapshots
and generated assets and check website/docs for exact names and version
markers. CONTRIBUTING and CHANGELOG updated to match.
Node >= 20.12 refuses to spawn npx.cmd without a shell on Windows, so the
cut failed with ENOENT/EINVAL there. Invoke the CLI entry point with
process.execPath, which is what `npm run docusaurus` resolves to anyway.
@coderabbitai

coderabbitai Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 6eb69e0a-b771-42bb-a891-414ffa287b98


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@KARTIKrocks
KARTIKrocks merged commit faa0030 into main Sep 16, 2026
28 checks passed
@KARTIKrocks
KARTIKrocks deleted the docs/website-and-readme branch September 16, 2026 16:34
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.

1 participant