Skip to content

debian下编译html #1

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

Open
vipzrx opened this issue May 14, 2014 · 0 comments
Open

debian下编译html #1

vipzrx opened this issue May 14, 2014 · 0 comments

Comments

@vipzrx
Copy link

vipzrx commented May 14, 2014

$ sudo apt-get install python-setuptools

$ sudo easy_install sphinx
Searching for sphinx
Reading https://pypi.python.org/simple/sphinx/
Best match: Sphinx 1.2.2
Downloading https://pypi.python.org/packages/source/S/Sphinx/Sphinx-1.2.2.tar.gz#md5=3dc73ccaa8d0bfb2d62fb671b1f7e8a4
此时会一直卡住不动,

这个地址是可以打开的
$ wget https://pypi.python.org/packages/source/S/Sphinx/Sphinx-1.2.2.tar.gz#md5=3dc73ccaa8d0bfb2d62fb671b1f7e8a4

在debian中有打包好的包
$ sudo apt-get install python-sphinx

进入源码所在目录:
$ cd ~/soft/soft_src/akabook/

$ ls
conf.py dia en images index.rst Makefile mytheme README zh

开始编译html文档
$ make html
sphinx-build -b html -d _build/doctrees . _build/html
Making output directory...
Running Sphinx v1.2.2
loading pickled environment... not yet created
building [html]: targets for 37 source files that are out of date
updating environment: 37 added, 0 changed, 0 removed
reading sources... [100%] zh/type
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] zh/type
writing additional files... genindex search
copying images... [100%] zh/../images/expr.parse.png
copying static files... WARNING: html_static_path entry u'/home/kk/soft/soft_src/akabook/_static' does not exist
done
copying extra files... done
dumping search index... done
dumping object inventory... done
build succeeded, 1 warning.

Build finished. The HTML pages are in _build/html.

编译之后的html和songjinshan.com/akabook/zh/index.html上面的一样,都是不完整的。

完整的pdf版本下载地址:
http://blogimg.chinaunix.net/blog/upfile2/101026210032.pdf

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

1 participant