Giter Site home page Giter Site logo

fangmuke / wechaty.js.org Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wechaty/docusaurus

0.0 1.0 0.0 180.33 MB

Wechaty Official Website: News, Blogs, Developer Profiles, and Documentations.

Home Page: https://wechaty.js.org

License: Other

Shell 0.18% JavaScript 13.04% Makefile 0.13% TypeScript 1.25% Ruby 0.07% Java 41.04% CSS 31.68% HTML 12.60%

wechaty.js.org's Introduction

wechaty.js.org

GitHub Pages CI Powered by Wechaty

Wechaty Docusaurus

https://wechaty.js.org is the official wechaty homepage for publishing latest news, blog posts, and documentation from our open source community.

How to post a 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 (create a $MONTH-your-blog-slug/ directory to contain your images)
  7. Add your info into _developers/your_github_id.md
  8. Commit your changes (git commit -am 'added a blog')
  9. Push to the branch
  10. Create new Pull Request

Done!~

Contribution Guidelines

1. Add Blog Header

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

Example as follows:

---
title: "'Score Your Face Photo' a ML&Wechaty practice"
author: your_github_username
image: your_teaser_image_path
---

<One line abstract for your blog post>

<Your beautiful blog post contents...>

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

4. Just Commit Related Files

Please do not commit unrelated files.

5. Add Videos or pdf

Example

{% include iframe.html src="https://www.youtube.com/watch?v=3eq8wJfCAWs" %}

or

{% include iframe.html src="/assets/2020/qijibot/final.pdf" %}

see more: Add iframe to wechaty blog

6. Add links to anchor in paragraph

The titles in markdown files will be added an anchor automatically, you can use that to add your own anchor links. And here is some of the rules how the blog generate the anchor:

  • convert the title directly to anchor
  • spaces will be replaced by dash -
  • /, &, ? and . will be eliminated
  • Chinese character will be kept in the anchor

Example

Say you have a title as ### 我是? a title.bat. Then you will get the anchor generated as 我是-a-titlebat. And you can use the generated anchor to implement your own links. Like this:

[奇妙的Link](#我是-a-titlebat)

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

Welcome to contribute

Why contribute?

As an open source product, Wechaty thrives from contributions of community members. Whatever your skill set is, there is a lot you can do to help us make Wechaty better! So start forking!

At the same time, we also meet up offline all over the world, here is some activities:

How to contribute docs?

  • Fork this repo
  • Create your doc branch: git checkout -b doc
  • Write this doc in markdown
  • Commit your changes git commit -am 'doc comment'
  • Push to the branch
  • Create new Pull Request

More Contribution

See more in: Welcome to contribute

Contact [email protected] to learn more

Markdown Linting Rules

Markdown Linting Rules Documents

Resources

Writers

contributor contributor contributor contributor contributor contributor contributor contributor

To get to know all our writers, see https://github.com/wechaty/wechaty.js.org/graphs/contributors

Maintainers

  1. @lijiarui, Rui LI, Microsoft AI MVP, Founder & CEO of Juzi.BOT (YC W19 Alumni)
  2. @huan, Huan LI (李卓桓), Tencent TVP of Chatbot, <[email protected]>

And wechaty/contributors

Copyright & License

  • Code & Docs © 2016-now Wechaty Contributors https://github.com/wechaty
  • Code released under the Apache-2.0 License
  • Docs released under Creative Commons

wechaty.js.org's People

Contributors

bikaiqiao avatar cavoncheng avatar dchaofei avatar dcsan avatar gavinwang23 avatar gileswong avatar guoyingxu avatar huan avatar imwildcat avatar itdakashuo avatar kaffa avatar krapnikkk avatar kxz18 avatar lijiarui avatar mrzilinxiao avatar northseacoder avatar przzl avatar rickyyin98 avatar roxanne718 avatar sapio-s avatar smwsk avatar su-chang avatar suninsky avatar tianyugeng avatar tingyinhelen avatar univerone avatar wengcan avatar windmemory avatar wj-mcat avatar xinbenlv 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.