{"id":13646934,"url":"https://github.com/thu-cs-lab/TCP-Lab-Docs","last_synced_at":"2025-04-21T21:31:51.837Z","repository":{"id":105959407,"uuid":"341069840","full_name":"thu-cs-lab/TCP-Lab-Docs","owner":"thu-cs-lab","description":"Documentation for TCP Lab","archived":false,"fork":false,"pushed_at":"2025-03-12T02:20:54.000Z","size":164,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-08T09:36:53.548Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/thu-cs-lab.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":"2021-02-22T03:34:51.000Z","updated_at":"2025-03-12T02:20:57.000Z","dependencies_parsed_at":"2024-03-13T07:29:47.501Z","dependency_job_id":"693cc8c6-2eba-46bf-acba-3e3a0e10010f","html_url":"https://github.com/thu-cs-lab/TCP-Lab-Docs","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/thu-cs-lab%2FTCP-Lab-Docs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thu-cs-lab%2FTCP-Lab-Docs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thu-cs-lab%2FTCP-Lab-Docs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thu-cs-lab%2FTCP-Lab-Docs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thu-cs-lab","download_url":"https://codeload.github.com/thu-cs-lab/TCP-Lab-Docs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250136786,"owners_count":21380891,"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":[],"created_at":"2024-08-02T01:03:15.874Z","updated_at":"2025-04-21T21:31:51.611Z","avatar_url":"https://github.com/thu-cs-lab.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"# TCP-Lab Documentation\n\n![Build documentation with mkdocs](https://github.com/thu-cs-lab/TCP-Lab-Docs/workflows/Build%20documentation%20with%20mkdocs/badge.svg)\n\n本项目为《计算机网络专题训练》课程的 TCP 实验的实验文档，采用 `mkdocs` 编写。\n\n本站点的自动编译版本在 [这里](https://lab.cs.tsinghua.edu.cn/tcp/doc/) 发布。\n\n## 撰写\n\n本站点内容使用 Markdown 进行编写。具体可查看 [mkdocs](https://www.mkdocs.org/) 和 [mkdocs-material](https://squidfunk.github.io/mkdocs-material/extensions/pymdown/) 文档。\n\n如果创建了新页面，需要插入到 `mkdocs.yml` 的 `nav` 部分，否则将不会出现在编译结果中。\n\n## 编译\n\n首先安装依赖，而后编译即可：\n\n```bash\npython3 -m pip install --user -r requirements.txt # 安装 Python 依赖包\nmkdocs serve # 直接在本地 serve，或者：\nmkdocs build --clean # 生成于 site/ 文件夹中\n```\n\n## 生成离线版\n\n生成 PDF 和 DOCX 版本需要（经过修改的） [`mkdocs-combine`](https://github.com/Harry-Chen/mkdocs-combine) 插件的支持。首先安装插件：\n\n```bash\npip3 install git+https://github.com/Harry-Chen/mkdocs-combine.git\n```\n\n而后运行：\n\n```bash\nmake docx\nmake pdf\n```\n\n即可在 `generated` 目录下获得相应格式的文件。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthu-cs-lab%2FTCP-Lab-Docs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthu-cs-lab%2FTCP-Lab-Docs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthu-cs-lab%2FTCP-Lab-Docs/lists"}