Skip to content

Commit 1003c66

Browse files
hugovkByron
authored andcommitted
Fix Sphinx warnings
1 parent dff15cd commit 1003c66

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

doc/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
# Add any paths that contain custom static files (such as style sheets) here,
121121
# relative to this directory. They are copied after the builtin static files,
122122
# so a file named "default.css" will overwrite the builtin "default.css".
123-
html_static_path = ['.static']
123+
#html_static_path = ['.static']
124124

125125
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
126126
# using the given strftime format.

gitdb/db/base.py

+5
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ def __contains__(self, sha):
3333
#{ Query Interface
3434
def has_object(self, sha):
3535
"""
36+
Whether the object identified by the given 20 bytes
37+
binary sha is contained in the database
38+
3639
:return: True if the object identified by the given 20 bytes
3740
binary sha is contained in the database"""
3841
raise NotImplementedError("To be implemented in subclass")
@@ -82,6 +85,8 @@ def set_ostream(self, stream):
8285

8386
def ostream(self):
8487
"""
88+
Return the output stream
89+
8590
:return: overridden output stream this instance will write to, or None
8691
if it will write to the default stream"""
8792
return self._ostream

gitdb/db/mem.py

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ def stream_copy(self, sha_iter, odb):
9292
"""Copy the streams as identified by sha's yielded by sha_iter into the given odb
9393
The streams will be copied directly
9494
**Note:** the object will only be written if it did not exist in the target db
95+
9596
:return: amount of streams actually copied into odb. If smaller than the amount
9697
of input shas, one or more objects did already exist in odb"""
9798
count = 0

0 commit comments

Comments
 (0)