GithubHelp home page GithubHelp logo

hhy5277 / pyzh Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mrkiven/pyzh

0.0 1.0 0.0 197 KB

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

Home Page: http://pyzh.readthedocs.org

License: BSD 2-Clause "Simplified" License

Makefile 100.00%

pyzh's Introduction

关于

利用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
    
  • 翻译的文章,需要注明原文链接

请Fork一起编写!

  1. 初始化环境:

    git clone https://github.com/hit9/PyZh
    cd PyZh
    git submodule init & git submodule update
    virtualenv venv
    source <env-path>/bin/activate
    pip install -r requirements.pip
    
  2. 编写文章:

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

    make doc
    cd _build/html
    python -m SimpleHTTPServer
    

    打开 http://localhost:8000 预览

  4. 更新Readthedocs文档:

    push上去到Github, 然后到https://readthedocs.org/projects/pyzh build下即可

RST

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

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

pyzh's People

Contributors

hit9 avatar iceout avatar ivysrono avatar jhsrcmh avatar kidlj avatar liamzh avatar mrkiven avatar pigletfly avatar skyline75489 avatar wangzelin007 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.