Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Michael D'Angelo a6641b9c5d
improve
3 months ago
..
0d96118e45
docs(blog): Agent2Agent Protocol (#3981)
3 months ago
a6641b9c5d
improve
3 months ago
src
160f89ceb0
feat: add copy as markdown button to doc pages (#4039)
3 months ago
87ee8ec546
chore(redteam): introduce strategy collection for other-encodings (#4075)
3 months ago
160f89ceb0
feat: add copy as markdown button to doc pages (#4039)
3 months ago
160f89ceb0
feat: add copy as markdown button to doc pages (#4039)
3 months ago
e1aa6ab106
docs: Merge docs into main repo (#317)
1 year ago
86bf649d8e
chore(docs): Handle index.md files for copy page (#4081)
3 months ago
621c0c6486
chore(deps): update dependencies (#3943)
3 months ago
ee140fc766
feat(redteam): add more encodings (#3815)
4 months ago
e1aa6ab106
docs: Merge docs into main repo (#317)
1 year ago

README.md

You have to be logged in to leave a comment. Sign In

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

npm install

Local Development

npm start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

npm run build

This command generates static content into the build directory and can be served using any static content hosting service.

LLMs.txt Plugin

This website includes a custom Docusaurus plugin that generates two files during the build process:

  1. llms-full.txt - A concatenated file containing all content from all markdown and MDX files in the docs directory, separated by dividers
  2. llms.txt - A structured index of all documentation pages with titles, paths, and descriptions

These files are generated to support LLM-based tools that need to analyze or search through the documentation.

Usage

No additional configuration is needed. The plugin runs automatically during the build process, and the files are created in the root of the build output directory.

Copy Page Button Feature

A "Copy page" button is injected at the top of every documentation page. It provides a dropdown with:

  • Copy as Markdown: Copies the current page's markdown source to the clipboard.
  • View Markdown: Opens a modal displaying the markdown source.

This is implemented via:

  • src/components/CopyPageButton.tsx (the button and modal logic)
  • src/theme/DocItem/index.js (theme swizzle to inject the button)

The button fetches the markdown source from /docs/[slug].md based on the current page URL. If the markdown is not available, it shows an error message.

Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...