Skip to content

Commit

Permalink
chore(website): uncollapse Rules sidebar by default again (#5616)
Browse files Browse the repository at this point in the history
fix(website): uncollapse Rules sidebar by default again
  • Loading branch information
JoshuaKGoldberg committed Sep 19, 2022
1 parent 75d78a4 commit ef7a68c
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions packages/website/sidebars/sidebar.rules.js
Expand Up @@ -62,12 +62,15 @@ function createCategory(label, rules, additionalItems = []) {
module.exports = {
someSidebar: [
'README',
createCategory('Rules', emphasizedRules, [
createCategory('Formatting Rules', Array.from(formattingRules)),
createCategory('Deprecated Rules', [
...Array.from(deprecatedRules),
...paths,
{
...createCategory('Rules', emphasizedRules, [
createCategory('Formatting Rules', Array.from(formattingRules)),
createCategory('Deprecated Rules', [
...Array.from(deprecatedRules),
...paths,
]),
]),
]),
collapsed: false,
},
],
};

0 comments on commit ef7a68c

Please sign in to comment.