Skip to content
This repository was archived by the owner on Mar 31, 2021. It is now read-only.

linagora/hublin-doc

Repository files navigation

Archived

Hublin Documentation website

Build Status

This is the documentation repository for https://linagora.github.io/hublin-doc.

Develop

$ git clone https://github.com/linagora/hublin-doc.git
$ cd hublin-doc

The Web site is built using jekyll. You can install jekyll, all its dependencies, cry, or simply run in Docker:

docker run --rm --label=jekyll --volume=$(pwd):/site -it -p 4000:4000 -p 35729:35729 linagora/jekyll-serve

Open the browser on http://localhost:4000. Once some changes on the sources are detected, Jekyll will rebuild the site and reload the Web page.

Tips and Tricks

Adding a ToC to a page

Thanks to kramdown, which is the default markdown converter in latest Jekyll version, one can add a ToC to any page just with the following block

* Here is the ToC, this line is needed to generate...
{:toc}

Note that the first line is required, it will not be displayed in the page, but ToC will not be generated if not set. For all the ToC options, have a look here.

Category order

To order categories in sidebar, prefix the category name with a number, for example in a post metadata:

---
title: Installation
category: 1. Quick start
order: 1
---

The category Quick start then has order 1.

Commits

Please send your changes as pull-requests following the Hublin coding rules.

You have nothing to do... Once your code has been merged into master, the repository is built on Gitlab then deployed to gh-pages branch on GitHub repository. The Github Pages then serves the static content from gh-pages branch.

About

[ARCHIVED] Documentation website for Hubl.in

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •