Discussions

Ask a Question
Back to All

Left menu items - ordering

What is the logic used to order the openapi tags in the rendered page? Is there a way to influence the order of the pages in the left menu? I read this: https://docs.readme.com/main/docs/openapi-categories-pages-subpages#tags - but I still don't understand how is the order of the menu in the left defined.

Let's say I have the following tags in my openapi.yaml:

tags:
  - name: Page1
  - name: Page2
  - name: Page3

What I want is, to have menu items in the left pane of the docs page ordered in the same order as I specified in my openapi.yaml file. Currently the order is not preserved and I can't understand what algorithm is used to detect the order.