Skip to content

Commit e83228c

Browse files
authored
Merge pull request #693 from common-workflow-language/typos
Fix typos
2 parents ebcd8ae + c11b78d commit e83228c

File tree

5 files changed

+11
-15
lines changed

5 files changed

+11
-15
lines changed

.readthedocs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@ sphinx:
1212
# Optionally build your docs in additional formats such as PDF and ePub
1313
formats: all
1414

15+
build:
16+
os: ubuntu-22.04
17+
tools:
18+
python: "3.11"
19+
1520
# Optionally set the version of Python and requirements required to build your docs
1621
python:
17-
version: 3.7
1822
install:
1923
- method: pip
2024
path: .

schema_salad/metaschema/salad.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ documentation.
7373

7474
## Introduction to v1.1
7575

76-
This is the third version of of the Schema Salad specification. It is
76+
This is the third version of the Schema Salad specification. It is
7777
developed concurrently with v1.1 of the Common Workflow Language for use in
7878
specifying the Common Workflow Language, however Schema Salad is intended to be
7979
useful to a broader audience. Compared to the v1.0 schema salad
@@ -121,7 +121,7 @@ the behavior of conforming implementations.
121121

122122
The terminology used to describe Salad documents is defined in the Concepts
123123
section of the specification. The terms defined in the following list are
124-
used in building those definitions and in describing the actions of an
124+
used in building those definitions and in describing the actions of a
125125
Salad implementation:
126126

127127
**may**: Conforming Salad documents and Salad implementations are permitted but
@@ -268,14 +268,14 @@ rules:
268268

269269
## Document traversal
270270

271-
To perform document document preprocessing, link validation and schema
271+
To perform document preprocessing, link validation and schema
272272
validation, the document must be traversed starting from the fields or
273273
array items of the root object or array and recursively visiting each child
274274
item which contains an object or arrays.
275275

276276
## Short names
277277

278-
The "short name" of an fully qualified identifier is the portion of
278+
The "short name" of a fully qualified identifier is the portion of
279279
the identifier following the final slash `/` of either the fragment
280280
identifier following `#` or the path portion, if there is no fragment.
281281
Some examples:

schema_salad/tests/metaschema-pre.yml

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

schema_salad/tests/test_examples.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,6 @@ def test_bad_schemas(caplog: pytest.LogCaptureFixture) -> None:
5252
"Could not load extension schema https://bad.example.com/missing.ttl: "
5353
"Error fetching https://bad.example.com/missing.ttl"
5454
) in caplog.text
55-
assert (
56-
"https://schema.org/!DOCTYPE html does not look like a valid URI, "
57-
"trying to serialize this will break"
58-
) in caplog.text
59-
assert (
60-
"Could not load extension schema https://schema.org/docs/schema_org_rdfa.html: "
61-
"No plugin registered for (rdfa, <class 'rdflib.parser.Parser'>)"
62-
) in caplog.text
6355

6456

6557
def test_skip_bad_schemas(caplog: pytest.LogCaptureFixture) -> None:

schema_salad/tests/test_makedoc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,5 +239,5 @@ def test_detect_changes_in_html(metaschema_doc: str, tmp_path: Path) -> None:
239239
with open(result, "w") as h:
240240
h.write(metaschema_doc)
241241
assert (
242-
hasher.hexdigest() == "5fd520208b242c0fbf50235c83c88bc462f2b8d67b3dfbb9ffb399d7851fdab2"
242+
hasher.hexdigest() == "4e67cb0a28829f9e14ecce93183fcf89fedb2446ae6cd717ccb2966609fe76a2"
243243
), result

0 commit comments

Comments
 (0)