docs socials
Prints the social links shown at the bottom of each page. There's no draft: a change is live on your docs site as soon as the command returns, the same as saving in API Studio.
bash
octri docs socials [show | set platform=url …]octri docs socials set platform=url …
Sets one or more links. An empty value removes a link. Unlike appearance, an unknown platform is refused with an error.
Arguments
platform=urlstringrequiredSuch as github=https://github.com/acme. The platforms are github, gitlab, x, linkedin, youtube, instagram, facebook, tiktok, reddit, discord, slack, telegram, whatsapp, twitch, mastodon, medium, devto, stackoverflow, npm, producthunt and website.
custom=@links.jsonpathReplaces your custom links with a JSON array of { "label", "url", "icon" }.
Examples
Show social links
bash
octri docs socialsOutput
✔ Loading socials
Docs social links
Nothing set yet.
octri docs socials set key=value …Set one link and remove another
bash
octri docs socials set github=https://github.com/acme x=Related
octri docs theme: Read and change appearance: colours, logo, fonts, layout and code themes.octri docs buttons: Add and remove the buttons at the right of the top bar.