Giter Site home page Giter Site logo

xiaogan18 / wechaty.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wechaty/docusaurus

0.0 1.0 0.0 86.71 MB

Wechaty Official Home Page

Home Page: https://wechaty.github.io

License: Other

Shell 0.22% JavaScript 0.06% Makefile 0.10% TypeScript 0.82% Ruby 0.10% Java 86.48% CSS 0.31% HTML 11.92%

wechaty.github.io's Introduction

wechaty.github.io

Powered by Wechaty NPM

Wechaty Official Homepage

HOW TO POST BLOG

  1. Fork it
  2. Syncing your fork
  3. Create your blog branch (git checkout -b your-blog)
  4. Write your blog in markdown
  5. Add your blog to _post folder
  6. Add related image to assets folder
  7. Add your info into _data/authors.yml
  8. Commit your changes (git commit -am 'added a blog')
  9. Push to the branch
  10. Create new Pull Request

Done!~

CONTRIBUTE GUIDELINE

1. Add Blog Header

All blog should has title, author, date, teaser...

Example as follows:

---

 title: "'Score Your Face Photo' a ML&Wechaty practice"
 date: 2017-09-18 09:00 +0800
 author: your_github_username
 header:
   teaser: your_teaser_image_path
---

<!-- markdownlint-disable -->

> Author: [@your_github_username](https://github.com/your_github_username) your one-line bio at here

> Code: [@yourcode](your_code_path)

2. Writing Style

  • Keep all filenames & url as lowercase, and use - to connect words instead of space. e.g. 2017-10-06-wechat-pc-impactor instead of 2017-10-06-WeChat PC Impactor
  • Find a good image for the blog to make it more beautiful.
  • Embed the photo & video before publishing, save all external file to the blog /assets/${current_year} directory.

see more: Do not include Date in URL

3. Add <!--more--> Section

Add <!--more--> section for your abstract part, it will show on the blog homepage, or the blog homepage will show all your blog content.

4. Just Commit Related Files

Please do not commit unrelated files.

5. Add Videos

Example

<iframe width="560" height="315" src="https://www.youtube.com/embed/3eq8wJfCAWs" frameborder="0" allowfullscreen></iframe>

Usage

Jekyll

Install all the Jekyll requirements and run it at localhost for blog preview.

1 Use Docker Compose

This is the recommended way for new users to easy getting started

make docker

2 Install Jekyll by Hand

You should not use this way except you are a Ruby expert.

make install
make serve

Test

In order to make sure everything(file name, file size, etc) is ok, you can run the following command to check them before git push.

npm install
npm test

OTHERS

JEKYLL THEME

minima: https://github.com/jekyll/minima

Author

Huan LI (李卓桓), Tencent TVP of Chatbot, <[email protected]>

Profile of Huan LI (李卓桓) on StackOverflow

Copyright & License

  • Code & Docs © 2019-now Huan LI <[email protected]>
  • Code released under the Apache-2.0 License
  • Docs released under Creative Commons

wechaty.github.io's People

Contributors

basicthinker avatar cr4fun avatar dcsan avatar diaozxin007 avatar guoyingxu avatar hailiang-wang avatar hczhcz avatar huan avatar huyingxi avatar imwildcat avatar itdakashuo avatar iyjian avatar jesseweb avatar judaschrist avatar kaffa avatar kis87988 avatar leinue avatar lijiarui avatar limingth avatar moderncrazy avatar qhduan avatar shawnmuggle avatar shuangjie avatar su-chang avatar suntong avatar tianyugeng avatar tingyinhelen avatar wnbupt avatar xinbenlv avatar zhoumh1988 avatar

Watchers

 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.