mirror of
https://gitee.com/tawords/tawords-docs
synced 2025-09-12 21:21:37 +08:00
添加Windows平台下docsify-cli安装及本地docsify serve启动bat脚本
This commit is contained in:
20
run-docsify-server(Windows).bat
Normal file
20
run-docsify-server(Windows).bat
Normal file
@@ -0,0 +1,20 @@
|
||||
::
|
||||
:: 背Ta单词 BTadc
|
||||
::
|
||||
:: 该脚本仅在Windows下有效,且需要在npm安装docsify-cli工具之后才可使用
|
||||
::
|
||||
:: @version 1.0.0
|
||||
:: @auther Coding Zhang
|
||||
:: @modify 2021.08.07
|
||||
::
|
||||
|
||||
@echo off
|
||||
|
||||
:: 找到系统默认浏览器
|
||||
for /f "tokens=3,4" %%a in ('"reg query HKEY_CLASSES_ROOT\http\shell\open\command"') do (set softWareRoot=%%a %%b)
|
||||
|
||||
::打开网页
|
||||
start % SoftWareRoot % http://localhost:3000
|
||||
|
||||
:: 启动docsify服务
|
||||
docsify serve docs
|
Reference in New Issue
Block a user