{"id":19739774,"url":"https://github.com/bajins/notes-docsify","last_synced_at":"2025-11-23T03:01:50.640Z","repository":{"id":56856801,"uuid":"195747345","full_name":"bajins/notes-docsify","owner":"bajins","description":"这是一个用docsify构建的文档","archived":false,"fork":false,"pushed_at":"2024-09-13T05:25:56.000Z","size":29713,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-13T16:49:52.066Z","etag":null,"topics":["docsify","document"],"latest_commit_sha":null,"homepage":"https://www.gotoxo.com","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bajins.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-08T06:08:24.000Z","updated_at":"2024-09-13T05:26:00.000Z","dependencies_parsed_at":"2023-09-26T13:42:41.075Z","dependency_job_id":"20682eb7-204a-4258-bc75-14227d2b5eed","html_url":"https://github.com/bajins/notes-docsify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bajins%2Fnotes-docsify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bajins%2Fnotes-docsify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bajins%2Fnotes-docsify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bajins%2Fnotes-docsify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bajins","download_url":"https://codeload.github.com/bajins/notes-docsify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241068283,"owners_count":19904002,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docsify","document"],"created_at":"2024-11-12T01:18:19.749Z","updated_at":"2025-11-23T03:01:50.572Z","avatar_url":"https://github.com/bajins.png","language":"HTML","readme":"# Bajins\n\n?\u003e 基于本仓库可快速创建你自己的动态构建（只需要编写并提交，不需要手动编译成静态HTML）文档网站。[高亮语法支持列表](https://prismjs.com/#languages-list)\n\n\n## 目录结构\n\n```\n.\n│  .nojekyll        用于阻止 GitHub Pages 会忽略掉下划线开头的文件\n│  files.md         列出files文件夹中的文件用于下载\n│  index.html       入口文件\n│  nav.md           导航栏\n│  README.md        首页\n│  sidebar.md       侧边栏\n│  push.bat         列出导航栏、侧边栏、files、提交到仓库Windows脚本\n│  push.sh          列出导航栏、侧边栏、files、提交到仓库Linux或Mac脚本\n│      \n├─files             存放所有提供下载文件的文件夹\n│      \n├─images            存放所有图片文件\n│  │  \n│  └─icons          存放图标文件\n│\n...... 其他自己的md文档或文件夹\n\n```\n?\u003e 只需遵从以上目录结构来修改你自己的文档即可使用。\n\n!\u003e 入口文件请结合[docsify官方文档](https://docsify.js.org)一定理解其意义再修改配置！\n\n\n## 使用\n\n- 先克隆本仓库 `git clone https://github.com/woytu/notes-docsify.git`\n- 保留上面[目录结构](#目录结构)列出的文件和文件夹，其他的全部删除\n- 创建自己的md文件，开始写作\n- 编辑入口文件（`index.html`）\n    \u003e 其中评论系统有多个例子，可自行修改\n    \u003e\n    \u003e 注意`basePath`配置项，如果repo不是githu.io访问根目录，则不能使用`/`\n- Windows添加hook\n    - 在项目中打开CMD执行`(echo #!/bin/bash\u0026 echo.\u0026 echo ./push.sh)\u003e.git/hooks/pre-commit`\n    - 或者`(for %i in (\"#!/bin/bash\" \"./push.sh\") do @echo %~i\u0026@echo.)\u003e.git/hooks/pre-commit`\n    - 在PowerShell中执行\u003ccode\u003eecho \"#!/bin/bash`n./push.sh\"| Out-File .git/hooks/pre-commit -encoding ASCII\u003c/code\u003e\n    \u003e Windows下脚本没有写权限：在`git-bash.exe`文件或快捷方式上鼠标`右键` -\u003e `属性` -\u003e `兼容性` -\u003e 勾选`以管理员身份运行此程序` -\u003e `确定`\n- Linux或Mac添加hook\n    - 在项目中执行`echo -e '#!/bin/bash\\n\\n./push.sh'\u003e.git/hooks/pre-commit`\n    - 如果提示`-bash: !\": event not found`执行`chmod +x .git/hooks/pre-commit`设置权限\n- 提交（`commit`）并推送（`push`）到远程\n- 提交后到GitHub设置中开启`GitHub Pages`","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbajins%2Fnotes-docsify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbajins%2Fnotes-docsify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbajins%2Fnotes-docsify/lists"}