From 6b8cae12cb5d60b37931332d9d8008649ae14566 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 12 Sep 2026 11:31:19 +0300 Subject: feat!: Update dunbar markup Currently the newest version of the markup is not on the main branch, mostly because of polish and the documentation. As an effect from the changes to the language, the sitemap is the only thing which needs to be created externally. --- dunbar | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dunbar') diff --git a/dunbar b/dunbar index 2cd6e40..c8d67ca 160000 --- a/dunbar +++ b/dunbar @@ -1 +1 @@ -Subproject commit 2cd6e40d90f0593bb07d8e14895b3c409754db51 +Subproject commit c8d67cab27f8ab93289fa69e3291367fb083ed73 -- cgit v1.3.1-26-gb76a From fd1cbd9d3453bfc41893afc3f88308188ad07cfe Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 12 Sep 2026 15:41:07 +0300 Subject: chore: Update dunbar --- dunbar | 2 +- make.sh | 4 ++-- src/INIT.du | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'dunbar') diff --git a/dunbar b/dunbar index c8d67ca..eaa4cb0 160000 --- a/dunbar +++ b/dunbar @@ -1 +1 @@ -Subproject commit c8d67cab27f8ab93289fa69e3291367fb083ed73 +Subproject commit eaa4cb0123bcf01056d4dc400f2c3e513f41e967 diff --git a/make.sh b/make.sh index 2437873..c18af74 100755 --- a/make.sh +++ b/make.sh @@ -47,9 +47,9 @@ prepare() { } build() { - OUTPUT_FORMAT=HTML "$AWK" \ + "$AWK" \ -f ./dunbar/dunbar_awk/dunbar.awk \ - ./dunbar/stdenv/sgml.du \ + ./dunbar/stdenv/lang/html.du ./dunbar/stdenv/code.du \ -c "$SRC/INIT.du" \ $(find "$DST" -type f -name '*.du') diff --git a/src/INIT.du b/src/INIT.du index 717f259..e11e835 100644 --- a/src/INIT.du +++ b/src/INIT.du @@ -1,6 +1,6 @@ 'hide Necessary definitions for all pages under src -'if {eq {ifn {OUTPUT_FORMAT};{env OUTPUT_FORMAT}};HTML} +'if {or {empty {env OUTPUT_FORMAT}};{eq HTML;{env OUTPUT_FORMAT}}} # FILENAME -- cgit v1.3.1-26-gb76a From 3bf2c2004c1c3ea1748983247e1fcf12913d587f Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 14 Sep 2026 11:39:40 +0300 Subject: feat(src): Final markup fixes and dunbar update --- dunbar | 2 +- src/INIT.du | 17 +++++- src/blog/bash-is-weird/index.du | 5 -- src/blog/connect-to-mysql-in-dotnet-ef/index.du | 4 +- src/blog/fix-no-frame-buffer-plan9/index.du | 1 - src/blog/fix-qc-timeout/index.du | 4 -- .../index.du | 2 - .../index.du | 25 +++----- src/blog/how-to-encrypt-email/index.du | 6 +- .../index.du | 5 +- .../install-drivers-for-epson-scanners/index.du | 4 +- .../managing-apps-with-adb-without-root/index.du | 8 +-- .../mundus-first-shot-at-gamedev/basic-concepts.du | 4 +- src/blog/mundus-first-shot-at-gamedev/timeline.du | 6 +- .../mundus-first-shot-at-gamedev/user-interface.du | 2 +- src/blog/plan9-in-linux-mouse-menus/index.du | 8 +-- .../sane-explanation-of-compilers/part-1/index.du | 71 +++++++++++----------- src/blog/taming-the-fun-too/index.du | 10 +-- .../index.du | 32 ++++------ src/blog/turn-off-notifications-windows/index.du | 2 - src/blog/virt-manager-freeze-on-browse/index.du | 6 +- src/blog/windows-run-dialog/index.du | 4 +- src/teaching/oop-2023/week1/good-software.du | 2 + src/teaching/upp-2023/week12/index.du | 8 ++- src/teaching/upp-2025/week13/index.du | 2 +- 25 files changed, 116 insertions(+), 124 deletions(-) (limited to 'dunbar') diff --git a/dunbar b/dunbar index eaa4cb0..efb7d51 160000 --- a/dunbar +++ b/dunbar @@ -1 +1 @@ -Subproject commit eaa4cb0123bcf01056d4dc400f2c3e513f41e967 +Subproject commit efb7d51a645b0038e22eabbe494ddc0598962458 diff --git a/src/INIT.du b/src/INIT.du index d03720a..02e6eff 100644 --- a/src/INIT.du +++ b/src/INIT.du @@ -162,19 +162,32 @@ desc - Page description 'cmdprocess code {if {LANG};highlight -O html -f -S {default {normalise {LANG}};text};cat} 'endif +'let start {unordered}default

+'let end {unordered}default

+'let start {ordered}default

+'let end {ordered}default

+ ## Attention 'let start question
question 'let end question
+'let start {question}default

+'let end {question}default

'let start warn
warn 'let end warn
+'let start {warn}default

+'let end {warn}default

'let start important
important 'let end important
+'let start {important}default

+'let end {important}default

'let start note
'let end note
+'let start {note}default

+'let end {note}default

## Headers @@ -339,6 +352,8 @@ url href # Substitutions +'def fn_ref {sup {1}} + 'def due_for_rework {url {b {i Due for rework}};/rework.html} 'def nohtml {greplace {1};<;<\;} @@ -363,7 +378,7 @@ reading created edited -'def breadcrumb » {def x/...;{>= {count {1};/};1}}{if {x/...};{url {substrBefore {1};/};{default {2};./}};{italic {substrAfter {1};/}}} {{if {x/...};breadcrumb;none} {substrAfter {1};/};{substrAfter {2};../}} +'def breadcrumb » {def x/...;{>= {count {1};/};1}}{if {x/...};{url {substrBefore {1};/};{default {2};./}};{italic {1}}} {{if {x/...};breadcrumb;none} {substrAfter {1};/};{substrAfter {2};../}} 'def pagenav