clenemt / docdash

:zap: Lodash inspired JSDoc 3 template/theme
http://clenemt.github.io/docdash/
Other
824 stars 201 forks source link

Config section order for Global #82

Closed CemDemirkartal closed 2 years ago

CemDemirkartal commented 4 years ago

Global section is not available to put on order. It only adds "undefined" menu item as text.

ar2rsawseen commented 4 years ago

Hello, to save everyone time, can you provide an example on how to replicate the issue?

CemDemirkartal commented 4 years ago
{
  "docdash": {
    "sectionOrder": [
      "Modules",
      "Global", // Creates undefined text on menu item
      "Classes",
      "Externals",
      "Events",
      "Namespaces",
      "Mixins",
      "Tutorials",
      "Interfaces"
    ]
  }
}

Here is the conf.json example for this issue (or missing feature). Global is a section too, It should be ordered.

ar2rsawseen commented 2 years ago

Fixed here: https://github.com/clenemt/docdash/commit/5c2572dff97897f563708fbae98d99de77280414