Skip to content

This repository contains a reusable template for linkorb.com documentation

License

Notifications You must be signed in to change notification settings

linkorb/linkorb-couscous-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

id
home

linkorb.com couscous template

Introduction

Documentation for linkorb.com is written in markdown, version controlled on github, and published to static HTML through couscous.

This repository contains a reusable template for linkorb.com documentation

Usage in external documents

To use the template, set it up in your couscous.yml configuration file:

template:
    url: https://github.com/linkorb/linkorb-couscous-template

Configuration

Here are all the variables you can set in your couscous.yml:

# Base URL of the published website
baseUrl: http://username.github.io/project

# Used to link to the GitHub project
github:
    user: myself
    repo: my-project

title: My project
subTitle: This is a great project.

# The left menu bar
menu:
    items:
        home:
            text: Home page
            # You can use relative urls
            relativeUrl: doc/faq.html
        foo:
            text: Another link
            # Or absolute urls
            absoluteUrl: https://example.com

Note that the menu items can also contain HTML:

home:
    text: "<i class=\"fa fa-github\"></i> Home page"
    relativeUrl: doc/faq.html

Menu

To set the current menu item (i.e. highlighted menu item), set the currentMenu key in the Markdown files:

---
currentMenu: home
---

# Welcome

Preview

This template can be previewed inline. Simply install couscous, and run:

couscous preview

Now point your browser to http://localhost:8000

About

This repository contains a reusable template for linkorb.com documentation

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published