GithubHelp home page GithubHelp logo

wechaty / jekyll Goto Github PK

View Code? Open in Web Editor NEW
37.0 9.0 56.0 575.27 MB

Wechaty Official Website for News, Blogs, Contributor Profiles, Powered by Jekyll.

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

License: Other

JavaScript 16.18% CSS 30.26% TypeScript 1.51% Makefile 0.14% HTML 12.14% Ruby 0.08% Java 39.46% Shell 0.24%
jekyll blog news contributors

jekyll's Issues

jekyll 对 mermaid 的支持

Demo

flowchart LR
    Polyglot-->Python
    Polyglot-->Go
    Polyglot -->Rust
    Python-->Grpc
    Go-->Grpc
    Rust-->Grpc
    Grpc-->Puppet
    Puppet-->Padlocal
    Puppet-->Wechat4U
    Puppet-->XP
    Padlocal-->微信
    Wechat4U-->微信
    XP-->微信
Loading

mermaid 常用于流程图的制作

大多数的 markdown 软件都支持 mermaid

jekyll 需要导入js才能支持 mermaid

希望能为jekyll启用这一强大的工具

Resolve the performance issue: 300 seconds for each build

Resources:

Log Messages

$ JEKYLL_ENV=production jekyll build --profile 
Configuration file: /home/huan/git/wechaty/jekyll/jekyll/_config.yml
            Source: /home/huan/git/wechaty/jekyll/jekyll
       Destination: /home/huan/git/wechaty/jekyll/jekyll/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
       Jekyll Feed: Generating feed for posts

Build Process Summary: 

| PHASE      |     TIME |
+------------+----------+
| RESET      |   0.0002 |
| READ       |   0.6136 |
| GENERATE   |   0.0232 |
| RENDER     | 259.4889 |
| CLEANUP    |   0.0659 |
| WRITE      |  17.0657 |
+------------+----------+
| TOTAL TIME | 277.2575 |
 

Site Render Stats: 

| Filename                                                               | Count |       Bytes |    Time |
+------------------------------------------------------------------------+-------+-------------+---------+
| _layouts/default.html                                                  |   705 | 1906055.07K | 252.649 |
| _includes/search-lunr.html                                             |   705 | 1887068.58K | 248.583 |
| _layouts/contributor.html                                              |   246 |    1384.33K |   1.766 |
| _layouts/post.html                                                     |   436 |    8558.94K |   0.941 |
| _includes/main-loop-card-post.html                                     |  3138 |    3143.27K |   0.484 |
| blog/index.html                                                        |    15 |     861.89K |   0.405 |
| _pages/tags.html                                                       |     1 |    1873.63K |   0.333 |
| _includes/meta-read-time.html                                          |   436 |      25.80K |   0.149 |
| _pages/categories.html                                                 |     1 |     526.62K |   0.080 |
| sitemap.xml                                                            |     1 |      93.18K |   0.067 |
| _includes/sidebar-featured.html                                        |    18 |     440.90K |   0.056 |
| _includes/menu-header.html                                             |   705 |     415.15K |   0.030 |
| _includes/item-content.html                                            |   246 |     594.27K |   0.029 |
| _includes/iframe.html                                                  |   282 |     112.08K |   0.029 |
| feed.xml                                                               |     1 |     152.42K |   0.028 |
| news/index.html                                                        |     1 |     148.99K |   0.022 |
| _layouts/items.html                                                    |     1 |     259.75K |   0.019 |
| _includes/main-loop-card-item.html                                     |   246 |     256.19K |   0.016 |
| _includes/tracking-footer.html                                         |   705 |     201.04K |   0.014 |
| _includes/comments.html                                                |   683 |     519.59K |   0.013 |
| _includes/share.html                                                   |   682 |     854.50K |   0.010 |
| _posts/2021-09-10-baidu-paddle-machine-learning-chatbot-competition.md |     1 |      24.61K |   0.003 |
| _posts/2021-10-09-summer-2021-wechaty-soc-final-demo-day.md            |     1 |      24.88K |   0.002 |
| _layouts/page-sidebar.html                                             |     1 |       4.35K |   0.001 |
| _pages/about.html                                                      |     1 |       2.82K |   0.001 |
| _posts/2020-08-22-summer-2020-wechaty-soc-midterm-demo-day.md          |     1 |      11.70K |   0.001 |
| _posts/2020-06-19-multi-language-wechaty-beta-release.md               |     1 |      23.64K |   0.001 |
| _posts/2021-11-05-kaiyuanshe-oss-con-2021-wechaty-gsod.md              |     1 |       3.38K |   0.001 |
| _posts/2017-01-01-getting-started-wechaty.md                           |     1 |       2.67K |   0.001 |
| _posts/2020-08-24-add-video-to-wechaty-blog.md                         |     1 |       6.51K |   0.001 |
| _contributors/rickyyin98.md                                            |     1 |       1.41K |   0.001 |
| _posts/2022-03-14-puppet-whatsapp-1.0-released.md                      |     1 |       6.93K |   0.001 |
| _posts/2020-08-05-wechaty-puppet-maker.md                              |     1 |       5.50K |   0.001 |
| _posts/2022-03-14-puppet-whatsapp-1.0-released.md/#excerpt             |     1 |       0.38K |   0.001 |
| _posts/2020-04-17-microsoft-tech-forum-rui-interview.md                |     1 |      15.13K |   0.001 |
| _posts/2020-12-31-osschat-a-bridge-to-the-apache-way-in-china.md       |     1 |       6.29K |   0.001 |
| _contributors/huan.md                                                  |     1 |       1.63K |   0.001 |
| _posts/2021-08-26-ospp-mid-term-wechaty-puppet-oa.md                   |     1 |       4.21K |   0.001 |
| _posts/2020-09-26-wechaty-words-per-day-plugin-final.md                |     1 |       5.97K |   0.001 |
| _posts/2021-08-30-ospp-mid-term-5g-chatbot-puppet.md                   |     1 |       5.06K |   0.001 |
| _posts/2021-10-05-ospp-final-term-wechaty-itchat-puppet.md             |     1 |       8.19K |   0.001 |
| _posts/2021-08-30-ospp-mid-term-wechaty-puppet-lark.md                 |     1 |       4.55K |   0.001 |
| _posts/2021-08-26-ospp-mid-term-wechaty-piggy-bro.md                   |     1 |       5.89K |   0.001 |
| _posts/2020-08-15-wechaty-words-per-day-plugin-mid-term.md             |     1 |       5.41K |   0.001 |
| _posts/2021-09-28-ospp-final-term-matrix-wechaty.md                    |     1 |       7.28K |   0.001 |
| _posts/2021-02-17-summer-wechaty-nanjing-summit-journey.md             |     1 |       3.00K |   0.001 |
| _posts/2021-10-06-ospp-final-term-wechaty-piggy-bro.md                 |     1 |       4.69K |   0.001 |
| _posts/2020-09-26-chassist-bot-final.md                                |     1 |      11.26K |   0.001 |
| _posts/2021-09-29-final-term-club-managment.md                         |     1 |       5.69K |   0.001 |
| _posts/2021-08-29-ospp-mid-term-wechaty-itchat-puppet.md               |     1 |       7.03K |   0.001 |
+------------------------------------------------------------------------+-------+-------------+---------+
| TOTAL (for 50 files)                                                   |  9283 | 3813766.26K | 505.752 |
 
                    done in 277.307 seconds.
 Auto-regeneration: disabled. Use --watch to enable.

Add proxy for gitbook

Since Gitbook is blocked in China sometimes or slowly to visit, we should add a proxy for gitbook sometime later.

Cannot use templates to Importing file from another git

Using template: https://github.com/Chatie/docs/blob/master/root/wechaty/api.md as gitbook docs says(https://toolchain.gitbook.com/templating/conrefs.html) But it cannot work as expect online.

Actually, when I run localhost, I find it can import other files in API, it works well.

image

While when I commit to GitHub, the online version cannot import API successfully:

image

This is because it failed to exec pre-push hook script:

➜  root git:(master) git push origin master

> @chatie/[email protected] lint /Users/jiaruili/git/docs
> npm run lint:md && npm run lint:yaml


> @chatie/[email protected] lint:md /Users/jiaruili/git/docs
> markdownlint *.md docs/*.md docs/**/*.md


> @chatie/[email protected] lint:yaml /Users/jiaruili/git/docs
> yamllint .gitbook.yml

✔ YAML Lint successful.
v0.0.30
Counting objects: 8, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 688 bytes | 688.00 KiB/s, done.
Total 8 (delta 6), reused 0 (delta 0)
remote: Resolving deltas: 100% (6/6), completed with 5 local objects.
To https://github.com/Chatie/docs
   def8079..4eb27aa  master -> master
  ____ _ _        ____            _
 / ___(_) |_     |  _ \ _   _ ___| |__
| |  _| | __|    | |_) | | | / __| '_ \
| |_| | | |_     |  __/| |_| \__ \ | | |
 \____|_|\__|    |_|    \__,_|___/_| |_|

 ____                              _ _
/ ___| _   _  ___ ___ ___  ___  __| | |
\___ \| | | |/ __/ __/ _ \/ _ \/ _` | |
 ___) | |_| | (_| (_|  __/  __/ (_| |_|
|____/ \__,_|\___\___\___|\___|\__,_(_)




 ### Npm verion bumped and pushed by inner push inside hook pre-push ###
 ------- vvvvvvv outer push will be canceled, never mind vvvvvvv -------



Failed to exec pre-push hook script
error: failed to push some refs to 'https://github.com/Chatie/docs'

migrate docs to a stable docs product

Since gitbook server sometimes is blocked by GFW, it is hard for some Chinese users read docs. So we are trying to migrate docs to a stable place but hasn't decided yet.

Some optional:

  • 看云

。。。

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.

Since we didn’t receive a CI status on the greenkeeper/initial branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/.

Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.

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.