Giter VIP home page Giter VIP logo

cmourouvin.github.io's Introduction

Alien4Cloud

This repository contains the documentation for Application LIfecycle ENabler for Cloud AKA ALIEN. The documentation is based on Jekyll, a Ruby-based static site generator that uses Markdown as markup language.

Working with the documentation

This section guides you on how to run and browse the documentation website locally.

  • The first step is to install Jekyll on your machine. Instructions can be found here for linux and MacOS users and here for windows users.

  • Second step is to install the Kramdown markdown converter that jekyll will leverage to generate the site.

  • Third step is to install the Nokogiri HTML, XML, SAX, and Reader parser

  • Next clone ALIEN's documentation sources branch (if not done already) and go to the sources branch.

  • You can now run the site using jekyll serve command to start the site. If you want to update the doc you can run jekyll serve -w that will automatically refresh the site when you update the markup.

Feel free to improve the documentation! If you modified the sources, please, don't forget to push the contents of _site folder into the master branch.

Adding a section

Follow the following steps to add a documentation section. The example will be based on the ALIEN user guide section.

Category name

  • First of all, pick a name for a category, and create at the project root a folder in which you'll put your mardown files. In this case, our category will be GETTING_STARTED, and the related folder will be named getting_started.
  • Go to the project root folder and edit the _config.yml file to add your category
categories-list: ["OTHERS_CAT...", **"GETTING_STARTED"**, ... ]

Nav Bar menu

  • Go to the _includes folder, edit the navbar.html file to your menu, and if needed your sub-menu
<li>
  <a href="#" class="dropdown-toggle" data-toggle="dropdown">ALIEN user guide <b class="caret"></b></a>
  <ul class="dropdown-menu">
    <li><a href="{{root}}getting_started/">Getting Started (tutorials)</a></li>
  </ul>
</li>
  • In the _plugin folder, edit the file docutils.rb to add a title to display in the cumbar for your section
elsif sectionPath == "getting_started"
        "Getting Started"

Files

Now you can create your files in the previously created folder. We recommend to create an index.markdown file which will serve as the index page for the menu. Check the getting_started folder and files to see how to write your own. Note the followings parameters:

  • weight: specify the position of the page in the side menu. The smallest value means the page will appear before the others in the menu.
  • parent: will define which file is the parent. This will help in the generation of the side menu

cmourouvin.github.io's People

Contributors

cmourouvin avatar hadrouj avatar lucboutier avatar orestevisari avatar vuminhkh avatar xdegenne avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.