Skip to content

Commit bde874d

Browse files
committed
Wouldn't be complete without refs which fail now only in ReadTheDocs. :/
1 parent 4320a2c commit bde874d

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

docs/faq.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ How do I configure a base URI for $ref resolution using local files?
104104

105105
`jsonschema` supports loading schemas from the filesystem.
106106

107-
The most common mistake when configuring a :class:`~jsonschema.RefResolver`
107+
The most common mistake when configuring a `jsonschema.validators.RefResolver`
108108
to retrieve schemas from the local filesystem is to give it a base URI
109109
which points to a directory, but forget to add a trailing slash.
110110

@@ -212,8 +212,8 @@ be valid under the schema.)
212212

213213
See the above-linked document for more info on how this works,
214214
but basically, it just extends the :kw:`properties` keyword on a
215-
`jsonschema.Draft202012Validator` to then go ahead and update all the
216-
defaults.
215+
`jsonschema.validators.Draft202012Validator` to then go ahead and update
216+
all the defaults.
217217

218218
.. note::
219219

jsonschema/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
The main functionality is provided by the validator classes for each of the
55
supported JSON Schema versions.
66
7-
Most commonly, `validate` is the quickest way to simply validate a given
8-
instance under a schema, and will create a validator for you.
7+
Most commonly, `jsonschema.validators.validate` is the quickest way to simply
8+
validate a given instance under a schema, and will create a validator
9+
for you.
910
"""
1011
import warnings
1112

0 commit comments

Comments
 (0)