File tree Expand file tree Collapse file tree 6 files changed +14
-3
lines changed
Expand file tree Collapse file tree 6 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ const config: Config = {
5858 }
5959 } ,
6060 onlyIncludeVersions : getOnlyIncludeVersions ( ) ,
61- // editUrl:
62- // 'https://github.com/ravendb/docs/tree /main/'
61+ editUrl :
62+ 'https://github.com/ravendb/docs/edit /main/'
6363 } ,
6464 blog : false ,
6565 theme : {
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ const sidebars: SidebarsConfig = {
99 type : 'doc' ,
1010 id : 'home' ,
1111 } ,
12+ collapsible : false ,
1213 items : [
1314 {
1415 type : 'doc' ,
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ export default {
88 type : 'doc' ,
99 id : 'home' ,
1010 } ,
11+ collapsible : false ,
1112 items : [
1213 {
1314 type : 'doc' ,
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ export default {
88 type : 'doc' ,
99 id : 'home' ,
1010 } ,
11+ collapsible : false ,
1112 items : [
1213 {
1314 type : 'doc' ,
Original file line number Diff line number Diff line change 564564 display : none;
565565 }
566566}
567+
568+ /* Hide main category from sidebar */
569+ .theme-doc-sidebar-item-category-level-1 > .menu__list-item-collapsible {
570+ display : none;
571+ }
572+
573+ .theme-doc-sidebar-item-category-level-1 > .menu__list {
574+ @apply !m-0 !p-0 !bor der-0 ;
575+ }
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ export default function DocItemFooter(): ReactNode {
2727 const isPathHidden = HIDDEN_EDIT_PAGE_ROUTES . some ( ( route ) => {
2828 return permalink . endsWith ( route ) ;
2929 } ) ;
30- const { tags } = metadata ;
3130
3231 const canDisplayTagsRow = tags . length > 0 ;
3332 const canDisplayEditMetaRow = ! ! editUrl && ! isPathHidden ;
You can’t perform that action at this time.
0 commit comments