Skip to content

😆Automatically generate the sidebar of docsify-------自动生成 Docsify 的 Sidebar 侧边栏目录 与 子目录sidebar

License

Notifications You must be signed in to change notification settings

mrgolftech/GoBuildDocsifySidebar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoBuildDocsifySidebar

使用golang 生成 docsify 的sidebar

点我查看 c#版本源码

使用方法

使用前先将 /config/config.json 中的 HomePath 改为本机docsify项目的根目录

  1. 自己用go源码编译
  2. Releases 中 下载相应系统的文件

编译

在项目根目录

一次执行一行命令

cmd和powershell 命令有一点区别

CMD

set GOARCH=amd64
set GOOS=linux
go build

PowerShell

$env:GOOS="linux"
$env:GOARCH="amd64"
go build

$env:GOOS="windows"
$env:GOARCH="amd64"
go build

$env:GOOS="darwin"
$env:GOARCH="amd64"
go build

About

😆Automatically generate the sidebar of docsify-------自动生成 Docsify 的 Sidebar 侧边栏目录 与 子目录sidebar

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%