@@ -0,0 +1 @@
|
||||
wrote Main.WebHome.xwiki, Admin.WebHome.xwiki, Contributors.WebHome.xwiki
|
||||
@@ -39,7 +39,7 @@ html, body, #xwikimaincontainer, #xwikimaincontainerinner, #contentcontainer, #c
|
||||
<div style="display: flex; flex-wrap: wrap; gap: 16px"><a href="https://gitea.starshipos-f18.org/rajames/LithosAnanke" style="display: inline-block; padding: 14px 24px; background: #F5891F !important; color: #0A1222 !important; font-weight: 700; text-decoration: none; border-radius: 4px">Browse the source</a><a href="https://starshipos-f18.com/bin/view/TryIt/" style="display: inline-block; padding: 14px 24px; border: 1px solid #34486A !important; color: #EEF2F7 !important; text-decoration: none; border-radius: 4px">Try it in a browser</a></div>
|
||||
</section>
|
||||
<section aria-label="At a glance" style="border-top: 1px solid #22324D !important; border-bottom: 1px solid #22324D !important; background: #0E182B !important">
|
||||
<div style="max-width: 1120px; margin: 0 auto; padding: 32px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px"><div><div style="font-family: 'Exo 2', sans-serif; font-size: 32px; font-weight: 700; color: #F5891F !important">v2.1.0</div><div style="font-size: 14px; color: #A3AEC2 !important">LithosAnanke, the UEFI microkernel</div></div><div><div style="font-family: 'Exo 2', sans-serif; font-size: 32px; font-weight: 700; color: #F5891F !important">v4</div><div style="font-size: 14px; color: #A3AEC2 !important">StarForth, the F18 engine</div></div><div><div style="font-family: 'Exo 2', sans-serif; font-size: 32px; font-weight: 700; color: #F5891F !important">3 ISAs</div><div style="font-size: 14px; color: #A3AEC2 !important">amd64 · aarch64 · riscv64</div></div><div><div style="font-family: 'Exo 2', sans-serif; font-size: 32px; font-weight: 700; color: #F5891F !important">992</div><div style="font-size: 14px; color: #A3AEC2 !important">POST checks on every boot</div></div></div>
|
||||
<div style="max-width: 1120px; margin: 0 auto; padding: 32px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px"><div><div style="font-family: 'Exo 2', sans-serif; font-size: 32px; font-weight: 700; color: #F5891F !important">v4.0.0-alpha.5</div><div style="font-size: 14px; color: #A3AEC2 !important">LithosAnanke, the UEFI microkernel</div></div><div><div style="font-family: 'Exo 2', sans-serif; font-size: 32px; font-weight: 700; color: #F5891F !important">v4</div><div style="font-size: 14px; color: #A3AEC2 !important">StarForth, the F18 engine</div></div><div><div style="font-family: 'Exo 2', sans-serif; font-size: 32px; font-weight: 700; color: #F5891F !important">3 ISAs</div><div style="font-size: 14px; color: #A3AEC2 !important">amd64 · aarch64 · riscv64</div></div><div><div style="font-family: 'Exo 2', sans-serif; font-size: 32px; font-weight: 700; color: #F5891F !important">992</div><div style="font-size: 14px; color: #A3AEC2 !important">POST checks on every boot</div></div></div>
|
||||
</section>
|
||||
<section style="max-width: 1120px; margin: 0 auto; padding: 96px 24px 48px">
|
||||
<p style="margin: 0 0 12px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #F5891F !important">The project</p>
|
||||
|
||||
+13
-1
@@ -148,13 +148,25 @@ def post_count():
|
||||
sys.exit("build: no count in v4/system/POST_FLOOR")
|
||||
|
||||
|
||||
def lithos_version():
|
||||
"""LithosAnanke's version, as the kernel is built: kernel/Makefile's LITHOS_VERSION (Captain Bob, 2026-11-21:
|
||||
"From kernel/Makefile at build")."""
|
||||
import re as _re
|
||||
here = os.path.dirname(os.path.abspath(__file__))
|
||||
for line in open(os.path.join(here, "..", "..", "kernel", "Makefile")):
|
||||
m = _re.match(r"LITHOS_VERSION\s*\??=\s*(\S+)", line)
|
||||
if m:
|
||||
return "v" + m.group(1)
|
||||
sys.exit("build: no LITHOS_VERSION in kernel/Makefile")
|
||||
|
||||
|
||||
def code(s):
|
||||
return '<code style="color: #EEF2F7; background: #0A1222; padding: 1px 6px; border-radius: 3px">%s</code>' % s
|
||||
|
||||
|
||||
def page_main(canvas, url):
|
||||
links_ = [("Home", url("Main"), "Main"), ("Contributors", url("Contributors"), "Contributors")]
|
||||
glance = [("v2.1.0", "LithosAnanke, the UEFI microkernel"), ("v4", "StarForth, the F18 engine"),
|
||||
glance = [(lithos_version(), "LithosAnanke, the UEFI microkernel"), ("v4", "StarForth, the F18 engine"),
|
||||
("3 ISAs", "amd64 · aarch64 · riscv64"), (post_count(), "POST checks on every boot")]
|
||||
strip = ('<section aria-label="At a glance" style="border-top: 1px solid #22324D; border-bottom: 1px solid '
|
||||
'#22324D; background: #0E182B">\n<div style="%s; padding: 32px 24px; display: grid; '
|
||||
|
||||
Reference in New Issue
Block a user