Skip to content

Commit 89947fa

Browse files
committed
Add scroll-target class to fix scrolling reference
1 parent 0ad100d commit 89947fa

File tree

4 files changed

+91
-80
lines changed

4 files changed

+91
-80
lines changed

docs/manifest/json-ref/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The [C2PA specification](https://c2pa.org/specifications/specifications/2.1/spec
1010

1111
The JSON manifest is an abstract translation layer that's easier to understand than the binary format. It can describe everything in the underlying binary format except for binary data such as thumbnails that are included by a structure called a _resource reference_. To generate a binary manifest, the SDK assembles all the JSON objects, resource references, and ingredients defined, and then converts them into different assertions and other objects as required.
1212

13-
These JSON references are generated from the JSON schemas for [ManifestDefinition](https://docs.rs/c2pa/latest/c2pa/struct.ManifestDefinition.html) and [Reader](https://docs.rs/c2pa/latest/c2pa/struct.Reader.html) objects (structs in Rust terminology):
13+
These JSON references are generated from the JSON schemas for [ManifestDefinition](https://docs.rs/c2pa/latest/c2pa/struct.ManifestDefinition.html) and [Reader](https://docs.rs/c2pa/latest/c2pa/struct.Reader.html) objects (_structs_ in Rust terminology):
1414

15-
- [ManifestDefinition](manifest-def.mdx)
16-
- [Reader](reader.mdx)
15+
- [ManifestDefinition](manifest-def.mdx): Defines a manifest and builds a manifest store.
16+
- [Reader](reader.mdx): Reads and validates a manifest.

docs/manifest/json-ref/manifest-def.html

Lines changed: 37 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h2 id="manifestdefinition">ManifestDefinition</h2>
1+
<h2 class="scroll-target" id="manifestdefinition">ManifestDefinition</h2>
22

33
<div class="prop_desc">
44
<p>
@@ -9,7 +9,7 @@ <h2 id="manifestdefinition">ManifestDefinition</h2>
99
</p>
1010
</div>
1111

12-
<h3 id="properties">Properties</h3>
12+
<h3 class="scroll-target" id="properties">Properties</h3>
1313

1414
<table class="manifest-ref-table">
1515
<thead>
@@ -430,7 +430,7 @@ <h3 id="properties">Properties</h3>
430430

431431
<!---------------------------------------------------------------------->
432432

433-
<h2 id="definitions">Definitions</h2>
433+
<h2 class="scroll-target" id="definitions">Definitions</h2>
434434

435435
<!-- TOC-like links -->
436436
<table style="border: 0" width="900">
@@ -519,7 +519,7 @@ <h2 id="definitions">Definitions</h2>
519519
>
520520
</p>
521521

522-
<h3 id="actor">Actor</h3>
522+
<h3 class="scroll-target" id="actor">Actor</h3>
523523

524524
<p><!-- end of oneOf entity --></p>
525525

@@ -615,7 +615,7 @@ <h3 id="actor">Actor</h3>
615615
>
616616
</p>
617617

618-
<h3 id="assertiondata">AssertionData</h3>
618+
<h3 class="scroll-target" id="assertiondata">AssertionData</h3>
619619

620620
<p><!-- end of oneOf entity --></p>
621621

@@ -638,7 +638,7 @@ <h3 id="assertiondata">AssertionData</h3>
638638
>
639639
</p>
640640

641-
<h3 id="assertiondefinition">AssertionDefinition</h3>
641+
<h3 class="scroll-target" id="assertiondefinition">AssertionDefinition</h3>
642642

643643
<p><!-- end of oneOf entity --></p>
644644

@@ -721,7 +721,7 @@ <h3 id="assertiondefinition">AssertionDefinition</h3>
721721
>
722722
</p>
723723

724-
<h3 id="assettype">AssetType</h3>
724+
<h3 class="scroll-target" id="assettype">AssetType</h3>
725725

726726
<p><!-- end of oneOf entity --></p>
727727

@@ -806,7 +806,7 @@ <h3 id="assettype">AssetType</h3>
806806
>
807807
</p>
808808

809-
<h3 id="claimgeneratorinfo">ClaimGeneratorInfo</h3>
809+
<h3 class="scroll-target" id="claimgeneratorinfo">ClaimGeneratorInfo</h3>
810810

811811
<p><!-- end of oneOf entity --></p>
812812

@@ -965,7 +965,7 @@ <h3 id="claimgeneratorinfo">ClaimGeneratorInfo</h3>
965965
>
966966
</p>
967967

968-
<h3 id="coordinate">Coordinate</h3>
968+
<h3 class="scroll-target" id="coordinate">Coordinate</h3>
969969

970970
<p><!-- end of oneOf entity --></p>
971971

@@ -1047,7 +1047,7 @@ <h3 id="coordinate">Coordinate</h3>
10471047
>
10481048
</p>
10491049

1050-
<h3 id="datasource">DataSource</h3>
1050+
<h3 class="scroll-target" id="datasource">DataSource</h3>
10511051

10521052
<p><!-- end of oneOf entity --></p>
10531053

@@ -1180,7 +1180,7 @@ <h3 id="datasource">DataSource</h3>
11801180
>
11811181
</p>
11821182

1183-
<h3 id="frame">Frame</h3>
1183+
<h3 class="scroll-target" id="frame">Frame</h3>
11841184

11851185
<p><!-- end of oneOf entity --></p>
11861186

@@ -1282,7 +1282,7 @@ <h3 id="frame">Frame</h3>
12821282
>
12831283
</p>
12841284

1285-
<h3 id="hasheduri">HashedUri</h3>
1285+
<h3 class="scroll-target" id="hasheduri">HashedUri</h3>
12861286

12871287
<p><!-- end of oneOf entity --></p>
12881288

@@ -1408,7 +1408,7 @@ <h3 id="hasheduri">HashedUri</h3>
14081408
>
14091409
</p>
14101410

1411-
<h3 id="ingredient">Ingredient</h3>
1411+
<h3 class="scroll-target" id="ingredient">Ingredient</h3>
14121412

14131413
<p><!-- end of oneOf entity --></p>
14141414

@@ -2030,7 +2030,9 @@ <h3 id="ingredient">Ingredient</h3>
20302030
>
20312031
</p>
20322032

2033-
<h3 id="ingredientdeltavalidationresult">IngredientDeltaValidationResult</h3>
2033+
<h3 class="scroll-target" id="ingredientdeltavalidationresult">
2034+
IngredientDeltaValidationResult
2035+
</h3>
20342036

20352037
<p><!-- end of oneOf entity --></p>
20362038

@@ -2117,7 +2119,7 @@ <h3 id="ingredientdeltavalidationresult">IngredientDeltaValidationResult</h3>
21172119
>
21182120
</p>
21192121

2120-
<h3 id="item">Item</h3>
2122+
<h3 class="scroll-target" id="item">Item</h3>
21212123

21222124
<p><!-- end of oneOf entity --></p>
21232125

@@ -2207,7 +2209,7 @@ <h3 id="item">Item</h3>
22072209
>
22082210
</p>
22092211

2210-
<h3 id="metadata">Metadata</h3>
2212+
<h3 class="scroll-target" id="metadata">Metadata</h3>
22112213

22122214
<p><!-- end of oneOf entity --></p>
22132215

@@ -2366,7 +2368,7 @@ <h3 id="metadata">Metadata</h3>
23662368
>
23672369
</p>
23682370

2369-
<h3 id="range">Range</h3>
2371+
<h3 class="scroll-target" id="range">Range</h3>
23702372

23712373
<p><!-- end of oneOf entity --></p>
23722374

@@ -2553,7 +2555,7 @@ <h3 id="range">Range</h3>
25532555
>
25542556
</p>
25552557

2556-
<h3 id="rangetype">RangeType</h3>
2558+
<h3 class="scroll-target" id="rangetype">RangeType</h3>
25572559

25582560
<p>The type of range for the region of interest.</p>
25592561

@@ -2648,7 +2650,7 @@ <h3 id="rangetype">RangeType</h3>
26482650
>
26492651
</p>
26502652

2651-
<h3 id="regionofinterest">RegionOfInterest</h3>
2653+
<h3 class="scroll-target" id="regionofinterest">RegionOfInterest</h3>
26522654

26532655
<p><!-- end of oneOf entity --></p>
26542656

@@ -2924,7 +2926,7 @@ <h3 id="regionofinterest">RegionOfInterest</h3>
29242926
>
29252927
</p>
29262928

2927-
<h3 id="relationship">Relationship</h3>
2929+
<h3 class="scroll-target" id="relationship">Relationship</h3>
29282930

29292931
<p><!-- end of oneOf entity --></p>
29302932

@@ -2942,7 +2944,7 @@ <h3 id="relationship">Relationship</h3>
29422944
>
29432945
</p>
29442946

2945-
<h3 id="resourceref">ResourceRef</h3>
2947+
<h3 class="scroll-target" id="resourceref">ResourceRef</h3>
29462948

29472949
<p><!-- end of oneOf entity --></p>
29482950

@@ -3140,7 +3142,7 @@ <h3 id="resourceref">ResourceRef</h3>
31403142
>
31413143
</p>
31423144

3143-
<h3 id="reviewrating">ReviewRating</h3>
3145+
<h3 class="scroll-target" id="reviewrating">ReviewRating</h3>
31443146

31453147
<p><!-- end of oneOf entity --></p>
31463148

@@ -3258,7 +3260,7 @@ <h3 id="reviewrating">ReviewRating</h3>
32583260
>
32593261
</p>
32603262

3261-
<h3 id="role">Role</h3>
3263+
<h3 class="scroll-target" id="role">Role</h3>
32623264

32633265
<p>A role describing the region.</p>
32643266

@@ -3361,7 +3363,7 @@ <h3 id="role">Role</h3>
33613363
>
33623364
</p>
33633365

3364-
<h3 id="shape">Shape</h3>
3366+
<h3 class="scroll-target" id="shape">Shape</h3>
33653367

33663368
<p><!-- end of oneOf entity --></p>
33673369

@@ -3616,7 +3618,7 @@ <h3 id="shape">Shape</h3>
36163618
>
36173619
</p>
36183620

3619-
<h3 id="shapetype">ShapeType</h3>
3621+
<h3 class="scroll-target" id="shapetype">ShapeType</h3>
36203622

36213623
<p>The type of shape for the range.</p>
36223624

@@ -3662,7 +3664,7 @@ <h3 id="shapetype">ShapeType</h3>
36623664
>
36633665
</p>
36643666

3665-
<h3 id="statuscodes">StatusCodes</h3>
3667+
<h3 class="scroll-target" id="statuscodes">StatusCodes</h3>
36663668

36673669
<p><!-- end of oneOf entity --></p>
36683670

@@ -3776,7 +3778,7 @@ <h3 id="statuscodes">StatusCodes</h3>
37763778
>
37773779
</p>
37783780

3779-
<h3 id="text">Text</h3>
3781+
<h3 class="scroll-target" id="text">Text</h3>
37803782

37813783
<p><!-- end of oneOf entity --></p>
37823784

@@ -3834,7 +3836,7 @@ <h3 id="text">Text</h3>
38343836
>
38353837
</p>
38363838

3837-
<h3 id="textselector">TextSelector</h3>
3839+
<h3 class="scroll-target" id="textselector">TextSelector</h3>
38383840

38393841
<p><!-- end of oneOf entity --></p>
38403842

@@ -3969,7 +3971,7 @@ <h3 id="textselector">TextSelector</h3>
39693971
>
39703972
</p>
39713973

3972-
<h3 id="textselectorrange">TextSelectorRange</h3>
3974+
<h3 class="scroll-target" id="textselectorrange">TextSelectorRange</h3>
39733975

39743976
<p><!-- end of oneOf entity --></p>
39753977

@@ -4053,7 +4055,7 @@ <h3 id="textselectorrange">TextSelectorRange</h3>
40534055
>
40544056
</p>
40554057

4056-
<h3 id="time">Time</h3>
4058+
<h3 class="scroll-target" id="time">Time</h3>
40574059

40584060
<p><!-- end of oneOf entity --></p>
40594061

@@ -4169,7 +4171,7 @@ <h3 id="time">Time</h3>
41694171
>
41704172
</p>
41714173

4172-
<h3 id="timetype">TimeType</h3>
4174+
<h3 class="scroll-target" id="timetype">TimeType</h3>
41734175

41744176
<p>The type of time.</p>
41754177

@@ -4206,7 +4208,7 @@ <h3 id="timetype">TimeType</h3>
42064208
>
42074209
</p>
42084210

4209-
<h3 id="unittype">UnitType</h3>
4211+
<h3 class="scroll-target" id="unittype">UnitType</h3>
42104212

42114213
<p>The type of unit for the range.</p>
42124214

@@ -4245,7 +4247,7 @@ <h3 id="unittype">UnitType</h3>
42454247
>
42464248
</p>
42474249

4248-
<h3 id="uriorresource">UriOrResource</h3>
4250+
<h3 class="scroll-target" id="uriorresource">UriOrResource</h3>
42494251

42504252
<p><!-- end of oneOf entity --></p>
42514253

@@ -4270,7 +4272,7 @@ <h3 id="uriorresource">UriOrResource</h3>
42704272
>
42714273
</p>
42724274

4273-
<h3 id="validationresults">ValidationResults</h3>
4275+
<h3 class="scroll-target" id="validationresults">ValidationResults</h3>
42744276

42754277
<p><!-- end of oneOf entity --></p>
42764278

@@ -4358,7 +4360,7 @@ <h3 id="validationresults">ValidationResults</h3>
43584360
>
43594361
</p>
43604362

4361-
<h3 id="validationstatus">ValidationStatus</h3>
4363+
<h3 class="scroll-target" id="validationstatus">ValidationStatus</h3>
43624364

43634365
<p><!-- end of oneOf entity --></p>
43644366

0 commit comments

Comments
 (0)