NIP-Documentation Spaces
Kind: 39561
Tags
- d, document-id
- ds, document space
- title, as will be rendered by client
- format, to be used by the client
- default_format, to be used by client
- homepage, document-id of the recommended home page
[ 'd', 'd1125921-41b7-42c5-9622-cc3784321d51' ],
[ 'ds', 'test001' ],
[ 'title', 'Darwin and The Machines' ],
[ 'format', 'markdown' ],
[ 'default_format', 'markdown' ],
[ 'visibility', 'public' ],
[ 'homepage', '81ddc55c-7520-4449-b3fa-fa12a94129ef' ]
Kind: 39761
The Directory Event * ds: document space ID * dp: Default Page
let naddr = nip19.naddrEncode({
identifier: `${options.documentationspace}:${
document_metadata.title_to_uuid[options.defaultpage]
}`,
pubkey: await signer.getPublicKey(),
relays: options.relaylist.split(","),
kind: 39561,
});