Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docs/03-MeshCore/04-Regions-and-Scoping.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,20 @@ Three more things worth knowing:

**What other meshes learned.** Where some repeaters were tagged and others weren't, scoped messages got lost in the gaps, and several cities in Poland gave up on scoping for that reason. Some communities tag every repeater before anyone scopes, which is the plan here.

**Watch it play out.** Two short narrated videos by Optics, used with permission, walk through both problems with real traffic numbers from Grand Rapids, Mason County and Chicago.

*Why add regions now?* (1:35): what unscoped Chicago traffic does to Michigan's mesh as it grows.

<video className="doc-video" controls playsInline preload="metadata" title="Why add regions now?" poster="/video/meshcore-regions/why-add-regions-now-poster.jpg" src="/video/meshcore-regions/why-add-regions-now.mp4">
</video>

*Backbone regions* (1:26): why the tall backbone repeaters matter most once scoping starts.

<video className="doc-video" controls playsInline preload="metadata" title="Backbone regions" poster="/video/meshcore-regions/backbone-regions-poster.jpg" src="/video/meshcore-regions/backbone-regions.mp4">
</video>

[Transcripts for both videos](https://github.com/thatSFguy/MeshBuilds/tree/main/guides/meshcore-regions#transcript--backbone-regions)

## Why the Names Look Like This {#why-the-names}

**Each step down the tree is a smaller area.** Once tagging is done, every Michigan repeater carries `midwest` and `mi`, but only repeaters around Detroit, Ann Arbor and Port Huron carry `mi-east`, only Upper Peninsula repeaters carry `mi-upper`, and only repeaters around Kalamazoo carry `azo`. So the smaller the region, the fewer repeaters pass the message on and the shorter it spreads:
Expand Down
9 changes: 9 additions & 0 deletions scripts/build-micron.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,15 @@ function htmlBlock(node, ctx, indent) {
return '';
});

// Micron can't play video; link the file on the website instead.
html = html.replace(/<video\b[\s\S]*?<\/video>/gi, (tag) => {
const title = tag.match(/\btitle="([^"]*)"/)?.[1] ?? 'Video';
const src = tag.match(/\bsrc="([^"]*)"/)?.[1] ?? '';
const url = src.startsWith('/') ? `${config.url}${src}` : src;
out.push(lineAt(`\`*[Video: ${esc(title)}]\`* ${esc(url)}`, indent));
return '';
});

if (html.trim()) throw new Error(`${ctx.segment.doc.source}: HTML this script can't convert: ${html.slice(0, 80)}`);
return out;
}
Expand Down
10 changes: 10 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,13 @@
max-width: 360px;
width: 100%;
}

/* Embedded videos in docs: full column width, 16:9. */
.doc-video {
display: block;
width: 100%;
aspect-ratio: 16 / 9;
background: #000;
border-radius: 8px;
margin-bottom: var(--ifm-paragraph-margin-bottom);
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.