We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent affef70 commit 7a0d749Copy full SHA for 7a0d749
src/_sass/railsdoc.scss
@@ -102,6 +102,11 @@ code {
102
}
103
104
105
+ .active-link {
106
+ font-weight: bold;
107
+ text-decoration: underline;
108
+ }
109
+
110
.icon {
111
cursor: pointer;
112
background: url("/assets/image/arrow-right.svg");
src/assets/js/app.js
@@ -8,4 +8,8 @@ $(() => {
8
9
anchors.options.visible = 'always';
10
anchors.add();
11
12
+ $(`.sidebar-content a[href='${window.location.pathname}']`)
13
+ .attr("class", "active-link")
14
+ .parents('ul').show();
15
});
0 commit comments