Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问我想下载Html版的中文手册需要怎么操作啊 #44

Closed
FantasticRhythm opened this issue Apr 21, 2023 · 7 comments
Closed

Comments

@FantasticRhythm
Copy link

就是参考手册都是PDF版的,我想能不能有HTML版的文件,让我能以浏览器本地浏览中文手册

@AllanDowney
Copy link
Contributor

Html版中文手册

可以参考这篇文章 用 wget 下载整个网站
有人推荐这个工具 Httrack

@lilydjwg
Copy link
Contributor

当初我用过 httrack,不太好用,而且默认不开 keep-alive。

@yianwillis
Copy link
Owner

yianwillis commented Apr 24, 2023

git checkout gh-pages

浏览器打开 <repo-dir>/doc/help.html.

@FantasticRhythm
Copy link
Author

git checkout gh-pages

浏览器打开 /doc/help.html.

无敌,谢谢你,这个原理是什么啊,checkout又是起什么作用啊

@GalaxySnail
Copy link

这个原理是什么啊,checkout 又是起什么作用啊

如果你对这个感兴趣的话,可以找一个 git 入门教程学一学 git 的基础知识。简单来说,checkout 是切换到另一个 git 分支。另外,你应该可以在 github 上直接下载这个分支的 tar 或者 zip 包,就不需要依赖 git 了。

@FantasticRhythm
Copy link
Author

我大概知道checkout是切换一个git分支,但是我不明白为什么访问本地的html要切换一下分式

@AllanDowney
Copy link
Contributor

因为 gh-pages 分支里面的文件是 github action 里的自动转换成 html 的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants