1
0
mirror of https://gitee.com/tawords/tawords-docs synced 2025-01-10 11:28:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
tawords-docs/run-docsify-server(Windows).bat

20 lines
455 B
Batchfile
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

::
:: 背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