A Tool for Discussion
Oxide built an internal site for its RFDs (Requests for Discussion), which live as AsciiDoc files in a GitHub repo, because the repo gave a poor reading experience, limited AsciiDoc support and was hard to share externally. The site adds full-text search via self-hosted Meilisearch with automatic reindexing on edits, hover previews for inter-RFD links, and keyboard-driven navigation menus. GitHub PR review comments are shown inline next to the relevant section by mapping comment line numbers to rendered blocks with asciidoctor.js's getLineNumber, and Remix deferred responses stream the comments in so they don't block page load. Planned work includes better filtering, tagging and collections, plus in-browser authoring so non-engineers can write RFDs without Git.
Related posts
- How AI Assistants Can Decode GitHub Repos for UI Writers
Docker mediumAdeptAn LLM agent can reliably flag user-facing copy changes in a branch when it is given narrow tools and expert hints about what "user-facing" means. GitHub Copilot's repo chat could not even count open PRs. A first prompt that gave the model bash and raw git diff also failed: diffs were huge, important files were buried and extra tools invited hallucination. The working two-step flow first lists only likely UI files (using --files-only and --no-pager with an alpine/git container) and saves the list. It then diffs just those files against main with --no-color --minimal, guided by frontend-engineer hints about JSX text nodes, notifications, toasts and Error constructors. This produced an accurate list of copy changes on a real Docker PR.
- Build your own ChatGPT-style doc search with Fresh, OpenAI, and Supabase
Deno mediumAdeptA Deno Fresh starter template builds a ChatGPT-style documentation search on Supabase Postgres with pgvector and OpenAI. A GitHub Action running Deno preprocesses .mdx docs, generates OpenAI embeddings and stores them in Postgres, using per-file checksums so only changed files are re-embedded. At query time an edge endpoint embeds the question, runs a pgvector similarity search, injects the matching doc sections into a text-davinci-003 completion prompt, and proxies the streamed SSE response to a Fresh island that reads it with EventSource.
- How MDN’s site-search works
Mozilla Hacks mediumAdeptMDN's site search builds every page nightly in a GitHub Action, emitting index.json files. A Python script strips the HTML and bulk-publishes about 50,000 documents to a managed Elasticsearch cluster in roughly 3.5 minutes, deleting and recreating the index each day for simplicity. A Django endpoint queries it with elasticsearch-dsl, ranking by phrase and term boosts on title and body plus a Google Analytics-derived popularity score (rank = popularity*10 + score), and adds "Did you mean" suggestions. The cost of the daily rebuild is a brief window of incomplete results, softened by publishing the most popular en-US Web/ pages first.
- How we built the new Table of Contents feature
Medium Engineering mediumAdeptMedium replaced a popular Chrome extension that injected a static table of contents into post bodies with a native, render-time TOC derived from the post's heading paragraphs. Because posts are stored as layered revisions rather than final documents, the TOC is built from the rendered body model, nesting H4 sub-headings under H2/H3 entries, so it stays accurate without mutating the post. The UI evolved from a menu item to a scroll-tracking right-margin indicator with smooth scrolling, a translucent background for full-width images, hiding for single-heading posts, and a sliding window for very long posts; mobile needs a separate design.
- DRUIDS, the design system that powers Datadog
Datadog Engineering easyNoviceDRUIDS (Datadog Reusable User Interface Design System) was started in 2018 to keep UX patterns consistent as Datadog grew into dozens of products, and its docs site is now public. Adoption across hundreds of designers and front-end developers depends on making the system easy to understand, implement and contribute to. Supporting tooling includes Cmd+K search, an in-app "Loupe" that highlights components with links to GitHub, Figma and VS Code, editable playgrounds and a sandbox treating React/TypeScript/CSS code as the source of truth, API tables auto-generated from component source, contribution guidelines, and a CLI that scaffolds new components.