Skip to content

debian下编译html #1

@vipzrx

Description

@vipzrx

$ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions