GitHub - HIT-Coder/PyZh: 一起写Python文章,一起看Python文章 - 利用readthedocs的Python技术文章的收集和翻译。

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Folders and files

NameName

Last commit message

Last commit date

Latest commit

History

43 Commits

Repository files navigation

关于

利用readthedocs的Python技术文章的翻译和收集。

订阅

RSS: https://pyzh.readthedocs.org/en/latest/rss.xml

Online: https://pyzh.readthedocs.org/en/latest/

约定

  • 文件名必须是英文。一个文章的多个文件如下命名:

    xxxx-Part1.rst, xxxx-Part2.rst ..
    
  • 文第一行注明日期:

    :Date: 2013-04-15 22:00:00
    
  • 翻译的文章,需要注明原文链接

如何开始

  1. clone 这个Repo:

    git clone git@github.com:HIT-ON-Github/PyZh.git
    
  2. 初始化环境:

    cd PyZh
    virtualenv venv
    pip install -r requirements.pip
    
  3. 编写文章:

    vim docs/xxxxx.rst
    
  4. 编译预览:

    cd docs
    make html
    python -m SimpleHTTPServer
    
打开 http://localhost:8000 预览
  1. 更新Readthedocs文档:
push上去到Github, 然后到https://readthedocs.org/projects/pyzh build下即可

RST

RST文档的语法: https://github.com/ralsina/rst-cheatsheet/blob/master/rst-cheatsheet.rst

Example可以看项目中其它文章的源码

About

一起写Python文章,一起看Python文章 - 利用readthedocs的Python技术文章的收集和翻译。

Resources

Readme

Activity

Custom properties

Stars

1 star

Watchers

9 watching

Forks

0 forks

Releases

No releases published