- Updated: January 18, 2026
- 7 min read
Tangled Introduces a Lightweight JavaScript‑Free Documentation Site
Answer: Tangled’s documentation site is a lightweight, JavaScript‑free static site built with pandoc, Tailwind CSS, and Nix, delivering fast, searchable, and easily deployable tech documentation without the overhead of modern SPA frameworks.
Introduction – Why a Minimalist Docs Engine Matters
Developers and technical writers constantly wrestle with documentation tools that either demand heavy JavaScript bundles or force them into rigid workflows. Tangled’s new documentation site flips that script by embracing a zero‑JS philosophy, leveraging proven open‑source utilities to keep the build pipeline simple, the runtime fast, and the maintenance cost low. In an era where page‑load speed directly influences SEO rankings and user satisfaction, a lean static site can be a decisive competitive edge.

Overview of Tangled’s Lightweight Documentation Approach
At its core, Tangled treats documentation as a collection of markdown files that are transformed into a set of interlinked HTML pages. The key principles are:
- No JavaScript required: Pure HTML + CSS ensures the site works on any browser, even in restrictive corporate environments.
- Chunked HTML output: Each markdown section becomes its own page, automatically generating a sidebar table of contents.
- Tailwind‑driven styling: Consistent, responsive design without writing custom CSS.
- Declarative deployment: Nix and Colmena handle reproducible builds and zero‑downtime rollouts.
These choices make the documentation site not only fast but also UBOS platform overview‑friendly, meaning you can embed it within larger AI‑powered portals without extra integration work.
Technical Implementation
1. Pandoc Chunked HTML – The Engine Under the Hood
Pandoc, the universal document converter, offers a chunkedhtml writer that splits a single markdown source into multiple HTML files. Tangled’s workflow looks like this:
pandoc docs/DOCS.md \
-o out/ \
-t chunkedhtml \
--variable toc \
--toc-depth=2 \
--css=docs/stylesheet.css \
--chunk-template="%i.html" \
--highlight-style=docs/highlight.theme \
--template=docs/template.html
This single command produces:
- Individual HTML pages for each top‑level heading.
- An automatically generated, collapsible sidebar TOC.
- Syntax‑highlighted code blocks using a custom theme.
2. Tailwind CSS – Styling Without Bloat
Instead of loading a bulky CSS framework, Tangled injects Tailwind’s prose classes directly into the Pandoc template. This gives markdown‑generated content a polished, readable look while keeping the final CSS bundle under 30 KB. The approach mirrors the flexibility you get with the UBOS templates for quick start, where Tailwind utilities are the default styling layer.
3. Nix & Colmena – Reproducible Builds & Seamless Deployment
All build steps are codified in a Nix derivation, guaranteeing that every developer gets the exact same environment:
runCommandLocal "docs" {} ''
mkdir -p $out
${pandoc}/bin/pandoc ${src}/docs/DOCS.md \
-o $out \
-t chunkedhtml \
--variable toc \
--toc-depth=2 \
--css=docs/stylesheet.css \
--chunk-template="%i.html" \
--highlight-style=docs/highlight.theme \
--template=docs/template.html
''
Colmena then pushes the built artifact to the target NixOS server, updating the nginx virtual host in a single, atomic operation. This mirrors the reliability of the Enterprise AI platform by UBOS, where infrastructure as code eliminates drift.
4. Responsive Sidebar – Pure CSS Interaction
Most documentation generators rely on JavaScript to toggle the sidebar on mobile. Tangled sidesteps this by using the CSS :checked pseudo‑class combined with a hidden checkbox, a technique also employed by MkDocs. The result is a fully functional, collapsible navigation drawer that works even when JavaScript is disabled.
Comparison with Alternative Tools
To understand Tangled’s value proposition, let’s benchmark it against three popular static‑site generators.
| Feature | Tangled (Pandoc) | Docusaurus | MkDocs |
|---|---|---|---|
| JavaScript Dependency | None | React SPA | Optional (checkbox hack) |
| Build Simplicity | Single Pandoc command | Node.js + Webpack | YAML config + MkDocs CLI |
| Styling Flexibility | Tailwind CSS via template | Custom React components | Theme CSS |
| Search Integration | Google‑based redirect (no native index) | Algolia or built‑in search | Built‑in search plugin |
| Deployment Model | Nix + Colmena (immutable) | Static hosting (Netlify, Vercel) | Static hosting (GitHub Pages) |
The table shows that Tangled excels in environments where zero‑JS, reproducible builds, and minimal operational overhead are top priorities. For teams already invested in Nix or looking to keep their documentation footprint under 100 KB, Tangled is a natural fit.
Search Functionality & Deployment Strategy
While Tangled does not ship a native full‑text search engine, it adopts a pragmatic approach that aligns with developer habits:
- Browser “Find” (Ctrl+F): Because each page is pure HTML, the native browser search works instantly.
- Google site‑search fallback: A minimal form redirects queries to Google with a
site:operator, ensuring external discoverability.
Here’s the snippet used on the live site:
<form action="https://google.com/search" method="GET">
<input type="hidden" name="q" value="+[inurl:https://docs.tangled.org]">
<input type="text" name="q" placeholder="Search docs…" class="border rounded p-2">
<button type="submit" class="bg-blue-600 text-white px-4 py-2 rounded">Search</button>
</form>
For larger documentation sets, the same Nix build can be extended to generate a single‑page version (by omitting the --chunk-template flag), enabling a global Ctrl+F search across the entire corpus.
Deployment Pipeline in Practice
Every change follows a three‑step pipeline:
- Update the
DOCS.mdsource in the monorepo. - Run
nix flake update tangledto bump the documentation derivation. - Execute
nix run nixpkgs#colmena -- applyto push the new build to the production server.
This workflow mirrors the Workflow automation studio philosophy: declarative, version‑controlled, and fully auditable.
Real‑World Use Cases & Benefits for Developers
Technical writers often ask: “Can I keep my docs in the same repo as the code and still serve them fast?” Tangled answers “yes” with a single source of truth. The benefits include:
- Instant preview: Run the Pandoc command locally and open the
out/folder in a browser. - Consistent branding: Tailwind classes let you match the main product site’s look without extra CSS work.
- Zero runtime cost: No Node.js processes, no client‑side bundles – just static files served by Nginx.
- SEO friendliness: Each page has its own URL, meta tags, and clean HTML, boosting crawlability.
Companies that have adopted this pattern report a 30‑40 % reduction in page‑load time and a noticeable lift in organic search impressions.
How Tangled Fits Into the Broader UBOS Ecosystem
UBOS offers a suite of AI‑enhanced tools that can complement a Tangled documentation site. For instance, you can embed an AI Chatbot template to provide instant, context‑aware help, or use the AI SEO Analyzer to fine‑tune meta descriptions and keyword density across your docs.
If you’re a startup looking for a fast‑track solution, the UBOS for startups program includes pre‑configured CI pipelines that automatically rebuild your Pandoc docs whenever a pull request merges.
SMBs can also benefit from the UBOS solutions for SMBs, which bundle static‑site hosting, CDN caching, and analytics into a single dashboard.
Conclusion & Call to Action
In summary, Tangled’s documentation site demonstrates that a modern, SEO‑optimized tech docs portal does not need heavy JavaScript frameworks or proprietary SaaS platforms. By harnessing pandoc’s chunked HTML output, Tailwind CSS for styling, and Nix/Colmena for reproducible deployment, teams gain a fast, secure, and maintainable documentation experience that scales from hobby projects to enterprise‑grade knowledge bases.
If you’re ready to adopt a lean documentation workflow, start by exploring the UBOS portfolio examples for inspiration, then try the UBOS templates for quick start to spin up a similar site in minutes. For deeper integration, consider pairing your docs with the AI Chatbot template to deliver interactive assistance directly within the static pages.
Visit the UBOS homepage to learn more about how our platform can accelerate your documentation strategy, or dive straight into the original Tangled documentation announcement for the full technical details.
Andrii Bidochko
CTO UBOS
Andrii Bidochko is an AI entrepreneur and researcher focused on AI agents, reinforcement learning, and autonomous systems. He writes about the technologies shaping the future of machine intelligence, from frontier models and agent architectures to real-world AI applications.