4 files changed,
+13
−13
internal/docs/app.go
+2 −1
internal/docs/auth.go
+4 −5
internal/docs/colophon.go
+3 −3
internal/docs/colophon_test.go
+4 −4
CI cancelled — superseded by a newer push
— run details
| index 2a5c8d4..0812c70 100644 |
| --- a/internal/docs/app.go |
| +++ b/internal/docs/app.go |
| @@ -701,7 +701,8 @@ func New(cfg Config) (*App, error) { |
| // data, and {"team_mode":false} on an instance not in team mode. |
| r.Method(http.MethodGet, teamProbePath, teamProbe(store.team)) |
| // Help → Fonts and Help → Colophon (colophon.go): public, like every |
| - // Oficina app's open-source page; the door links the Colophon. |
| + // Oficina app's open-source page. The door does not link it (Paul, |
| + // 2026-11-19). |
| r.Get(fontsPath, h.helpFonts) |
| r.Get(colophonPath, h.colophon) |
| r.Get(colophonPath+"/{id}", h.colophonLicence) |
| index 11989b6..259a28a 100644 |
| --- a/internal/docs/auth.go |
| +++ b/internal/docs/auth.go |
| @@ -513,11 +513,10 @@ func (h *handlers) signin(w http.ResponseWriter, r *http.Request) { |
| data.Sent, page = &sent, sent.Page() |
| } else { |
| form := &chrome.SignIn{ |
| - Icon: icon, |
| - App: "Docs", |
| - Sky: sky.For(r.Host), |
| - Action: "/signin", |
| - OpenSource: &chrome.Link{Href: colophonPath, Label: rastrillo.T(r, "docs.help.colophon")}, |
| + Icon: icon, |
| + App: "Docs", |
| + Sky: sky.For(r.Host), |
| + Action: "/signin", |
| } |
| page = form.Page() |
| if q.Get("force") != "" { |
| index 92081ee..1156807 100644 |
| --- a/internal/docs/colophon.go |
| +++ b/internal/docs/colophon.go |
| @@ -10,9 +10,9 @@ package docs |
| // TestColophonsMatchWhatShips fails when it is stale. Build turns it into |
| // the page at start-up and refuses anything the catalog does not cover. |
| // |
| -// Both pages are public, like every Oficina app's open-source page: the |
| -// door links the Colophon, and a signed-in person gets it from Help with |
| -// their own chrome. They need no script and download no font. |
| +// Both pages are public, like every Oficina app's open-source page. A |
| +// signed-in person gets them from Help with their own chrome; the door does |
| +// not link them (Paul, 2026-11-19). They need no script and download no font. |
| |
| import ( |
| _ "embed" |
| index b85bad0..147aa7c 100644 |
| --- a/internal/docs/colophon_test.go |
| +++ b/internal/docs/colophon_test.go |
| @@ -31,11 +31,11 @@ func TestHelpOffersFontsAndTheColophon(t *testing.T) { |
| if fontsAt < 0 || colophonAt < fontsAt || !strings.Contains(group, "docs.help.fonts") || !strings.Contains(group, "docs.help.colophon") { |
| t.Fatalf("Help does not offer Fonts, then Colophon:\n%s", group) |
| } |
| - // Signed out, the door links the Colophon, as every Oficina app's |
| - // door links its open-source page. |
| + // The sign-in door does not link it (Paul, 2026-11-19: a Colophon |
| + // link on the door "makes no sense at all"); it lives under Help. |
| door := getAccept(t, app, nil, "/signin").Body.String() |
| - if !strings.Contains(door, `href="/help/colophon"`) { |
| - t.Error("the sign-in door does not link the Colophon") |
| + if strings.Contains(door, `href="/help/colophon"`) { |
| + t.Error("the sign-in door links the Colophon") |
| } |
| } |
| |