Add a row of static links at the top of your documentation. Links open in a new tab and are useful for pointing users to related resources, repositories, or external docs.
Place a links.json at your project root (the same folder where you execute npx doccupine). When present, Doccupine displays the links in a bar above the main content. You can add as many links as you need.
[
{
"title": "Back to Home",
"url": "https://doccupine.com",
"icon": "arrow-left"
},
{
"title": "GitHub",
"url": "https://github.com/doccupine",
"icon": "github"
},
{
"title": "Discord",
"url": "https://discord.gg/E9BufYGPhG",
"icon": "message-circle"
}
]target="_blank" and rel="noopener noreferrer".links.json is empty or not present, the links bar is hidden.