Skip to content

Commit 388efba

Browse files
committed
Minor fixes for some docstrings
1 parent 525754e commit 388efba

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@
9595
# Add any paths that contain custom static files (such as style sheets) here,
9696
# relative to this directory. They are copied after the builtin static files,
9797
# so a file named "default.css" will overwrite the builtin "default.css".
98-
html_static_path = ['_static']
98+
# html_static_path = ['_static']
99+
html_static_path = []
99100

100101

101102
# -- Options for HTMLHelp output ------------------------------------------

docs/quickstart.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,13 @@ Work with your projects::
3535

3636
Run new jobs from the client::
3737

38+
>>> project = client.get_project(123)
3839
>>> project.jobs.run('spider1', job_args={'arg1':'val1'})
3940
<scrapinghub.client.Job at 0x106ee12e8>>
4041

41-
Access job data::
42+
Access your jobs data::
4243

43-
>>> job = project.job(u'123/1/2')
44+
>>> job = client.get_job('123/1/2')
4445
>>> for item in job.items():
4546
... print(item)
4647
{

scrapinghub/client/jobs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ class Job(object):
385385
386386
Usage::
387387
388-
>>> job = project.job('123/1/2')
388+
>>> job = project.jobs.get('123/1/2')
389389
>>> job.key
390390
'123/1/2'
391391
>>> job.metadata.get('state')

0 commit comments

Comments
 (0)