mirror of
https://github.com/boostorg/boostlook.git
synced 2026-01-19 16:12:14 +00:00
Compare commits
74 Commits
boost-1.88
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f056e064ea | ||
|
|
d264e70b57 | ||
|
|
858f832cf5 | ||
|
|
6adfbca7ab | ||
|
|
db04621383 | ||
|
|
dec44ce10a | ||
|
|
ab2d0fda0a | ||
|
|
8c9f0364d1 | ||
|
|
e32c8bda45 | ||
|
|
76d10265f5 | ||
|
|
2afbebc0c5 | ||
|
|
d0cc6d5e1e | ||
|
|
20ddde5333 | ||
|
|
66401ab4d7 | ||
|
|
cdfdff1a43 | ||
|
|
c8ea8e2061 | ||
|
|
5454b1c038 | ||
|
|
34fb6a94b3 | ||
|
|
b4306e4b94 | ||
|
|
36d2ef80b0 | ||
|
|
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 |
6
.github/workflows/sync-boostlook-css.yml
vendored
6
.github/workflows/sync-boostlook-css.yml
vendored
@@ -16,10 +16,10 @@ jobs:
|
||||
if: github.repository == 'boostorg/boostlook'
|
||||
steps:
|
||||
- name: Checkout current repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Checkout website-v2 repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
repository: boostorg/website-v2
|
||||
ref: develop
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.11"
|
||||
python-version: "3.13"
|
||||
|
||||
- name: Copy boostlook.css to website-v2
|
||||
run: |
|
||||
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
doc/html
|
||||
.DS_Store
|
||||
|
||||
BIN
MonaspaceNeon-Regular.woff2
Normal file
BIN
MonaspaceNeon-Regular.woff2
Normal file
Binary file not shown.
BIN
MonaspaceNeon-Var.woff2
Normal file
BIN
MonaspaceNeon-Var.woff2
Normal file
Binary file not shown.
BIN
MonaspaceRadon-Italic.woff2
Normal file
BIN
MonaspaceRadon-Italic.woff2
Normal file
Binary file not shown.
BIN
MonaspaceXenon-Italic.woff2
Normal file
BIN
MonaspaceXenon-Italic.woff2
Normal file
Binary file not shown.
BIN
MonaspaceXenon-Var.woff2
Normal file
BIN
MonaspaceXenon-Var.woff2
Normal file
Binary file not shown.
BIN
NotoSansMono-Regular.ttf
Normal file
BIN
NotoSansMono-Regular.ttf
Normal file
Binary file not shown.
5281
boostlook.css
5281
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
5718
doc/bin/asciidoctor-backend-html5/specimen.html
Normal file
5718
doc/bin/asciidoctor-backend-html5/specimen.html
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
<style>
|
||||
|
||||
*:not(pre)>code { background: none; color: #600000; }
|
||||
:not(pre):not([class^=L])>code { background: none; color: #600000; }
|
||||
*:not(pre)>code { background: none; }
|
||||
:not(pre):not([class^=L])>code { background: none; }
|
||||
|
||||
</style>
|
||||
|
||||
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