Google Season of Docs 2021 Mid Term Blog: Tutorials

本文档概述了Google Season of Docs 2021期间Wechaty教程文档改进的中期成果,包括团队成员介绍、已完成的任务如重构文档结构、添加交互式Code Sandbox等,以及待完成的工作。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

This is the mid term blog for demonstrating all our work that we have done till 8 weeks for creating and improving the Wechaty Tutorials documentation as a part of Google Season of Docs 2021.

Team members

Souvik Biswas (email: sbis1999@gmail.com)

I am Souvik Biswas, currently pursuing a B.Tech degree in Computer Science and Engineering from IIIT Kalyani in India. I am a freelance technical writer of Codemagic and LogRocket Blog, and a passionate mobile app developer. You can also find some of my articles on Medium, and explore my projects on GitHub.

Shwetal Soni (email: sonishwetal704@gmail.com)

I am Shwetal Soni, currently pursuing B.Tech in Computer Science and Engineering from NIT Hamirpur in India. I am interested in UI/UX Design, Frontend web development and I’m also learning blockchain development. Currently I’m working as Tezos India Fellow.

Mid Term Video Presentation

Abstract

  • Refactor the overall Tutorials documentation
  • Add / improve the step-by-step instructions
  • Add interactive CodeSandbox
  • Screenshots / GIF of the bot running on a device
  • Add various bots building tutorials to Examples
  • Create the Cheat sheet

Overall structure of Tutorials

The overall structure of the Tutorials will be as follows:

  • Overview Here we can have all the links for each of the pages present in the Tutorials section along with a brief description. This will help the user to easily navigate through the Docs.

  • Quick start
    • Overview (containing a brief introduction to each of the sub pages)
    • Running on GitPod
    • Running on Google Cloud Shell
    • Running Locally
  • Advanced Usage
    • Usage with Docker
    • Usage with Heroku
    • Using Plugin with wechaty
    • Using Redux with wechaty
    • Using Vorpal with wechaty
  • Examples
    • Overview (introduction to the different types of bot included in this examples section)
    • Basic
      • World’s shortest chatbot
      • Contact Bot
      • Ding dong Bot
    • Advanced
      • Demo Bot
      • Busy Bot
      • Media File Bot
      • Room Bot
      • Friend Bot
      • Gist Bot
    • Professional
      • Hot Import Bot
      • Ctrl C Signal Bot
      • Monster Bot
      • Api AI Bot
      • Speech to Text Bot
      • Turing Bot
      • Telegram Roger Bot
      • Blessed Twins Bot
  • Cheat sheet
    • Brief description of a bot
    • Code snippet to use it
    • Tech description (in brief)
    • Example - CodeSandbox (maybe included)
    • Screenshots / GIFs

Structure for each tutorial page

A proposed structure of the tutorial documentation is as follows:

  • Introduction (also include the goal of the tutorial)
  • Try out the bot (CodeSandbox)
  • Requirements (tools required to follow the tutorial)
  • Getting started

    Quick introduction to the required tools and how to setup their development environment to get started building the bot

  • Building the bot

    Step-by-step guide for building the bot, with a CodeSandbox at the end having minimal code and TODO steps where users can try building the bot by themselves directly on the documentation page without installing any tools on their local system

  • Running the bot

    Commands for running the bot locally

  • Bot demonstration

    Commands that they can use with the bot, and maybe a GIF showing the invocation of some of the commands on WeChat or WhatsApp

  • Conclusion
  • References

Tasks Completed

todo-img

example-section

Total PR’s

In total we have submitted 25 PR’s out of which 21 are weekly PR’s as per our weekly tasks. Remaining 4 are minor improvements and bug related PR’s.

Shwetal’s PR’s

  • Running locally #888: Added tutorial for running ding-dong bot locally
  • Overview #935 #934: Added overview for tutorials and getting started
  • Gitpod #923: Added tutorial for running ding-dong bot on gitpod
  • Plugins #969: Added tutorial for QR code terminal plugin
  • Redux #989: Added overview for using redux with wechaty

Souvik’s PR’s

  • Vorpal page #779 #780 #791 #882 - Step-by-step guide & CodeSandbox
  • Installation page #905 - Tools required for running Wechaty
  • Google Cloud Shell page #922 - Improve the guide
  • Plugins section #957 #963 #985 - Overview, EventLogger & Heartbeat plugin
  • Using Redux with Wechaty #1126 - Guide for Wechaty Redux plugin in Ducks proposal style

Challenges

  • Understanding git version control
  • Building the first bot using Wechaty
    • Knowledge about NPM projects
    • Using plugins
    • Running bot
    • Interacting with the bot from the connected device
  • Understanding how to build CodeSandboxes
  • Errors in some bot example codes

Tasks todo

In upcoming weeks, we have to create tutorial for bots under examples/advanced and examples/professional sections. Later we will be preparing a cheet sheet containing some important code snippets and some plugins. At the end we will review our work right from the start and will refactor it wherever it is required.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值