Docs for Node<-Sphinx<-EasyInstall<-Python-
This started when I wanted to read some documentation for a node package, brunch,
To do that I found that I needed to get the program that generated html from the .rst document mockup. That's called Sphinx, which I found here. (http://sphinx.pocoo.org/)
To get Sphinx I had to get EasyInstall. So here we are.
On Ubuntu:
On Windows, I needed to go to pick the setuptools for my distribution from here. In my case, I downloaded:
Installing it put a log in my python27 directory. (Fortunately I had python already installed)
Reading the log gave me this:
From my Python directory.
That gave me a useful message. So I was back to installing sphinx.
Now where was I....
Right, Sphinx.
tells me that I need to run this command:
Which does a whole lot of bumping and grinding and eventually tells me that I have it installed.
Easy.
That tells me that I need to run sphinx-quickstart But where is it?
But then I discover that I don't want to do that. I've already got some docs I want to render. Instead I want:
In my case, I go to the scripts directory and type:
To do that I found that I needed to get the program that generated html from the .rst document mockup. That's called Sphinx, which I found here. (http://sphinx.pocoo.org/)
To get Sphinx I had to get EasyInstall. So here we are.
On Ubuntu:
On Windows, I needed to go to pick the setuptools for my distribution from here. In my case, I downloaded:
Installing it put a log in my python27 directory. (Fortunately I had python already installed)
Reading the log gave me this:
So I ran:
From my Python directory.
That gave me a useful message. So I was back to installing sphinx.
Now where was I....
Right, Sphinx.
tells me that I need to run this command:
Which does a whole lot of bumping and grinding and eventually tells me that I have it installed.
Easy.
That tells me that I need to run sphinx-quickstart But where is it?
But then I discover that I don't want to do that. I've already got some docs I want to render. Instead I want:
In my case, I go to the scripts directory and type:
That generates a bunch of stuff
Now:
Launches a lovely web page with the docs I've been meaning to get.
Was that so hard?
Comments
Post a Comment