mirror of
https://github.com/boostorg/boostlook.git
synced 2026-01-20 04:22:21 +00:00
Compare commits
55 Commits
feature/bo
...
develop_ti
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
09f77e7b2f | ||
|
|
6ab075ff7f | ||
|
|
38452398bb | ||
|
|
95ac38a2af | ||
|
|
a588568d28 | ||
|
|
db0140e77c | ||
|
|
4071795de1 | ||
|
|
14c9e079a0 | ||
|
|
99cd5620b7 | ||
|
|
9c55ac6ddf | ||
|
|
47f31fb1bf | ||
|
|
70f75fb9ba | ||
|
|
5d8e2f099e | ||
|
|
c1e9536804 | ||
|
|
af6de4ca0b | ||
|
|
b4d7057719 | ||
|
|
a720b59a65 | ||
|
|
eaf1bfdd36 | ||
|
|
a605eee2d3 | ||
|
|
66d701fed4 | ||
|
|
a8c5b634e1 | ||
|
|
757e3c16c9 | ||
|
|
e1412c671e | ||
|
|
2ea58f2693 | ||
|
|
f8a393d7ed | ||
|
|
1b0f191b58 | ||
|
|
9bb732f91b | ||
|
|
d9059ad133 | ||
|
|
4aac76ddd2 | ||
|
|
ba1af1d32d | ||
|
|
527bfdfc95 | ||
|
|
8d8e85d6ca | ||
|
|
c597e7372e | ||
|
|
3bedf84a63 | ||
|
|
d1b966dbd1 | ||
|
|
f5513867a8 | ||
|
|
61820c5ee7 | ||
|
|
bcb3cb530f | ||
|
|
8eb5871cb2 | ||
|
|
e0ecfc91c5 | ||
|
|
e130dc047b | ||
|
|
fe8033808f | ||
|
|
ec37dd0b36 | ||
|
|
e79effb823 | ||
|
|
b0a65d53d8 | ||
|
|
f173718329 | ||
|
|
2ee6dc59fa | ||
|
|
3aaa0db5d6 | ||
|
|
a5041ced2d | ||
|
|
f7148a3dc6 | ||
|
|
0f18ac59c2 | ||
|
|
473cd45074 | ||
|
|
538540cdc9 | ||
|
|
2f6553ba31 | ||
|
|
adec6006ce |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
doc/html
|
||||
.DS_Store
|
||||
|
||||
BIN
NotoSansMono-Regular.ttf
Normal file
BIN
NotoSansMono-Regular.ttf
Normal file
Binary file not shown.
1330
boostlook.css
1330
boostlook.css
File diff suppressed because it is too large
Load Diff
11
boostlook.rb
11
boostlook.rb
@@ -3,13 +3,21 @@ Asciidoctor::Extensions.register do
|
||||
process do |doc, output|
|
||||
output = output.sub(/(<body[^>]*>)/, '\1<div class="boostlook">')
|
||||
output = output.sub('</body>', '</div></body>')
|
||||
output = output.sub(/(<body.*?<div[^>]*id="toc"[^>]*>)/m, '\1<button id="toggle-toc" title="Show Table of Contents" aria-expanded="false" aria-controls="toc">☰</button>')
|
||||
# Comment out toggle button - TOC should always be visible
|
||||
# output = output.sub(/(<body.*?<div[^>]*id="toc"[^>]*>)/m, '\1<button id="toggle-toc" title="Show Table of Contents" aria-expanded="false" aria-controls="toc">☰</button>')
|
||||
output = output.sub(/(<body.*?<div[^>]*id="footer"[^>]*>)/m, '</div>\1')
|
||||
|
||||
script_tag = <<~SCRIPT
|
||||
<script>
|
||||
(function() {
|
||||
const html = document.documentElement;
|
||||
// Always show TOC - no toggle functionality needed
|
||||
html.classList.add('toc-visible');
|
||||
html.classList.add('toc-pinned');
|
||||
html.classList.remove('toc-hidden');
|
||||
|
||||
// Comment out toggle functionality since TOC should always be visible
|
||||
/*
|
||||
const isPinned = localStorage.getItem('tocPinned') === 'true';
|
||||
|
||||
html.classList.add('toc-hidden');
|
||||
@@ -56,6 +64,7 @@ Asciidoctor::Extensions.register do
|
||||
|
||||
updateTocVisibility(isPinned);
|
||||
});
|
||||
*/
|
||||
})();
|
||||
</script>
|
||||
SCRIPT
|
||||
|
||||
1981
boostlook_old.css
1981
boostlook_old.css
File diff suppressed because it is too large
Load Diff
BIN
notosans.woff2
Normal file
BIN
notosans.woff2
Normal file
Binary file not shown.
BIN
notosans_ext.woff2
Normal file
BIN
notosans_ext.woff2
Normal file
Binary file not shown.
BIN
notosans_mono.woff
Normal file
BIN
notosans_mono.woff
Normal file
Binary file not shown.
BIN
notosans_mono_ext.woff
Normal file
BIN
notosans_mono_ext.woff
Normal file
Binary file not shown.
Reference in New Issue
Block a user