Getting rid of the left hand menu when displaying OpenAPI spec content #122
-
I have a question about how to remove the left hand menu in certain pages My API docs are in OpenAPI. I have used However the OpeAPI content is very wide (3 columns) and it would be very useful to switch off the left hand nav menu on this one page. Is there some cleaver shortcode or front matter content I can use to switch this off please? BTW, the issue is the same if you use Swagger |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Hmm should be possible by a page option, but I'm not sure if I like the idea as it breaks the fundamental design a bit. |
Beta Was this translation helpful? Give feedback.
-
Here is a screen shot that might help show the problem |
Beta Was this translation helpful? Give feedback.
-
I've added this feature in the latest release. Would be awesome if you could give it a test. I've also restructured the landing page of https://geekdocs.de/ to demo it. |
Beta Was this translation helpful? Give feedback.
-
To help people to use this, this is my basic workflow using
Obvs you will need to change the file and directory names to suite The entry in the menu YAML file is
|
Beta Was this translation helpful? Give feedback.
I've added this feature in the latest release. Would be awesome if you could give it a test. I've also restructured the landing page of https://geekdocs.de/ to demo it.