Skip to content

feat: Better docs website#238

Merged
Lms24 merged 20 commits intomainfrom
lms/feat-better-website
Feb 4, 2026
Merged

feat: Better docs website#238
Lms24 merged 20 commits intomainfrom
lms/feat-better-website

Conversation

@Lms24
Copy link
Member

@Lms24 Lms24 commented Jan 24, 2026

With some help from cursor, this PR adds a new docs website

  • Nice looking website
  • Cmd+K search for attributes and text
  • Create new attribute via UI
    • Creates a new file in GH from which users can create a PR.
    • Gonna add a workflow to run generation and commit the generated stuff automatically when adding a label to a PR.
  • Powered by Astro (static pages) and Svelte (islands for search and attribute creation) 🧡
Screen.Recording.2026-01-12.at.12.35.52.mp4

Happy to drop this but I wanted to add proper search and this is what I ended up with 😅

@Lms24 Lms24 requested review from a team, cleptric and lcian as code owners January 24, 2026 11:52
@github-actions
Copy link

github-actions bot commented Jan 24, 2026

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Attributes

  • Add sentry.profiler_id attribute by Lms24 in #242
  • Add attribute gen_ai.response.time_to_first_token by constantinius in #227
  • Add sentry.status_code attribute by mjq in #223
  • Backfill db.system attribute by mjq in #224
  • Add sentry.category attribute by mjq in #218
  • Add sentry.normalized_db_query.hash by Ahmed-Labs in #200

Other

  • (ai) Add input tokens cache write by shellmayr in #217
  • (gen_ai) Add new Gen AI attributes by obostjancic in #221
  • Better docs website by Lms24 in #238
  • Add page listing all attributes by Lms24 in #207

Bug Fixes 🐛

Attributes

  • Migrating several numeric fields to pii=maybe by constantinius in #228
  • Improve gen_ai.operation.name description by obostjancic in #225

Other

  • (db) Clarify db.query.text and db.query.summary attributes by Lms24 in #208

Internal Changes 🔧

Attributes

  • Update sentry.span.source with known values by Lms24 in #214
  • Add legacy attribute definitions for transaction spans by Ahmed-Labs in #212
  • Normalize deprecated db attribute names by Ahmed-Labs in #199

Deps Dev

  • Bump tar from 7.5.4 to 7.5.7 by dependabot in #239
  • Bump tar from 7.5.3 to 7.5.4 by dependabot in #226
  • Bump tar from 7.4.3 to 7.5.3 by dependabot in #220

Repo

  • Add Claude Code settings with basic permissions by philipphofmann in #222
  • Unstale yarn lock by Lms24 in #215

Other

  • (ai) Remove gen_ai_usage_total_cost attribute by vgrozdanic in #206
  • (lint) Don't lint Claude's config files by mjq in #219
  • (release) Switch from action-prepare-release to Craft by BYK in #216
  • Add statuses permission to Changelog Preview by lcian in #232

Other

  • Add more CODEOWNERS by cleptric in #240
  • Add @getsentry/ingest to CODEOWNERS by cleptric in #236
  • Update CODEOWNERS to change global ownership by cleptric in #230

🤖 This preview updates automatically when you update the PR.

@Lms24 Lms24 self-assigned this Jan 24, 2026
Copy link
Member

@cleptric cleptric left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go, we will iterate a bit on the design to make it simpler.

@Lms24
Copy link
Member Author

Lms24 commented Feb 2, 2026

  • one more feature: one text file with all attributes for LLMs

@Lms24 Lms24 force-pushed the lms/feat-better-website branch from ed4e73e to 1090663 Compare February 4, 2026 21:09
@Lms24 Lms24 requested a review from mjq as a code owner February 4, 2026 21:09
@Lms24 Lms24 requested a review from nsdeschenes as a code owner February 4, 2026 21:09
@Lms24
Copy link
Member Author

Lms24 commented Feb 4, 2026

I made a bunch of changes from the review as well as some things I noticed:

  • defluffled the landing and attributes page
  • removed attribute details page
  • unified attributes and attributes/:category pages
  • fixed a very suspiciously hidden dynamic import for the search index. We still have a dynamic import there but that's fine
  • ensured that the search UI's html is sanitized via DOMPurify. Despite there being little thread for XSS due to pagefind already sanitizing, I think we can be extra safe here and use a proper sanitizer library as well.
  • Switched to Svelte 5 Runes instead of old reactive syntax (via docs: Use proper svelte 5 syntax in search modal #244)
  • unified favicon and sentry logo glyph
  • added MIT licence
  • fixed some a11y leftovers

Will follow up with

  • theme changes
  • toggle-able dark/light mode once we merged this initial version
  • one text file with all attributes for LLMs

@Lms24 Lms24 merged commit 29b70cf into main Feb 4, 2026
8 checks passed
@Lms24 Lms24 deleted the lms/feat-better-website branch February 4, 2026 21:49
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