{"id":15374326,"url":"https://github.com/yurunsoft/mddoc","last_synced_at":"2025-04-15T11:32:30.857Z","repository":{"id":57088682,"uuid":"136882216","full_name":"Yurunsoft/mddoc","owner":"Yurunsoft","description":"开源的 markdown 文档转 html 文档工具，它使用 php 开发，支持 php \u003e= 5.4。它生成的 html 可以直接放在网站上，支持全文搜索、自定义 html 模版。","archived":false,"fork":false,"pushed_at":"2023-05-23T08:42:14.000Z","size":905,"stargazers_count":48,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-01T10:51:27.658Z","etag":null,"topics":["gitbook","markdown","markdown-to-html","php","webhook"],"latest_commit_sha":null,"homepage":"https://gitee.com/yurunsoft/mddoc","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yurunsoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-11T06:12:59.000Z","updated_at":"2024-09-26T13:24:55.000Z","dependencies_parsed_at":"2022-08-20T16:00:44.643Z","dependency_job_id":null,"html_url":"https://github.com/Yurunsoft/mddoc","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yurunsoft%2Fmddoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yurunsoft%2Fmddoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yurunsoft%2Fmddoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yurunsoft%2Fmddoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yurunsoft","download_url":"https://codeload.github.com/Yurunsoft/mddoc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223673048,"owners_count":17183618,"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":["gitbook","markdown","markdown-to-html","php","webhook"],"created_at":"2024-10-01T13:58:21.372Z","updated_at":"2024-11-08T11:02:12.381Z","avatar_url":"https://github.com/Yurunsoft.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 介绍\n\nmddoc 是一个开源的 markdown 文档转 html 文档工具，它使用 php 开发，支持 php \u0026gt;= 5.4。它生成的 html 可以直接放在网站上，支持全文搜索、自定义 html 模版。\n\nmddoc 同时支持命令行、git webhook生成，不光可以本地生成后上传，也可以直接做成 webhook 自动部署生成，非常简单。\n\nmddoc 兼容 GitBook Editor 编辑的格式，可以说 mddoc 是不想装 Node 环境又想使用 gitbook 的用户的一个非常好的选择。\n\n其实我开发 mddoc 的本意，其实是因为我用的虚拟主机，不能装 Node 环境。想要实现 webhook 自动生成比较困难，所以就用 php 写了这个……\n\n具体效果你现在看的这个文档就是使用 mddoc 生成哒！（ https://doc.yurunsoft.com/mddoc ）\n\nGithub：https://github.com/Yurunsoft/mddoc\n\nGitee：https://gitee.com/yurunsoft/mddoc\n\ncomposer：`yurunsoft/mddoc`\n\n## 命令行生成\n\n1. 首先通过 git 将项目拉取下来\n2. 执行`composer update`安装\n3. 执行`php build.php -markdownPath \"md文档路径\" -htmlPath \"html生成路径\"`\n\n\u003e 注意！html生成目录在生成前会被清空所有文件，请慎重选择目录！\n\n默认生成使用的模版是`mddoc/template`下的，如果要指定自定义的模版路径，加上参数`-templatePath \"路径\"`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyurunsoft%2Fmddoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyurunsoft%2Fmddoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyurunsoft%2Fmddoc/lists"}