ray5273 / docsify-template

docsify-template
https://ray5273.github.io/docsify-template/
0 stars 0 forks source link

Docsify examples

Target Repositories

Installation

Prerequisite

1. Install docsify

npm i docsify-cli -g

2. Local Deploy

2-1. Update submodules

git clone https://github.com/ray5273/packer-qemu-template.git
git clone https://github.com/ray5273/Github-Review-Dashboard-and-Alarm-Bot

2-2. Run _sidebar.md file auto generation of submodule documentations

node startDocsify.js

2. Github pages Deploy

  1. deploy_docsify.yml의 action을 통해서 필요한 sidebar 내용들을 _sidebar.md에 추가하고 모든 파일들을 gh-pages 브랜치의 /(root)에 추가
  2. github pages에서 gh-pages의 /(root) 경로로 deploy 하기

Auto generate _sidebar.md