0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
Commit graph

12 commits

Author SHA1 Message Date
Lennart
4af836f642
feat(docs): Add llms.txt to every route (#12466)
## Description

Add a build plugin (that only runs during `docusaurus build`) that
generates `llms.txt` files alongside each docs page with the contents of
each page.

More open in options:

<img width="322" height="294" alt="image"
src="https://github.com/user-attachments/assets/7029101d-6cf6-40ad-8c26-3878e288256a"
/>

New footer with link to llms.txt file:

<img width="361" height="73" alt="image"
src="https://github.com/user-attachments/assets/9885606f-dbde-4763-bfd1-4b711b3945c0"
/>

## Related Issue(s)

<!-- Link to the issue(s) this PR addresses, using hashtag notation:
Fixes #123 -->

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [X] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update

## Checklist

- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Per-page and site root llms.txt files are now generated for easier LLM
integration.
* Reworked page actions: a compact "Copy / Open in" menu provides quick,
data-driven links to external AI assistants and a direct llms.txt link.

* **Documentation**
* Standardized internal cross-reference links across storage and
observability docs.
* Clarified observability guidance and related warnings in multiple
storage pages.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-01-29 10:26:02 -08:00
Lennart
66ef41bea0
chore(docs): Remove tech debt (first pass) (#12354)
## Description

A first pass at removing tech debt from docs and enforcing consistent
styling through lint-staged and working prettier config.

## Related Issue(s)

<!-- Link to the issue(s) this PR addresses, using hashtag notation:
Fixes #123 -->

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [x] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update

## Checklist

- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works
2026-01-27 15:17:56 +01:00
Lennart
175790bfdc
chore(docs): Fix llms.txt (#12149) 2026-01-21 15:25:00 +01:00
Kehinde
34d473f38c
Kenny/grwth 952 migrate old nextra docs to docusarurus (#9391)
## Description

Migration of Nextra docs to Docusaurus.

## Related Issue(s)

<!-- Link to the issue(s) this PR addresses, using hashtag notation:
#123 -->

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update

## Checklist

- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Documentation**
* Removed a large set of docs in the docs-new directory, including
guides, examples, and reference pages across Agents, Auth, Deployment,
Examples, Evals, RAG, Memory, Observability, and Processors.

* **Chores**
  * Updated redirect validation configuration source.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Paul Scanlon <pauliescanlon@gmail.com>
Co-authored-by: LekoArts <lekoarts@gmail.com>
2025-10-29 14:46:15 +01:00
Kehinde
5acd2e0a3c
fix: redirect issues (#7368) 2025-09-04 15:56:44 +01:00
Kenny
30aa31cf1b
[Docs] Moves docs over to en directory (#3490)
## Description

This PR moves the doc content to a subdirectory. It also adds a redirect
to handle old links users have in their browser history.

Testing has been done on two links `installation` and `getting-started`
and they redirect properly.
## Related Issue(s)

<!-- Link to the issue(s) this PR addresses, using hashtag notation:
#123 -->

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [x] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update

## Checklist

- [ ] I have performed a self-review of my own code
- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] I have generated a changeset for this PR

---------

Co-authored-by: Brian Lou <brianlou2002@gmail.com>
Co-authored-by: Brian Lou <69982825+brian-lou@users.noreply.github.com>
Co-authored-by: archie-mckenzie <archie@generaltranslation.com>
Co-authored-by: NikAiyer <nick.aiyer@gmail.com>
Co-authored-by: Mrinank Bhowmick <77621953+Mrinank-Bhowmick@users.noreply.github.com>
Co-authored-by: Ehindero Israel <iehindero419@stu.ui.edu.ng>
Co-authored-by: Taofeeq Oluderu <oluderutaofeeq@gmail.com>
Co-authored-by: Marvin Frachet <marvin@mastra.ai>
2025-04-17 13:51:54 +01:00
Kenny
76d7461eed
Kenny/mastra 2742 migrate nextra from v3 to v4 (#3310)
Docs Migration to Nextra 4.

Nextra 4 includes support for:
1. NextJS App Router
2. Turbopack
3. Tailwind V4
4. A new search primitive, PageFind

Nextra new version deprecates some custom components and so we cannot
modify the `table-of-contents` component like we did in `v3` The only
settings provided are for modifying the toc itself rather than replacing
it:

https://nextra.site/docs/docs-theme/built-ins/layout#table-of-contents-toc

With this, the search should be better for custom components.
2025-04-02 15:28:17 +01:00
Joshua Folorunsho
68cb298b54
Revert "Kenny/futr 1159 remove guide nesting in docs while keeping header" 2024-12-30 16:51:29 +01:00
Kenny
222e9b20a7 formatting changes 2024-12-30 11:54:38 +01:00
Ehindero Israel
4bd54cd66a Update openApiSpecWriter example to display logs 2024-11-29 21:39:17 +01:00
Kenny
d3c6d36a22 feat: update jsx to tsx file 2024-11-14 14:46:59 +01:00
Kenny
d030ba8d35 feat: setup docs repo 2024-10-03 10:37:36 +01:00