Giter Club home page Giter Club logo

thelia.github.io's Introduction

How to contribute

Installation & compilation

Our documentation is made using Jekyll (http://jekyllrb.com/)

In order to contribute please install the following :

Run Jekyll server (on port 4000) Inside your directory (ex: ~/dev/thelia.github.io/)

$ npm install
$ bower install
$ grunt
$ jekyll serve --watch

To see the result : http://localhost:4000

In order to let the documentation be aware of your new page please fill in the file

_config.yml

And reload Jekyll server

In addition, this documentation layout use Bootstrap and this LESS files for CSS.

Docker

You can run github-pages in a container, just run docker.sh script. With that you don't have to install github-pages on your machine.

Translations

A single directory represents one language. By convention, the name of the directory must correspond to ISO 639-1 code.

For each language, you must define : name (English), code (en), url (/en) and sidebar. To define this elements, you must edit the _config.yml file to add your language configuration like this :

languages:
  - {
      name: "English", code: "en", url: "/", sidebar:
      ...
    }
  - {
      name: "Your language", code: "ISO 639-1 code", url: "/url-to-language", sidebar:
      ...
    }

The best way is to duplicate English configuration which is the most advanced. So you can duplicate english directory (en) and rename it with the correct language code.

After updated the _config.yml file, you have to restart your Jekyll server.

Generate API docs

first install Sami and its dependencies :

composer install

You need to have a clone of the Thelia locally. for instance : ~/thelia

git clone ~/thelia
env THELIA_PATH='~/thelia' php vendor/sami/sami/sami.php update api.php

Take a coffee break...

Credits

Bootstrap is under MIT licence.

thelia.github.io's People

Contributors

lunika avatar roadster31 avatar gillesbourgeat avatar mespeche avatar etienneroudeix avatar bibich avatar lovenunu avatar informatiqueprog avatar gmichard avatar gmorel avatar bcbrr avatar driou avatar acobster avatar vigourouxjulien avatar kadmelia avatar asenar avatar benoitmariaux avatar bilhackmac avatar simplon-benjaminb avatar anthonymeedle avatar cgarnier avatar enurit avatar nicolasleon avatar lopes-vincent avatar zzuutt avatar

Watchers

James Cloos avatar Damien Foulhoux 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.