Neoteroi / mkdocs-plugins

Plugins for MkDocs.
MIT License
128 stars 9 forks source link

OpenAPI docs - Table of Contents? #67

Open wadewilliams opened 2 months ago

wadewilliams commented 2 months ago

In this screenshot, you can see a table of contents displayed on the right of the page.

image

This doesn't seem to be the current behavior. Is this possibly a regression or is there some specific option that needs to be set in order for it to work properly?

My markdown file has no contents besides the tag for [OAD("./docs/swagger-config.json")]

JegDudley commented 1 month ago

I have the same question.

Any help would be appreciated, Neoteroi! 😀 Thanks

JegDudley commented 1 month ago

@wadewilliams - I was able to get the table of contents working by building my docs using @RobertoPrevato/ Neoterio's essentials-openapi, instead of mkdocs-plugins.

I followed the instructions here: https://github.com/Neoteroi/essentials-openapi

and built them to markdown output format.