From 29d8158dd8b3d10d3dec3ed2e776999d45cfb157 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Wed, 8 Mar 2023 16:46:43 +0100 Subject: [PATCH] add more :cite --- mature/src/http-gateways/dnslink-gateway.md | 10 +++++----- mature/src/http-gateways/subdomain-gateway.md | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/mature/src/http-gateways/dnslink-gateway.md b/mature/src/http-gateways/dnslink-gateway.md index ed11da1df..6fd4759c8 100644 --- a/mature/src/http-gateways/dnslink-gateway.md +++ b/mature/src/http-gateways/dnslink-gateway.md @@ -10,11 +10,10 @@ editors: **Abstract** -DNSLink Gateway is an extension of -[PATH_GATEWAY.md](./PATH_GATEWAY.md) -that enables hosting a specific content path under a specific DNS name. +DNSLink Gateway is an extension of :cite[path-gateway] that enables hosting a +specific content path under a specific DNS name. -This document describes the delta between [PATH_GATEWAY.md](./PATH_GATEWAY.md) and this gateway type. +This document describes the delta between :cite[path-gateway] and this gateway type. In short: @@ -88,4 +87,5 @@ Same as [HTTP Response section in `PATH_GATEWAY.md`](./PATH_GATEWAY.md#http-resp ## Redirects, single-page applications, and custom 404s -DNSLink Gateway implementations are free to include `_redirects` file support defined in [`REDIRECTS_FILE.md`](./REDIRECTS_FILE.md). +DNSLink Gateway implementations are free to include `_redirects` file support +defined in :cite[redirects-file]. diff --git a/mature/src/http-gateways/subdomain-gateway.md b/mature/src/http-gateways/subdomain-gateway.md index a2b52877c..918c55fe8 100644 --- a/mature/src/http-gateways/subdomain-gateway.md +++ b/mature/src/http-gateways/subdomain-gateway.md @@ -10,7 +10,7 @@ editors: **Abstract** -Subdomain Gateway is an extension of [PATH_GATEWAY.md](./PATH_GATEWAY.md) that +Subdomain Gateway is an extension of :cite[path-gateway] that enables website hosting isolated per CID/name, while remaining compatible with web browsers relative pathing and security model of the web. Below should be read as a delta on top of that spec. @@ -27,8 +27,7 @@ Summary: # HTTP API -The API is a superset of [PATH_GATEWAY.md](./PATH_GATEWAY.md), the differences -are documented below. +The API is a superset of :cite[path-gateway], the differences are documented below. The main one is that Subdomain Gateway expects CID to be present in the `Host` header. @@ -244,4 +243,5 @@ From there, regular subdomain gateway logic applies. ## Redirects, single-page applications, and custom 404s -Subdomain Gateway implementations are free to include `_redirects` file support defined in [`REDIRECTS_FILE.md`](./REDIRECTS_FILE.md). +Subdomain Gateway implementations are free to include `_redirects` file +support defined in :cite[redirects-file]. \ No newline at end of file