Skip to content

thomassa/xapi-project.github.io

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xapi-project Docs

Documentation for the architecture of the Xapi toolstack.

Viewing the documentation

This documentation is written in markdown and built with Jekyll. If you wish to browse the documentation, you can do so via the Github interface. Or, if you prefer, you can view the rendered output which is hosted using Github Pages.

Contributing documentation

This repository is treated differently by Github. Due to its name, the master branch of this repository is compiled with Jekyll and hosted at [http://xapi-project.github.io/].

Documentation is written in markdown and can be placed in a semantically meaningful place in the directory hierarchy.

A page must have the YAML front-matter for it to be compiled by Jekyll. The following boilerplate at the top of the file should suffice:

---
layout: default
title: [title of page]
---

Then, if you want the page to be accessible in the navigation menu, you need to make the following addition to _data/navbar.yml:

  - title: Section Name
    docs:
    - foo.md
+   - path/to/your-new-doc.md

Previewing documentation before pushing

If you wish to preview the site that will be generated before pushing, you can do so from your own machine.

Install Jekyll:

$ gem install jekyll

Then you can host the site locally with the following command from the root directory of this repository:

$ jekyll serve -w --baseurl '/xapi-project'

You will then be able to view the page at localhost:4000/xapi-project.

A note on images

If you are contributing images, consider compressing them to keep this repo as slim as possible:

convert -resize 900 -background white -colors 256 [input.png] [output.png]

Adding links to other parts of the site

Relative links should work, but should you wish to refer to a page outside of the current section, you should prepend {{site.baseurl}} so that it will work in whichever repo we choose to host it and also when viewed locally.

About

Home of the Xapi-project docs site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 65.9%
  • CSS 22.7%
  • Ruby 9.6%
  • Shell 1.8%