Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e8eccd0

Browse files
committed
remove references to svn, closes #2
1 parent b698258 commit e8eccd0

File tree

4 files changed

+18
-25
lines changed

4 files changed

+18
-25
lines changed

custom_look.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ the sites created with the default css, so here we'll invoke T. S. Eliot's
1010
maxim "Talent imitates, but genius steals" and grab their css
1111
and part of their layout. As before, you can either get the required
1212
files :file:`_static/default.css`, :file:`_templates/layout.html` and
13-
:file:`_static/logo.png` from the website or svn (see
14-
:ref:`fetching-the-data`). Since I did a svn checkout before, I will
13+
:file:`_static/logo.png` from the website or git (see
14+
:ref:`fetching-the-data`). Since I did a git clone before, I will
1515
just copy the stuff I need from there::
1616

1717
home:~/tmp/sampledoc> cp ../sampledoc_tut/_static/default.css _static/

extensions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sphinx doc directory, and there are other extensions written by other
1212
groups, eg numpy and ipython. We're collecting these in this tutorial
1313
and showing you how to install and use them for your own project.
1414
First let's grab the python extension files from the :file:`sphinxext`
15-
directory from svn (see :ref:`fetching-the-data`), and install them in
15+
directory from git (see :ref:`fetching-the-data`), and install them in
1616
our :file:`sampledoc` project :file:`sphinxext` directory::
1717

1818
home:~/tmp/sampledoc> mkdir sphinxext

getting_started.rst

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -47,36 +47,29 @@ Fetching the data
4747
-----------------
4848

4949
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
5352
:file:`_static/basic_screenshot.png`. All of the files live in the
5453
"completed" version of this tutorial, but since this is a tutorial,
5554
we'll just grab them one at a time, so you can learn what needs to be
5655
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.
5857
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
6059
need into my :file:`sampledoc` directory::
6160

6261
home:~/tmp/sampledoc> pwd
6362
/Users/jdhunter/tmp/sampledoc
6463
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/
8073

8174
The last step is to modify :file:`index.rst` to include the
8275
:file:`getting_started.rst` file (be careful with the indentation, the

index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ more. If you follow along the tutorial, you'll start with nothing and
1414
end up with this site -- it's the bootstrapping documentation tutorial
1515
that writes itself!
1616

17-
The source code for this tutorial lives in mpl svn (see
18-
:ref:`fetching-the-data`) and you can grab a harcopy of the the
17+
The source code for this tutorial lives in mpl git (see
18+
:ref:`fetching-the-data`) and you can grab a hardcopy of the
1919
`sampledoc PDF <sampledoc.pdf>`_
2020

2121
.. toctree::

0 commit comments

Comments
 (0)