Octri

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=urlstringrequired

Such 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.jsonpath

Replaces your custom links with a JSON array of { "label", "url", "icon" }.

Examples

bash
octri docs socials
Output
✔ Loading socials

Docs social links
  Nothing set yet.
  octri docs socials set key=value …
bash
octri docs socials set github=https://github.com/acme x=