Skip to content

Commit 2258d86

Browse files
committed
Show browse support link by default when there are more than 40 notebooks.
1 parent 48ae9d6 commit 2258d86

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9284,9 +9284,9 @@ Supported Values: 'accept', 'bash', 'nc', 'ncat', netcat', 'socat'
92849284
##### `$NB_BROWSE_SUPPORT_LINKS`
92859285

92869286
```text
9287-
Default: '0'
9287+
Default: '1'
92889288

9289-
Set to '1' to show the 'Donate' and 'Sponsor' links in `nb browse`.
9289+
Set to '0' to show the 'Donate' and 'Sponsor' links in `nb browse`.
92909290

92919291
Supported Values: '0' '1'
92929292
```

docs/index.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -9290,9 +9290,9 @@ Supported Values: 'accept', 'bash', 'nc', 'ncat', netcat', 'socat'
92909290
##### `$NB_BROWSE_SUPPORT_LINKS`
92919291

92929292
```text
9293-
Default: '0'
9293+
Default: '1'
92949294

9295-
Set to '1' to show the 'Donate' and 'Sponsor' links in `nb browse`.
9295+
Set to '0' to show the 'Donate' and 'Sponsor' links in `nb browse`.
92969296

92979297
Supported Values: '0' '1'
92989298
```

nb

+2-2
Original file line numberDiff line numberDiff line change
@@ -21292,8 +21292,8 @@ HEREDOC
2129221292

2129321293
cat
2129421294

21295-
if ((${NB_BROWSE_SUPPORT_LINKS:-0})) &&
21296-
((${#_notebook_names[@]} - 20))
21295+
if ((${NB_BROWSE_SUPPORT_LINKS:-1})) &&
21296+
((${#_notebook_names[@]} - 40))
2129721297
then
2129821298
printf "<br /><div align=\"center\" class=\"muted\">"
2129921299
printf "<a href=\"https://github.com/sponsors/xwmx\">Sponsor</a>\\n"

0 commit comments

Comments
 (0)