chore(v2): generic styling improvements

This commit is contained in:
Yangshun Tay 2019-02-23 12:50:31 -08:00
parent c46a894a01
commit b33de00a32
16 changed files with 109 additions and 109 deletions

View file

@ -5,8 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/
// build the docs meta such as next, previous, category and sidebar
// Build the docs meta such as next, previous, category and sidebar.
module.exports = function createOrder(allSidebars = {}) {
const order = {};
@ -28,7 +27,7 @@ module.exports = function createOrder(allSidebars = {}) {
break;
case 'ref':
case 'link':
// refs and links should not be shown in navigation
// Refs and links should not be shown in navigation.
break;
case 'doc':
ids.push(item.id);