Fix links for docs (#2908)

* fix docs paths

* docsLink directive

* fix: bugs (#2909)

---------

Co-authored-by: Alex Inkin <alexander@inkin.ru>
This commit is contained in:
Matt Hill
2025-04-24 14:14:08 -06:00
committed by GitHub
parent 2cf4864078
commit 05dd760388
29 changed files with 193 additions and 167 deletions

View File

@@ -601,10 +601,6 @@ export class StartSdk<Manifest extends T.SDKManifest, Store> {
setupPostInstall: (fn: InstallFn<Manifest, Store>) => PostInstall.of(fn),
/**
* @description Use this function to determine how this service will be hosted and served. The function executes on service install, service update, and inputSpec save.
*
* "input" will be of type `Input` for inputSpec save. It will be `null` for install and update.
*
* To learn about creating multi-hosts and interfaces, check out the {@link https://docs.start9.com/packaging-guide/learn/interfaces documentation}.
* @param inputSpec - The inputSpec spec of this service as exported from /inputSpec/spec.
* @param fn - an async function that returns an array of interface receipts. The function always has access to `effects`; it has access to `input` only after inputSpec save, otherwise `input` will be null.
* @example
@@ -612,8 +608,7 @@ export class StartSdk<Manifest extends T.SDKManifest, Store> {
*
* ```
export const setInterfaces = sdk.setupInterfaces(
inputSpecSpec,
async ({ effects, input }) => {
async ({ effects }) => {
// ** UI multi-host **
const uiMulti = sdk.MultiHost.of(effects, 'ui-multi')
const uiMultiOrigin = await uiMulti.bindPort(80, {