Skip to content

Commit cad1e2e

Browse files
committed
tabbed all code-blocks
1 parent bccf8bc commit cad1e2e

File tree

1 file changed

+45
-45
lines changed

1 file changed

+45
-45
lines changed

‎doc/source/quickstart.rst

+45-45
Original file line numberDiff line numberDiff line change
@@ -18,31 +18,31 @@ There are a few ways to create a :class:`git.Repo <git.repo.base.Repo>` object
1818
Initialize a new git Repo
1919
#########################
2020

21-
.. literalinclude:: ../../test/test_quick_doc.py
22-
:language: python
23-
:dedent: 8
24-
:start-after: # [1-test_init_repo_object]
25-
:end-before: # ![1-test_init_repo_object]
21+
.. literalinclude:: ../../test/test_quick_doc.py
22+
:language: python
23+
:dedent: 8
24+
:start-after: # [1-test_init_repo_object]
25+
:end-before: # ![1-test_init_repo_object]
2626

2727
Existing local git Repo
2828
#######################
2929

30-
.. literalinclude:: ../../test/test_quick_doc.py
31-
:language: python
32-
:dedent: 8
33-
:start-after: # [2-test_init_repo_object]
34-
:end-before: # ![2-test_init_repo_object]
30+
.. literalinclude:: ../../test/test_quick_doc.py
31+
:language: python
32+
:dedent: 8
33+
:start-after: # [2-test_init_repo_object]
34+
:end-before: # ![2-test_init_repo_object]
3535

3636
Clone from URL
3737
##############
3838

3939
For the rest of this tutorial we will use a clone from https://github.com/gitpython-developers/QuickStartTutorialFiles.git
4040

41-
.. literalinclude:: ../../test/test_quick_doc.py
42-
:language: python
43-
:dedent: 8
44-
:start-after: # [1-test_cloned_repo_object]
45-
:end-before: # ![1-test_cloned_repo_object]
41+
.. literalinclude:: ../../test/test_quick_doc.py
42+
:language: python
43+
:dedent: 8
44+
:start-after: # [1-test_cloned_repo_object]
45+
:end-before: # ![1-test_cloned_repo_object]
4646

4747

4848
Trees & Blobs
@@ -51,50 +51,50 @@ Trees & Blobs
5151
Latest Commit Tree
5252
##################
5353

54-
.. literalinclude:: ../../test/test_quick_doc.py
55-
:language: python
56-
:dedent: 8
57-
:start-after: # [12-test_cloned_repo_object]
58-
:end-before: # ![12-test_cloned_repo_object]
54+
.. literalinclude:: ../../test/test_quick_doc.py
55+
:language: python
56+
:dedent: 8
57+
:start-after: # [12-test_cloned_repo_object]
58+
:end-before: # ![12-test_cloned_repo_object]
5959

6060
Any Commit Tree
6161
###############
6262

63-
.. literalinclude:: ../../test/test_quick_doc.py
64-
:language: python
65-
:dedent: 8
66-
:start-after: # [13-test_cloned_repo_object]
67-
:end-before: # ![13-test_cloned_repo_object]
63+
.. literalinclude:: ../../test/test_quick_doc.py
64+
:language: python
65+
:dedent: 8
66+
:start-after: # [13-test_cloned_repo_object]
67+
:end-before: # ![13-test_cloned_repo_object]
6868

6969
Display level 1 Contents
7070
########################
7171

72-
.. literalinclude:: ../../test/test_quick_doc.py
73-
:language: python
74-
:dedent: 8
75-
:start-after: # [14-test_cloned_repo_object]
76-
:end-before: # ![14-test_cloned_repo_object]
72+
.. literalinclude:: ../../test/test_quick_doc.py
73+
:language: python
74+
:dedent: 8
75+
:start-after: # [14-test_cloned_repo_object]
76+
:end-before: # ![14-test_cloned_repo_object]
7777

78-
.. literalinclude:: ../../test/test_quick_doc.py
79-
:language: python
80-
:dedent: 8
81-
:start-after: # [14.1-test_cloned_repo_object]
82-
:end-before: # ![14.1-test_cloned_repo_object]
78+
.. literalinclude:: ../../test/test_quick_doc.py
79+
:language: python
80+
:dedent: 8
81+
:start-after: # [14.1-test_cloned_repo_object]
82+
:end-before: # ![14.1-test_cloned_repo_object]
8383

8484
Recurse through the Tree
8585
########################
8686

87-
.. literalinclude:: ../../test/test_quick_doc.py
88-
:language: python
89-
:dedent: 8
90-
:start-after: # [15-test_cloned_repo_object]
91-
:end-before: # ![15-test_cloned_repo_object]
87+
.. literalinclude:: ../../test/test_quick_doc.py
88+
:language: python
89+
:dedent: 8
90+
:start-after: # [15-test_cloned_repo_object]
91+
:end-before: # ![15-test_cloned_repo_object]
9292

93-
.. literalinclude:: ../../test/test_quick_doc.py
94-
:language: python
95-
:dedent: 8
96-
:start-after: # [16-test_cloned_repo_object]
97-
:end-before: # ![16-test_cloned_repo_object]
93+
.. literalinclude:: ../../test/test_quick_doc.py
94+
:language: python
95+
:dedent: 8
96+
:start-after: # [16-test_cloned_repo_object]
97+
:end-before: # ![16-test_cloned_repo_object]
9898

9999

100100

0 commit comments

Comments
 (0)