Skip to content

Commit d83f8a0

Browse files
authored
Merge pull request #246 from ideal-postcodes/ph
2 parents 90c2e0c + 2deba18 commit d83f8a0

File tree

1 file changed

+18
-28
lines changed

1 file changed

+18
-28
lines changed

dist/index.html

Lines changed: 18 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<!doctype html>
22
<html>
3+
34
<head>
45
<meta charset="utf-8">
56
<meta name="viewport" content="width=device-width, initial-scale=1">
@@ -8,6 +9,14 @@
89
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
910
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
1011
<script type="module" src="https://unpkg.com/rapidoc/dist/rapidoc-min.js"></script>
12+
<script>
13+
!function (t, e) {var o, n, p, r; e.__SV || (window.posthog = e, e._i = [], e.init = function (i, s, a) {function g(t, e) {var o = e.split("."); 2 == o.length && (t = t[o[0]], e = o[1]), t[e] = function () {t.push([e].concat(Array.prototype.slice.call(arguments, 0)))}} (p = t.createElement("script")).type = "text/javascript", p.crossOrigin = "anonymous", p.async = !0, p.src = s.api_host.replace(".i.posthog.com", "-assets.i.posthog.com") + "/static/array.js", (r = t.getElementsByTagName("script")[0]).parentNode.insertBefore(p, r); var u = e; for (void 0 !== a ? u = e[a] = [] : a = "posthog", u.people = u.people || [], u.toString = function (t) {var e = "posthog"; return "posthog" !== a && (e += "." + a), t || (e += " (stub)"), e}, u.people.toString = function () {return u.toString(1) + ".people (stub)"}, o = "init Te Ds js Re Os As capture Ke calculateEventProperties zs register register_once register_for_session unregister unregister_for_session Hs getFeatureFlag getFeatureFlagPayload isFeatureEnabled reloadFeatureFlags updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures on onFeatureFlags onSurveysLoaded onSessionId getSurveys getActiveMatchingSurveys renderSurvey displaySurvey canRenderSurvey canRenderSurveyAsync identify setPersonProperties group resetGroups setPersonPropertiesForFlags resetPersonPropertiesForFlags setGroupPropertiesForFlags resetGroupPropertiesForFlags reset get_distinct_id getGroups get_session_id get_session_replay_url alias set_config startSessionRecording stopSessionRecording sessionRecordingStarted captureException loadToolbar get_property getSessionProperty qs Ns createPersonProfile Bs Cs Ws opt_in_capturing opt_out_capturing has_opted_in_capturing has_opted_out_capturing get_explicit_consent_status is_capturing clear_opt_in_out_capturing Ls debug L Us getPageViewId captureTraceFeedback captureTraceMetric".split(" "), n = 0; n < o.length; n++)g(u, o[n]); e._i.push([i, s, a])}, e.__SV = 1)}(document, window.posthog || []);
14+
posthog.init('phc_PYucgzvAdG7lHcHswyDx0fVqvmS2lrhLt6wCK1kGmvu', {
15+
api_host: 'https://ph.ideal-postcodes.co.uk',
16+
defaults: '2025-05-24',
17+
person_profiles: 'identified_only', // or 'always' to create profiles for anonymous users as well
18+
})
19+
</script>
1120
<style>
1221
:root {
1322
--ideal-primary-blue: #375BDC;
@@ -213,6 +222,7 @@
213222
}
214223
</style>
215224
</head>
225+
216226
<body>
217227
<header class="brand-header">
218228
<div class="header-container">
@@ -232,34 +242,13 @@ <h1>API Documentation</h1>
232242
</header>
233243

234244
<div class="api-container">
235-
<rapi-doc
236-
spec-url="https://openapi.ideal-postcodes.co.uk/openapi.yaml"
237-
theme="light"
238-
bg-color="#FFFFFF"
239-
text-color="#1A202C"
240-
primary-color="#375BDC"
241-
regular-font="Inter"
242-
show-header="false"
243-
show-info="true"
244-
allow-authentication="false"
245-
allow-server-selection="false"
246-
allow-api-list-style-selection="false"
247-
nav-item-spacing="relaxed"
248-
response-area-height="500px"
249-
render-style="focused"
250-
schema-style="table"
251-
schema-expand-level="2"
252-
default-schema-tab="schema"
253-
persist-auth="true"
254-
fill-request-fields-with-example="true"
255-
sort-tags="false"
256-
match-type="includes"
257-
nav-bg-color="#F7FAFC"
258-
nav-text-color="#2D3748"
259-
nav-hover-bg-color="rgba(55, 91, 220, 0.1)"
260-
nav-hover-text-color="#375BDC"
261-
nav-accent-color="#375BDC"
262-
> </rapi-doc>
245+
<rapi-doc spec-url="https://openapi.ideal-postcodes.co.uk/openapi.yaml" theme="light" bg-color="#FFFFFF"
246+
text-color="#1A202C" primary-color="#375BDC" regular-font="Inter" show-header="false" show-info="true"
247+
allow-authentication="true" allow-server-selection="false" allow-api-list-style-selection="false"
248+
nav-item-spacing="relaxed" response-area-height="500px" render-style="focused" schema-style="table"
249+
schema-expand-level="2" default-schema-tab="schema" persist-auth="true" fill-request-fields-with-example="true"
250+
sort-tags="false" match-type="includes" nav-bg-color="#F7FAFC" nav-text-color="#2D3748"
251+
nav-hover-bg-color="rgba(55, 91, 220, 0.1)" nav-hover-text-color="#375BDC" nav-accent-color="#375BDC"> </rapi-doc>
263252
</div>
264253

265254
<footer class="brand-footer">
@@ -291,4 +280,5 @@ <h3>Support</h3>
291280
</div>
292281
</footer>
293282
</body>
283+
294284
</html>

0 commit comments

Comments
 (0)