Django Document Authoring (Windows XP)

Source: Internet
Author: User

Hello everyone, I am a Chengdu ld, recently learned the next Python and Django. I am using a combination of pydev+eclipse development, of course, just beginning to learn, because the Python method return value is not marked, so the development has become some egg pain, have to look at the source of the method, do not know how other friends do ~ ~

Anyway, today mainly introduce Django document production, Online said a lot of methods, in fact, I just stones, completely own pondering, take a step to see a step, do not know right, the document made, for the time being so ~ ~.

First step: First I downloaded the Django 1.6.5 version, the Django directory has a docs directory, I am filled with joy to think that this is the Django document, yes, it is a document, but need their own make~~~

Step two: Execute the Make.bat in the Docs directory under CMD, and execute Make.bat HTML as prompted. OK, the first error comes out, the lack of a sphinx-build.

The third step: then download a sphinx, here is a small episode, do not know where to download a Sphinx1.1 version. Then began to install Sphinx1.1, after installation, repeat the second step, the error is still missing sphinx-build.

Fourth step: I was wondering, not just installed, so I suspect that the environment variable is not set up, resulting in the sphinx-build can not find. Add: Path = Python installation directory/scripts in the environment variable. Repeat the second step, ok,perfect, problem solving. But new problems arise: the lack of a Sphinx model during execution

Fifth step: So I tried to copy the Sphinx package from the Sphinx directory into the Python lib directory. Repeat the second step, OK, the fourth step problem solved, but the new problem appears: Node.py folder inside of a method, the wrong meaning is: A parameter does not have a method, probably this meaning, the specific error I did not. I guess the Sphinx version is wrong.

Sixth step: I will continue to Baidu: Sphinx Python found a Sphinx1.2.2 version, and then after installation, repeat the second step, error resolution, in the directory _build directory of docs has generated HTML documents ~ ~ ~

I will Django1.6.5 HTML Help document compression package uploaded to Baidu Library, you are welcome to download:

HTTP://PAN.BAIDU.COM/S/1JG1D3B4 (This is the singlehtml parameter make, do not explain that people should understand)

HTTP://PAN.BAIDU.COM/S/1PJAWGQF (this is the HTML parameter make)


This article is from the "studious, Good thinking" blog, please be sure to keep this source http://porterxie.blog.51cto.com/1787765/1532457

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.