From 07080c79d3b65d7037d46021d5e5fbe98aebf432 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Sat, 15 Aug 2026 12:45:18 +0100 Subject: [PATCH] Link bus stop finder source code --- src/uk_bus_stops/templates/about.html | 6 ++++++ tests/test_uk_bus_stops.py | 1 + 2 files changed, 7 insertions(+) diff --git a/src/uk_bus_stops/templates/about.html b/src/uk_bus_stops/templates/about.html index 3582235..095b952 100644 --- a/src/uk_bus_stops/templates/about.html +++ b/src/uk_bus_stops/templates/about.html @@ -107,6 +107,12 @@ own policies and operational logs.

+

Source code

+

+ The source code for this tool is available at + git.4angle.com/edward/openstreetmap-tools. +

+

JSON endpoints

The interface uses these endpoints. Errors have the form {"error": "code", "message": "text"}.

diff --git a/tests/test_uk_bus_stops.py b/tests/test_uk_bus_stops.py index db765c2..3a09ffe 100644 --- a/tests/test_uk_bus_stops.py +++ b/tests/test_uk_bus_stops.py @@ -267,4 +267,5 @@ def test_about_documents_urls_and_services(client: Any) -> None: assert b"?node=485403178" in response.data assert b"?lat=51.4545&lon=-2.5879" in response.data assert b"overpass.atownsend.org.uk" in response.data + assert b"https://git.4angle.com/edward/openstreetmap-tools" in response.data assert b"JSON endpoints" in response.data