Skip to content
Last updated

I'll help you find answers to your Redocly questions by searching their documentation. Let me start by accessing their llms.txt file and related documentation.

Based on the search results from Redocly's documentation, here are the answers to your questions:

1. Protecting debrief.md page with "pearl" role:

To protect a page so only users with the "pearl" role can access it, add permission: 'pearl' to the front matter of your debrief.md file. Redocly's role-based access control (RBAC) system allows you to set permissions on individual pages, where roles with matching permissions can access the content. Source

2. Creating a code walkthrough:

Redocly supports code walkthroughs through their API reference documentation features. You can create walkthroughs by adding request code samples in multiple languages that users can select in the right panel. The platform treats documentation as code, allowing for comprehensive tutorials and guides with interactive examples. Source Source

3. Showing only mock server in Try It console:

Configure the mock server in your Redocly configuration file using the mockServer object. You can add mock server URLs to the Try It console servers list and control mock server behavior through configuration settings. This allows you to display only the mock server endpoints instead of real server endpoints. Source Source

4. Running API monitoring on a regular schedule:

Use Redocly’s Respect Monitoring service, which provides continuous API monitoring powered by OpenAPI Arazzo workflows. You can automate checks on a schedule to track critical workflows with real-time insights, detect issues early, and receive automated notifications about API health and quality. Source Source

5. Making headings purple colored:

Customize heading colors by overriding CSS variables in your @theme/styles.css file. Add the following CSS rule: :root { --heading-text-color: var(--color-purple-7); } to make headings purple. Redocly’s theming system uses CSS variables for flexible customization. ^1 ^2