@@ -47,36 +47,29 @@ Fetching the data
47
47
-----------------
48
48
49
49
Now we will start to customize out docs. Grab a couple of files from
50
- the `web site
51
- <http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/sampledoc_tut/> `_
52
- or svn. You will need :file: `getting_started.rst ` and
50
+ the `web site <https://github.com/matplotlib/sampledoc >`_
51
+ or git. You will need :file: `getting_started.rst ` and
53
52
:file: `_static/basic_screenshot.png `. All of the files live in the
54
53
"completed" version of this tutorial, but since this is a tutorial,
55
54
we'll just grab them one at a time, so you can learn what needs to be
56
55
changed where. Since we have more files to come, I'm going to grab
57
- the whole svn directory and just copy the files I need over for now.
56
+ the whole git directory and just copy the files I need over for now.
58
57
First, I'll cd up back into the directory containing my project, check
59
- out the "finished" product from svn , and then copy in just the files I
58
+ out the "finished" product from git , and then copy in just the files I
60
59
need into my :file: `sampledoc ` directory::
61
60
62
61
home:~/tmp/sampledoc> pwd
63
62
/Users/jdhunter/tmp/sampledoc
64
63
home:~/tmp/sampledoc> cd ..
65
- home:~/tmp> svn co https://matplotlib.svn.sourceforge.net/svnroot/\
66
- matplotlib/trunk/sampledoc_tut
67
- A sampledoc_tut/cheatsheet.rst
68
- A sampledoc_tut/_static
69
- A sampledoc_tut/_static/basic_screenshot.png
70
- A sampledoc_tut/conf.py
71
- A sampledoc_tut/Makefile
72
- A sampledoc_tut/_templates
73
- A sampledoc_tut/_build
74
- A sampledoc_tut/getting_started.rst
75
- A sampledoc_tut/index.rst
76
- Checked out revision 7449.
77
- home:~/tmp> cp sampledoc_tut/getting_started.rst sampledoc/
78
- home:~/tmp> cp sampledoc_tut/_static/basic_screenshot.png \
79
- sampledoc/_static/
64
+ home:~/tmp> git clone https://github.com/matplotlib/sampledoc.git tutorial
65
+ Cloning into 'tutorial'...
66
+ remote: Counting objects: 87, done.
67
+ remote: Compressing objects: 100% (43/43), done.
68
+ remote: Total 87 (delta 45), reused 83 (delta 41)
69
+ Unpacking objects: 100% (87/87), done.
70
+ Checking connectivity... done
71
+ home:~/tmp> cp tutorial/getting_started.rst sampledoc/
72
+ home:~/tmp> cp tutorial/_static/basic_screenshot.png sampledoc/_static/
80
73
81
74
The last step is to modify :file: `index.rst ` to include the
82
75
:file: `getting_started.rst ` file (be careful with the indentation, the
0 commit comments