You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently using @stoplight/elements to render my API documentation in a React application. I am looking for guidance on how to customize the table of contents (TOC), specifically for:
Adding new dividers or sections to the TOC
Renaming existing dividers or sections in the TOC
Current Setup
Here is a brief overview of my current setup:
I have my API documentation defined in an OpenAPI/Swagger JSON file.
I am using the API component from @stoplight/elements to render the documentation.
I have created a custom toc.json file to structure the TOC, which is placed in the public directory of my React project.
Questions
Adding Dividers/Sections: How can I add new dividers or sections to the TOC to better organize my documentation?
The text was updated successfully, but these errors were encountered:
Description
Hello,
I am currently using
@stoplight/elements
to render my API documentation in a React application. I am looking for guidance on how to customize the table of contents (TOC), specifically for:Current Setup
Here is a brief overview of my current setup:
API
component from@stoplight/elements
to render the documentation.toc.json
file to structure the TOC, which is placed in the public directory of my React project.Questions
Adding Dividers/Sections: How can I add new dividers or sections to the TOC to better organize my documentation?
The text was updated successfully, but these errors were encountered: