Giter Site home page Giter Site logo

lhsazevedo / vue-docs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from veaba/vue-docs

0.0 2.0 0.0 528 KB

:cn: Chinese docs for Vue 3, Vue next version docs! Vue 3文档 前瞻! (TODO:基于tsdoc、jsdoc生成vue-next 源码, api-extractor 不支持deno)

Home Page: https://vue.datav.ai

Shell 100.00%

vue-docs's Introduction

Vue 3 docs

个人仿照Vue 2 版本的docs 进行学习性质的描述Vue 3的docs

指引

How to join ?

# clone this repo
git clone  https://github.com/veaba/vue-docs.git 

# install dependent
npm install

# dev
npm run dev 

# build
npm run build

about

  • 个人学习Vue 3.0 项目
  • 与官方Vue 3 docs 没半毛钱关系
  • 增加Github actions 部属
  • 启动域名 vue.datav.ai、vue3.datav.ai

CI部署

生成Depoly key 公钥和secrets 秘钥

在Git bash中执行一下命令,注意改下邮箱.

ssh-keygen -t rsa -b 4096 -C "[email protected]" -f gh-pages -N ""

生成两个文件: gh-pages(secret)、gh-pages.pub(depoly)

  • 将gh-pages.pub里面的内容粘贴到仓库的settings->Deploy key,可以起个名字
  • 将gh-pages 里面的内容粘贴到仓库的settings->Secrets,起个英文的KEY,后续要使用这个字段

配置Secrets配置到 .github/workflows/xxx.yml里面去

name: Vuepress CI

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [12.x]

    steps:
      - uses: actions/checkout@v1
      - name: 步骤:第一步 Use Node.js ${{ matrix.node-version }}
        uses: actions/setup-node@v1
        with:
          node-version: ${{ matrix.node-version }}
      - name: 步骤:第二步,安装依赖
        run: |
          npm install
          npm run build --if-present
        env:
          CI: true
      - name: 步骤:第三步:Deploy,部署
        uses: peaceiris/[email protected]
        env:
          ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_ACCESS_TOKEN_VUE_DOCS_CI }}
          PUBLISH_BRANCH: gh-pages
          PUBLISH_DIR: ./docs/.vuepress/dist

vue-docs's People

Contributors

veaba avatar

Watchers

James Cloos avatar  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.