Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8a4b81c

Browse files
committed
use proper synatx highlighting for shell commands
1 parent484f2e8 commit8a4b81c

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

‎doc/source/intro.rst

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ Installing GitPython is easily done using
3636
`setuptools`_. Assuming it is
3737
installed, just run the following from the command-line:
3838

39-
..sourcecode::none
39+
..sourcecode::console
4040

41-
# easy_install GitPython
41+
$ easy_install GitPython
4242

4343
This command will download the latest version of GitPython from the
4444
`Python Package Index<http://pypi.python.org/pypi/GitPython>`_ and install it
@@ -54,9 +54,9 @@ here:
5454
Alternatively, you can install from the distribution using the ``setup.py``
5555
script:
5656

57-
..sourcecode::none
57+
..sourcecode::console
5858

59-
# python setup.py install
59+
$ python setup.py install
6060

6161
..note::In this case, you have to manually install `GitDB`_ and `async`_ as well. It would be recommended to use the :ref:`git source repository <source-code-label>` in that case.
6262

@@ -82,16 +82,22 @@ GitPython's git repo is available on GitHub, which can be browsed at:
8282

8383
* https://github.com/gitpython-developers/GitPython
8484

85-
and cloned using::
85+
and cloned using:
86+
87+
..sourcecode::console
8688

8789
$ git clone git://github.com/gitpython-developers/GitPython.git git-python
8890

89-
Initialize all submodules to obtain the required dependencies with::
91+
Initialize all submodules to obtain the required dependencies with:
92+
93+
..sourcecode::console
9094

9195
$ cd git-python
9296
$ git submodule update --init --recursive
9397

94-
Finally verify the installation by running the `nose powered<http://code.google.com/p/python-nose/>`_ unit tests::
98+
Finally verify the installation by running the `nose powered<http://code.google.com/p/python-nose/>`_ unit tests:
99+
100+
..sourcecode::console
95101

96102
$ nosetests
97103

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp