Code Monkey home page Code Monkey logo

taro-docs's Introduction

Taro 文档

.
├── LICENSE
├── README.md
├── blog # 博客
├── docs # 最新版本文档
├── docusaurus.config.js
├── node_modules
├── package.json
├── sidebars.js # 最新版本文档导航
├── src # 文档主题
├── static # 静态文件
├── tsconfig.json
├── versioned_docs # 版本文档
├── versioned_sidebars # 版本文档导航
├── versions.json
└── pnpm-lock.yaml

开发流程

  1. 从最新版本的 master 分支新建一个分支:git checkout -b docs/fix-something
  2. 提交新建的分支发起 Pull Request
  3. 在 Pull Request 页面中如果编译成功,则会自动部署一个预览站点
  4. 预览站点确认修改无误后 Merge 到 master 分支,则会自动部署到 GitHub Pages 和 docs.taro.zone

修改文档

v1 或 v2

修改 versioned_docsversioned_sidebars 对应的文件。

v3

修改 docssidebars.js 对应的文件。

升级文档

v1 或 v2

v1 或 v2 不升级版本,直接修改 versioned_docsversioned_sidebars 对应的文件。

v3

运行命令:pnpm run docusaurus docs:version <semver>

taro-docs's People

Contributors

a0150315 avatar bigmeow avatar bless-l avatar chant-lee avatar chen-jj avatar cncolder avatar fjc0k avatar garfield550 avatar guxingke201 avatar honlyhuang avatar ichengbo avatar jiaozitang avatar jimczj avatar jinjinjin0731 avatar js-newbee avatar leeenx avatar littly avatar luckyadam avatar manjiz avatar nanjingboy avatar pines-cheng avatar qiyu8 avatar robinv8 avatar simbachen avatar smileying avatar yechunxi avatar yuche avatar zacksleo avatar zakarycode avatar zhiqingchen 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.