File tree Expand file tree Collapse file tree 5 files changed +27
-2
lines changed Expand file tree Collapse file tree 5 files changed +27
-2
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "overrides": [
3+ {
4+ "files": ["*.html"],
5+ "options": {
6+ "parser": "go-template",
7+ "goTemplateBracketSpacing": true,
8+ "bracketSameLine": true
9+ }
10+ },
11+ {
12+ "files": ["*.js", "*.ts"],
13+ "options": {
14+ "useTabs": true,
15+ "printWidth": 120,
16+ "singleQuote": true
17+ }
18+ }
19+ ]
20+ }
Original file line number Diff line number Diff line change @@ -60,7 +60,9 @@ export function newToCController() {
6060
6161 rowClass : function ( row ) {
6262 return {
63- class : `toc-h${ row . level } ${ row . active ? ' active' : '' } ${ row . active_parent ? ' active-parent' : '' } ` ,
63+ [ 'x-bind:class' ] ( ) {
64+ return `toc-h${ row . level } ${ row . active ? ' active' : '' } ${ row . active_parent ? ' active-parent' : '' } ` ;
65+ } ,
6466 } ;
6567 } ,
6668
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ github.com/bep/docuapi/v2 v2.0.4 h1:TU6CzjdfiWI+D/d911r8ZQG7R8h64ayEaC6iWNbJ/NQ=
22github.com/bep/docuapi/v2 v2.0.4 /go.mod h1:hoeibCSjXWJ/fLOwPSo8WZbgl5EO3zQjS/nrAs2v2Ro =
33github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.500.100 h1:yIymGxglvwr9Guhk7cr9VoMQ3IgLLJ0E4PKcKCg+kJY =
44github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.500.100 /go.mod h1:WWQxcmPs5Xy3xDgi29ipkmZT6NKVb3bsqyCDTY3eYYY =
5+ github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.21000.20200 /go.mod h1:WWQxcmPs5Xy3xDgi29ipkmZT6NKVb3bsqyCDTY3eYYY =
56github.com/olivernn/lunr.js v2.3.9+incompatible h1:eH8iBnjlR4mwlYDdNuqy9PCNLjp2bEs6aoNnTSaccx0 =
67github.com/olivernn/lunr.js v2.3.9+incompatible /go.mod h1:yEkQ1DUSMtNsn8n2CqvQXZd0ErWPEG8g9QRmblR+KS8 =
78github.com/slatedocs/slate v2.9.2+incompatible h1:PnIMTR1S7pE6tImIjF6ny9UaRrt6fukM93lwUwJPtjw =
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module github.com/bep/docuapi/v2
33go 1.16
44
55require (
6- github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.500.100 // indirect
6+ github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.21000.20200 // indirect
77 github.com/olivernn/lunr.js v2.3.9+incompatible // indirect
88 github.com/slatedocs/slate v2.9.2+incompatible // indirect
99)
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.401.201 h1:rIBco2i/51nTP
22github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.401.201 /go.mod h1:WWQxcmPs5Xy3xDgi29ipkmZT6NKVb3bsqyCDTY3eYYY =
33github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.500.100 h1:yIymGxglvwr9Guhk7cr9VoMQ3IgLLJ0E4PKcKCg+kJY =
44github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.500.100 /go.mod h1:WWQxcmPs5Xy3xDgi29ipkmZT6NKVb3bsqyCDTY3eYYY =
5+ github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.21000.20200 h1:og3wJvy7wxSXWmr4gDmPb+7u70fz8v9H7kRa4S2apqM =
6+ github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.21000.20200 /go.mod h1:WWQxcmPs5Xy3xDgi29ipkmZT6NKVb3bsqyCDTY3eYYY =
57github.com/olivernn/lunr.js v2.3.9+incompatible h1:eH8iBnjlR4mwlYDdNuqy9PCNLjp2bEs6aoNnTSaccx0 =
68github.com/olivernn/lunr.js v2.3.9+incompatible /go.mod h1:yEkQ1DUSMtNsn8n2CqvQXZd0ErWPEG8g9QRmblR+KS8 =
79github.com/slatedocs/slate v2.9.2+incompatible h1:PnIMTR1S7pE6tImIjF6ny9UaRrt6fukM93lwUwJPtjw =
You can’t perform that action at this time.
0 commit comments