Skip to content

Commit

Permalink
Add links to dev guides from user guides
Browse files Browse the repository at this point in the history
All developer guides, are generated from the main repo, already exist
on Web site.

Signed-off-by: Takuya Noguchi <[email protected]>
  • Loading branch information
tnir committed Jul 19, 2022
1 parent 92d3042 commit 83139ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/layouts/md_guides_layout.haml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
~ yield
#sidebar-wrapper.col-12.col-md-3.mt-4
.sidebar-nav
%h4 Guides
= partial 'partials/guides_sidebar'

= javascript_include_tag 'anchors.min'
8 changes: 8 additions & 0 deletions source/partials/_guides_sidebar.haml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
%h4 Guides
%ul
- guides.each do |page|
%li{class: current_guide?(page[:filename])}
= link_to_guide(page)
%li.separator
%hr

%h4 Developer Guides
%ul
%li
= link_to "Developer guides", "/doc/readme.html"
%li.separator
%hr

0 comments on commit 83139ab

Please sign in to comment.