# Dash Documentation Boilerplate - Release

**URL:** <https://community.plotly.com/t/dash-documentation-boilerplate-release/95407>\
**Category:** Dash Python\
**Tags:** show-and-tell, community-components, tips-and-tricks\
**Created:** [November 10, 2025, 4:00am UTC](https://community.plotly.com/t/dash-documentation-boilerplate-release/95407 "2025-11-10T04:00:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![PipInstallPython](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/pipinstallpython/32/34539_2.png) [@PipInstallPython](https://community.plotly.com/u/PipInstallPython)\
**Post date:** [November 10, 2025, 4:00am UTC](https://community.plotly.com/t/dash-documentation-boilerplate-release/95407/1 "2025-11-10T04:00:02Z")

</div>

![intro_img](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/1/f/1fc892aa6269f2570b4deb72a11a4200c87b3f73.jpeg)

# 📚 Dash Documentation Boilerplate v0.4.0 – Stop Fighting Docs, Start Writing Them

**TL;DR:** I built a limited working example of the markdown-powered documentation system for Dash apps that actually makes writing docs… dare I say… _enjoyable_?

[**Live Demo**](https://dash-documentation-boilerplate.onrender.com/) • [**GitHub**](https://github.com/pip-install-python/Dash-Documentation-Boilerplate)

* * *

## What Is This?

Ever needed to document your Dash components, data workflows, or applications and thought “there’s got to be a better way than manually maintaining a static site”, did you realize ai can not actually render your applications url?

Meet **Dash Documentation Boilerplate** – a production-ready project that turns markdown files into beautiful, interactive documentation pages with zero configuration.

Inspired by the need for more amazing dash documentation like the beloved [dmc-docs](https://github.com/snehilvj/dmc-docs) and a want for better SEO discoverability and ai llms friendly documentation

## The Magic ✨

Write markdown like this:

```markdown
---
name: My Component
endpoint: /components/my-component
---

## Overview
Here's what it does...

.. exec::docs.my-component.example
.. source::docs/my-component/example.py

```

Get a fully interactive documentation page with:

- Live component demos with working callbacks
- Syntax-highlighted source code
- Automatic navigation
- Light/dark themes that persist
- Mobile-responsive design

## Why You Might Care

**🚀 New in v0.4.0:** Added an **LLM Copy Button** – users can now click a button to copy your documentation’s `llms.txt` URL and paste it directly into ChatGPT or Claude for instant, context-aware help. Your docs become AI-friendly by default.

**Other cool stuff:**

- **Custom Directives** : `.. toc::` for table of contents, `.. exec::` for live components, `.. kwargs::` for auto-generated props tables
- **AI/LLM Ready** : Auto-generates `llms.txt`, `page.json`, `sitemap.xml`, and `robots.txt` (powered by `dash-improve-my-llms`)
- **Theme-Aware Charts** : All Plotly charts automatically switch templates with light/dark mode
- **Production Ready** : Docker support, Gunicorn server, SEO-optimized HTML template

## Tech Stack

- Dash 3.2.0
- DMC 2.4.0 (Mantine 8.3.6)
- React 18
- Python 3.11+

## Real Talk

I built this project out after realizing llms are not able to see or understand the contents of our dash applications. Theirs also an underlying travesty of `bad documentation`. Understanding this, the project and its contents will single handily save your application from the internet void. As llms are only able to operate to the degree of the quality of the project knowledge given. Designing documentation in a manner as to allow llms to actually see your applications content is important. Outside of that theirs also an added benefit of SEO, increasing traffic and discoverability to what you build.

Please check out my previous post for more insight to this:

The solution to bypass the llms not being able to render javascript issue was to include a `templates/index.html` which bypasses the default add a `noscript` and a with not being able to render your dash application directly, any llm can now navigate your application and understand what it is, what it does, how its configured:

```auto
<noscript>
        <div style="padding: 20px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; max-width: 800px; margin: 0 auto; line-height: 1.6;">
            <h1>Dash Documentation Boilerplate</h1>
            <p><strong>This application requires JavaScript to run.</strong></p>

            <h2>For AI/LLM Access and Documentation:</h2>
            <p>This site provides comprehensive documentation in multiple formats optimized for both humans and AI assistants:</p>

            <ul style="margin: 20px 0;">
                <li><a href="/llms.txt" style="color: #12B886; text-decoration: none;"><strong>llms.txt</strong></a> - LLM-friendly documentation format</li>
                <li><a href="/page.json" style="color: #12B886; text-decoration: none;"><strong>page.json</strong></a> - Technical architecture and components</li>
                <li><a href="/architecture.txt" style="color: #12B886; text-decoration: none;"><strong>architecture.txt</strong></a> - Application structure overview</li>
                <li><a href="/sitemap.xml" style="color: #12B886; text-decoration: none;"><strong>sitemap.xml</strong></a> - Complete site structure for search engines</li>
                <li><a href="/robots.txt" style="color: #12B886; text-decoration: none;"><strong>robots.txt</strong></a> - Crawler instructions</li>
            </ul>

            <p>These endpoints provide detailed information about the application structure, components, functionality, and usage patterns in formats optimized for automated processing.</p>

            <h2>Features:</h2>
            <ul>
                <li>Markdown-based documentation with custom directives</li>
                <li>Interactive component examples with live code</li>
                <li>Data visualization with Plotly integration</li>
                <li>Dark/light theme support</li>
                <li>Mobile-responsive design</li>
                <li>LLM-friendly documentation formats</li>
            </ul>
        </div>
    </noscript>

```

I tested this configuration with making this request I made on `ChatGPT` , `Gemini` and `Claude` :

```auto
I'm trying to test if an ai can read and easily navigate this application I've built when given this url please make a request on this url https://dash-documentation-boilerplate.onrender.com/ what can you tell me about the application? Please output the requested raw html and check if their is any ai specific navigation that you easily recognize and could use to get more insight on the purpose of the application and its contents

```

Claude response: 🤷‍♂️

ChatGPT response: ✅

Google Gemini Response: ✅

The most interesting insight was from google, although ChatGPT also quickly had a great understanding of the dash application in testing via chatbots apis and prompting. Claude was a bit confusing of a response, it understood the link in a broad sense but seems to be getting snagged in a strange place in i’m assuming might be a claude specific issue:

```auto
Note: The network restrictions prevented me from fetching the specific /llms.txt endpoint directly, but the page clearly advertises these AI-friendly features, which is exactly what you'd want for testing AI discoverability!

```

## Get Started in 3 Commands

```bash
git clone https://github.com/pip-install-python/Dash-Documentation-Boilerplate.git
cd Dash-Documentation-Boilerplate
pip install -r requirements.txt && npm install
python run.py

```

Visit `localhost:8550` and you’ve got docs.

* * *

**Questions? Feedback? Want to roast my code?** Drop a comment below!

---

<div class="post-metadata">

**Author:** ![AIMPED](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/aimped/32/21758_2.png) [@AIMPED](https://community.plotly.com/u/AIMPED)\
**Post date:** [November 12, 2025, 8:17am UTC](https://community.plotly.com/t/dash-documentation-boilerplate-release/95407/2 "2025-11-12T08:17:15Z")

</div>

Hey @PipInstallPython, thanks for sharing!

I’m a simple guy, what I understood out of all this:

- AI can’t access the content of dash apps right now.
- To make it visible for AI, you create a static (automatically generated) markdown file which documents the app content and functionality

Imagine I have the simplest app and wanted to make it visible to AI- how would i use what you developed?

---

<div class="post-metadata">

**Author:** ![PipInstallPython](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/pipinstallpython/32/34539_2.png) [@PipInstallPython](https://community.plotly.com/u/PipInstallPython)\
**Post date:** [November 12, 2025, 3:38pm UTC](https://community.plotly.com/t/dash-documentation-boilerplate-release/95407/3 "2025-11-12T15:38:11Z")

</div>

👋 Great question! Let me clarify the difference between my two projects:

## For the Simplest Setup: `dash-improve-my-llms`

If you just want to make your existing Dash app visible to AI assistants, you want the **`dash-improve-my-llms`** package. Here’s the complete setup:

**1. Install the package:**

```bash
pip install dash-improve-my-llms

```

**2. Add 4 lines to your existing Dash app:**

```python
from dash import Dash
from dash_improve_my_llms import add_llms_routes

app = Dash( __name__ , use_pages=True)
add_llms_routes(app) # ✨ That's it!

```

**What it does automatically:**

- Generates `llms.txt` (AI-readable documentation)
- Creates `page.json` (component architecture)
- Builds `sitemap.xml` (SEO structure)
- Sets up `robots.txt` (crawler policies)
- Updates everything as your app grows - no maintenance needed!

Now AI assistants like Claude and ChatGPT can discover and understand your app when users share the URL.

* * *

## For Full Documentation Sites: `dash-documentation-boilerplate`

This is a completely different project - it’s a **documentation website template** for people who want to create professional docs (like the DMC docs site).

**Use this if you want:**

- A full documentation site with markdown pages
- Interactive code examples
- Component reference pages
- SEO-optimized documentation hosting

**The process is manual** - you fork the repo, delete the example docs, and write your own markdown documentation. It includes `dash-improve-my-llms` integration, but the documentation content itself is something you create.

* * *

**TL;DR:** For making your app AI-visible with minimal effort, use `dash-improve-my-llms` - it’s literally pip install + 1 line of code. The boilerplate is for when you want to build a full documentation website.

Hope that helps! 🚀

---

<div class="post-metadata">

**Author:** ![AIMPED](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/aimped/32/21758_2.png) [@AIMPED](https://community.plotly.com/u/AIMPED)\
**Post date:** [November 12, 2025, 10:01pm UTC](https://community.plotly.com/t/dash-documentation-boilerplate-release/95407/4 "2025-11-12T22:01:41Z")

</div>

@PipInstallPython even I understood it now 🤣

Thank you very much. It would be stupid not to use your first package.

---

<div class="post-metadata">

**Author:** ![bweinberg](https://avatars.discourse-cdn.com/v4/letter/b/fbc32d/32.png) [@bweinberg](https://community.plotly.com/u/bweinberg)\
**Post date:** [November 18, 2025, 1:06am UTC](https://community.plotly.com/t/dash-documentation-boilerplate-release/95407/5 "2025-11-18T01:06:19Z")

</div>

I was reading a doc that was using gitbook and it had this nice dropdown link to doc MCP server. [MCP servers for published docs | GitBook Documentation](https://gitbook.com/docs/publishing-documentation/mcp-servers-for-published-docs)

 ![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/2/5/25407d03e0ba1bd1d2678a3a07e8a038a5e0be1b.png)

---

<div class="post-metadata">

**Author:** ![PipInstallPython](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/pipinstallpython/32/34539_2.png) [@PipInstallPython](https://community.plotly.com/u/PipInstallPython)\
**Post date:** [November 18, 2025, 1:49am UTC](https://community.plotly.com/t/dash-documentation-boilerplate-release/95407/6 "2025-11-18T01:49:17Z")

</div>

I looked into MCP servers prior to starting this project but their are some underlying issues with MCP servers in general that i found concerning. This project was designed to be practical, useful and limited in nature. Its documentation, that looks professional, includes the ideal dependencies and offers markdown render design which makes it easy to scale and build out.

The ai specific endpoints I designed work, I’ve tested it with multiple ai’s and I continued development of this project building it into a revamp of [https://pip-install-python.com](https://pip-install-python.com) within this documentation i just launched you’ll notice ai directly integrated within the documentation. Where the pages are machine readable but theirs also a chat feature within the documentation which leverages the /llms.txt endpoints and provides useful context and information when prompted.

Eventually we’ll be able to define api endpoints for ai and llms to autonomously interact within our applications but prior to that being a reality we need to define and solve the javascript issue with ai’s not capable of reading or understanding the contents of our applications. Imo MCP servers have not matured enough to be the defined way forward within the space and theirs still much evolution awaiting dash prior to defining workflows to allow agents to interact with our software.
