Rewrite the About page's opening for hikers, name the maintainer swaits, and stop typing counts by hand
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s

The About page now opens with what the site is for: finding long trails,
including ones the reader has not heard of. The maintainer is shown as swaits,
linked to swaits.com. SOURCES.md no longer carries hand-typed trail counts, and
tests derive the trail and route totals from the records.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-22 10:01:32 -07:00
1 parent ba3e7dfd33
commit d30c56a163
13 files changed
+42 -29

No files matched your search

+4 -2
View File
@@ -5,7 +5,7 @@ import unittest
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from olt import md # noqa: E402
from olt import md, records # noqa: E402
ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", ".."))
DOCS = ["README.md", "SOURCES.md", "NOTICE.md",
@@ -394,7 +394,9 @@ class RealDocumentsTest(unittest.TestCase):
counter = TableCounter()
counter.feed(md.render(read_doc("README.md")))
counter.close()
self.assertEqual(counter.counts, [146, 78])
recs = records.load_records()
routes = sum(r["derived"]["kind"] == "route" for r in recs)
self.assertEqual(counter.counts, [len(recs) - routes, routes])
def test_readme_num_class_present(self):
self.assertIn('class="num"', md.render(read_doc("README.md")))