Skip to content

Commit 81f971b

Browse files
brad-dowmkurapov
andauthored
docs: implement multi-tenancy updates & add versioning (#3639)
* WIP: multi-tenancy docs updates in progress * docs: draft multi-tenancy updates - Added integration>requirements>tenants - Updated existing pages * docs: prettier our good, forgotten friend * Update backend-service.mdx * docs: feedback implemented Priority items: Operator must generate UUID v4 OPERATOR_TENANT_ID and API_SECRET, tenant's credentials need to be communicated to the tenant out of band, and request signing update * docs: feedback from Max Minor edits * docs: more feedback Minor fixes * docs: quick fix and run pnpm format * docs: add starlight-versions (#3665) * docs: add starlight-versions * docs: add VersionSelect in header * docs: remove unused helm/k8s text * docs: add es to spanish landing page link * chore(docs): use starlight-versions from github to test * feat(docs): add new version * feat(docs): add generated version * Revert "feat(docs): add generated version" This reverts commit fa97df9. * feat(docs): use updated starlight-version version * feat(docs): add generated docs with new version * docs: generate v1-beta spectaql docs from v1.2.0 release * docs: generate updated spectaql files * chore(docs): update table formatting * feat(docs): replace Search with VersionSearch * chore(docs): update table formatting * chore(docs): formatting * chore(docs): fix full docker compose example file * chore(docs): fix dollar sign literal * chore(docs): fix integration checklist * chore(docs): replace v1-beta partials with inline, non-MT env variables * chore(docs): format * chore(docs): add es v1-beta Admin APIs * chore(docs): simplify link validator exclude glob pattern * chore(docs): fix $ formatting in es v1-beta doc * chore(docs): remove partial for services environment variables * chore(docs): remove MT related env flags from service overviews * chore(docs): formatting * docs: tidy delete-peer image * docs: remove SIGNATURE_SECRET from frontend variables * docs: update environment variables with recent changes * docs: update SERVICE_API_PORT auth variable * docs: regenerate grapqhl API docs --------- Co-authored-by: Max Kurapov <[email protected]>
1 parent f8709db commit 81f971b

File tree

113 files changed

+51952
-703
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+51952
-703
lines changed

packages/documentation/astro.config.mjs

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import starlightLinksValidator from 'starlight-links-validator'
77
import starlightFullViewMode from 'starlight-fullview-mode'
88
import { rehypeHeadingIds } from '@astrojs/markdown-remark'
99
import rehypeAutolinkHeadings from 'rehype-autolink-headings'
10+
import starlightVersions from 'starlight-versions'
1011

1112
// https://astro.build/config
1213
export default defineConfig({
@@ -112,6 +113,10 @@ export default defineConfig({
112113
},
113114
link: '/overview/concepts/account-servicing-entity'
114115
},
116+
{
117+
label: 'Multi-tenancy',
118+
link: '/overview/concepts/multi-tenancy'
119+
},
115120
{
116121
label: 'Accounting',
117122
translations: {
@@ -184,6 +189,10 @@ export default defineConfig({
184189
label: 'Overview and checklist',
185190
link: '/integration/requirements/overview'
186191
},
192+
{
193+
label: 'Tenants',
194+
link: '/integration/requirements/tenants'
195+
},
187196
{
188197
label: 'Assets',
189198
link: '/integration/requirements/assets'
@@ -358,12 +367,18 @@ export default defineConfig({
358367
}
359368
],
360369
plugins: [
370+
starlightVersions({
371+
current: {
372+
label: 'v2-beta'
373+
},
374+
versions: [{ slug: 'v1-beta' }]
375+
}),
361376
starlightLinksValidator({
362377
exclude: [
363-
'/apis/graphql/auth',
364-
'/apis/graphql/backend',
365-
'/apis/graphql/auth/*',
366-
'/apis/graphql/backend/*'
378+
'**/apis/graphql/auth',
379+
'**/apis/graphql/backend',
380+
'**/apis/graphql/auth/*',
381+
'**/apis/graphql/backend/*'
367382
],
368383
errorOnLocalLinks: false,
369384
errorOnFallbackPages: false,

packages/documentation/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"scripts": {
66
"start": "astro dev",
77
"build:docs": "astro build",
8+
"build:docs:graphql": "spectaql config-auth.yml && spectaql config-backend.yml",
89
"preview": "astro preview",
910
"astro": "astro"
1011
},
@@ -19,6 +20,7 @@
1920
"remark-math": "^6.0.0",
2021
"spectaql": "^3.0.4",
2122
"starlight-fullview-mode": "^0.2.3",
22-
"starlight-links-validator": "^0.17.0"
23+
"starlight-links-validator": "^0.17.0",
24+
"starlight-versions": "^0.5.5"
2325
}
2426
}
-178 Bytes
Loading
861 Bytes
Loading
36 KB
Loading
123 KB
Loading
-3.88 KB
Loading
18.8 KB
Loading
65.3 KB
Loading
112 KB
Loading

0 commit comments

Comments
 (0)