Release 2.7.0: executable handbooks and native user-site workflows

This commit is contained in:
cflmy committed 2026-11-10 17:03:06 +08:00
1 parent aa0c4d0f55
commit d9aef957f7
562 files changed
+21064 -20387

No files matched your search

@@ -15,5 +15,5 @@ This leaf owns only the footer/brand Markdown content; its parent owns placement
Edit adjacent content.md to change prose. Add a child directory when a second
layout responsibility appears instead of introducing HTML into the content.
**body = fs.read_text path="components/footer/brand/content.md"**
*> component.markdown text=`body` slot="footer-brand"*
We first **body = [Compute body](fs.read_text(path="components/footer/brand/content.md"))** for the next step.
After these steps, return *component.markdown(text=`body`, slot="footer-brand")*.
@@ -17,8 +17,8 @@ This parent arranges brand content and the link-region subtree. Content stays
in their Markdown leaves; this file owns their one placement relationship. Continue into each child index when another independent layout
remains. Preserve node lists rather than rendering children into HTML strings.
**brand_nodes = > brand.nodes**
**links_nodes = > links.nodes**
**siblings = component.merge a=`brand_nodes` b=`links_nodes`**
**footer_columns = layout.columns children=`siblings` slot="footer"**
*> component.wrap children=`footer_columns` kind="footer" slot="footer"*
We first **brand_nodes = [Compute brand_nodes](brand.nodes())** for the next step.
We first **links_nodes = [Compute links_nodes](links.nodes())** for the next step.
We first **siblings = [Compute siblings](component.merge(a=`brand_nodes`, b=`links_nodes`))** for the next step.
We first **footer_columns = [Compute footer_columns](layout.columns(children=`siblings`, slot="footer"))** for the next step.
After these steps, return *component.wrap(children=`footer_columns`, kind="footer", slot="footer")*.
@@ -15,5 +15,5 @@ This leaf owns only the footer/links/community Markdown content; its parent owns
Edit adjacent content.md to change prose. Add a child directory when a second
layout responsibility appears instead of introducing HTML into the content.
**body = fs.read_text path="components/footer/links/community/content.md"**
*> component.markdown text=`body` slot="footer-links-community"*
We first **body = [Compute body](fs.read_text(path="components/footer/links/community/content.md"))** for the next step.
After these steps, return *component.markdown(text=`body`, slot="footer-links-community")*.
@@ -15,5 +15,5 @@ This leaf owns only the footer/links/docs Markdown content; its parent owns plac
Edit adjacent content.md to change prose. Add a child directory when a second
layout responsibility appears instead of introducing HTML into the content.
**body = fs.read_text path="components/footer/links/docs/content.md"**
*> component.markdown text=`body` slot="footer-links-docs"*
We first **body = [Compute body](fs.read_text(path="components/footer/links/docs/content.md"))** for the next step.
After these steps, return *component.markdown(text=`body`, slot="footer-links-docs")*.
@@ -17,7 +17,7 @@ This parent arranges documentation links and community links. Content stays
in their Markdown leaves; this file owns their one placement relationship. Continue into each child index when another independent layout
remains. Preserve node lists rather than rendering children into HTML strings.
**docs_nodes = > docs.nodes**
**community_nodes = > community.nodes**
**siblings = component.merge a=`docs_nodes` b=`community_nodes`**
*> layout.columns children=`siblings` slot="footer-links"*
We first **docs_nodes = [Compute docs_nodes](docs.nodes())** for the next step.
We first **community_nodes = [Compute community_nodes](community.nodes())** for the next step.
We first **siblings = [Compute siblings](component.merge(a=`docs_nodes`, b=`community_nodes`))** for the next step.
After these steps, return *layout.columns(children=`siblings`, slot="footer-links")*.
@@ -18,9 +18,9 @@ This parent arranges navigation, main content and footer. Content stays
in their Markdown leaves; this file owns their one placement relationship. Continue into each child index when another independent layout
remains. Preserve node lists rather than rendering children into HTML strings.
**nav_nodes = > nav.nodes**
**content_nodes = > content.nodes**
**footer_nodes = > footer.nodes**
**upper_regions = component.merge a=`nav_nodes` b=`content_nodes`**
**home_regions = component.merge a=`upper_regions` b=`footer_nodes`**
*> layout.stack children=`home_regions` slot="home"*
We first **nav_nodes = [Compute nav_nodes](nav.nodes())** for the next step.
We first **content_nodes = [Compute content_nodes](content.nodes())** for the next step.
We first **footer_nodes = [Compute footer_nodes](footer.nodes())** for the next step.
We first **upper_regions = [Compute upper_regions](component.merge(a=`nav_nodes`, b=`content_nodes`))** for the next step.
We first **home_regions = [Compute home_regions](component.merge(a=`upper_regions`, b=`footer_nodes`))** for the next step.
After these steps, return *layout.stack(children=`home_regions`, slot="home")*.
@@ -15,5 +15,5 @@ This leaf owns only the main Markdown content; its parent owns placement.
Edit adjacent content.md to change prose. Add a child directory when a second
layout responsibility appears instead of introducing HTML into the content.
**body = fs.read_text path="components/main/content.md"**
*> component.markdown text=`body` slot="main"*
We first **body = [Compute body](fs.read_text(path="components/main/content.md"))** for the next step.
After these steps, return *component.markdown(text=`body`, slot="main")*.
@@ -15,5 +15,5 @@ This leaf owns only the nav Markdown content; its parent owns placement.
Edit adjacent content.md to change prose. Add a child directory when a second
layout responsibility appears instead of introducing HTML into the content.
**body = fs.read_text path="components/nav/content.md"**
*> component.markdown text=`body` slot="nav"*
We first **body = [Compute body](fs.read_text(path="components/nav/content.md"))** for the next step.
After these steps, return *component.markdown(text=`body`, slot="nav")*.