Pelican Static Site Generator, Powered>什么是github page? <http://pages.github.com/>
使用自己的用户名,每个用户名下面只能建立一个;
资源命名必须符合这样的规则username/username.github.com;
主干上内容被用来构建和发布页面
gh-pages分支用于构建和发布;
如果user/org pages使用了独立域名,那么托管在账户下的所有project pages将使用相同的域名进行重定向,除非project pages使用了自己的独立域名;
如果没有使用独立域名,project pages将通过子路径的形式提供服务username.github.com/projectname;
自定义404页面只能在独立域名下使用,否则会使用User Pages 404;
复制代码
- $ pip install pelican
easy_install
$ easy_install pelican
复制代码
- $ cd path-to-Pelican-source$ python setup.py install
复制代码
- $ virtualenv ~/virtualenvs/pelican$ cd ~/virtualenvs/pelican$ . bin/activate
复制代码
- $ pip install Markdown
- feedgenerator, to generate the Atom feeds
- jinja2, for templating support
- pygments, for syntax highlighting
- docutils, for supporting reStructuredText as an input format
- pytz, for timezone definitions
- blinker, an object-to-object and broadcast signaling system
- unidecode, for ASCII transliterations of Unicode text
- six, for Python 2 and 3 compatibility utilities
- MarkupSafe, for a markup safe string implementation
- markdown, for supporting Markdown as an input format
欢迎光临 冠富商务通中文社区 (http://gu1vhwx.nat.ipyingshe.com/news/) | Powered by Discuz! 3.0 |