Git Product home page Git Product logo

servicecomb.github.io's Introduction

ServiceComb.github.io

The Web Site of ServiceComb is based on Minimal Mistakes Jekyll Theme.

How to run the site locally

  • Install Ruby and Gem

  • Install Jekyll and Bundler

    gem install jekyll bundler

  • Clone the site files

    git clone [email protected]:ServiceComb/ServiceComb.github.io.git

  • cd ServiceComb.github.io.git

  • Install the gems with bundle

    bundle install

  • Start the jekyll server

    bundle exec jekyll server

  • Start web browser to access http://localhost:4000

Multiple language support

The website supports English now and English is used as the default language.

Things to be cautious:

There are two language labels: en and cn.

  1. When you write a post, add the following front matters under the title(if you write an Chinese post):
    lang: cn
    ref: unique_post_ref_just_like_the_url
    And remember to add the prefix /cn to your permalink, e.g. before:
    permalink: /about/me/
    after:
    permalink: /cn/about/me/
    Besides, if contents of your post contains links to the Chinese version of pages, remember to add the prefix /cn before the link. e.g. /about/community/ becomes /cn/about/community/ Notes: English Posts do not need to add any prefixes as it's the default language.
  2. When you add items in _data/navigation.yml file, remember to add both English and Chinese version of that links.
  3. If you want to provide both English and Chinese versions of your bio in your blogs, add biocn property in _data/authors.yml.
  4. Posts of Chinese Language please put under the cn folder. It is just a good convention and won't affect what your posts suppose to be whether or not you obey this rule.

Add caption to image

Add the annotation {: .figure-caption} below the Image Caption line as follows:

![image alt text](image_path)
Image Caption
{: .figure-caption}

servicecomb.github.io's People

Contributors

eric-lee-ltk avatar willemjiang avatar seanyinx avatar zenlint avatar tanktian avatar asifdxtreme avatar lyonjack avatar zhenghaibo1008 avatar zhuhoudong avatar lihaol avatar joeyee2015 avatar eshaoliu avatar liubao68 avatar mabingo avatar qizha avatar wangkirin avatar xiearthur avatar liubin avatar dalianmao2008 avatar little-cui avatar sixgodhuang avatar eacdy avatar

Watchers

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