About MeshTerm: the page says something now
The three sections were placeholders holding a shape. This writes the first one: what MeshTerm is (one screen for what the radio can tell you, the five menu sections as a list, and the standing promise that nothing transmits unasked), where it came from (June 2026, a few serial scripts, grown by the recording; the mesh's scarce airtime is why it listens more than it speaks; later the PicoCalc), and the licence — MIT, as the package metadata declares, with the credit MeshCore and OpenStreetMap are owed, the ODbL by name. The layout is unchanged: title, standfirst, three sections, rule, colophon. It just runs longer than a screenful now, which is what the sticky headings and the section jumps were for. Link targets also drop a leading www., so the OSM copyright URL reads as the host it is rather than a subdomain nobody types. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
0314ed7702
commit
9f5d337cae
3 files changed
+24
-4
No files matched your search
@@ -447,13 +447,19 @@ def _append_link(
|
||||
|
||||
|
||||
def _display_url(href: str) -> str:
|
||||
"""A link target as a page shows it: no scheme, no trailing slash, no in-page anchor."""
|
||||
"""A link target as a page shows it: no scheme, no ``www.``, no trailing slash.
|
||||
|
||||
An in-page anchor shows nothing at all — it names a place in the page the reader is
|
||||
already on.
|
||||
"""
|
||||
if not href or href.startswith("#"):
|
||||
return ""
|
||||
for noise in _URL_NOISE:
|
||||
if href.lower().startswith(noise):
|
||||
href = href[len(noise):]
|
||||
break
|
||||
if href.lower().startswith("www."):
|
||||
href = href[4:]
|
||||
return href.rstrip("/")
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user