Skip to content

Commit c2eb346

Browse files
authored
fix(docs): Validation of docs generation in CI (#272)
* fix(docs): Validation of docs generation in CI * fix(docs): remove test code from docs earthfile * fix(docs): regenerate image with latest stable d2
1 parent 37f7644 commit c2eb346

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+832
-343
lines changed

.config/dictionaries/project.dic

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ fmmap
9090
fmtchk
9191
fmtfix
9292
fontawesome
93+
fromfiledate
9394
fsgr
9495
fstat
9596
fstatat
@@ -134,6 +135,7 @@ libp2p
134135
libsqlite
135136
libssh
136137
libtest
138+
lineterm
137139
linkat
138140
lintfix
139141
lipsum
@@ -260,6 +262,8 @@ timelike
260262
timespec
261263
tinygo
262264
tinyvec
265+
tofile
266+
tofiledate
263267
toobig
264268
toolsets
265269
Traceback

docs/Earthfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ IMPORT github.com/input-output-hk/catalyst-ci/earthly/docs:v3.3.0 AS docs-ci
44

55

66
IMPORT .. AS repo
7-
IMPORT ../specs AS specs
87

98
# Copy all the source we need to build the docs
109
src:
@@ -14,8 +13,12 @@ src:
1413
# Now copy into that any artifacts we pull from the builds.
1514
COPY --dir repo+repo-docs/repo /docs/includes
1615

17-
# Copy our generated Signed Document Specification data.
18-
COPY specs+src/signed_doc.json /docs/includes
16+
# Save a copy of the generated doc pages, so they can be validated.
17+
# These need to be in-sync with the signed docs specification data.
18+
generated-signed-docs-pages:
19+
FROM +src
20+
21+
SAVE ARTIFACT src/architecture/08_concepts/signed_doc signed_doc
1922

2023

2124
# Build the docs here.

docs/src/architecture/08_concepts/signed_doc/doc_relationships.d2

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,19 @@ copyright: |~md
1818
| --- | --- |
1919
| License | This document is licensed under CC-BY-4.0 |
2020
| Created | 2024-12-27 |
21-
| Modified | 2025-04-04 |
21+
| Modified | 2025-04-09 |
2222
| Authors | Alex Pozhylenkov <[email protected]> |
2323
| | Steven Johnson <[email protected]> |
2424

25+
### Changelog
26+
27+
#### 0.01 (2025-04-04)
28+
29+
* First Published Version
30+
31+
#### 0.02 (2025-04-09)
32+
33+
* Add version control changelogs to the specification.
2534
~| {near: bottom-right}
2635

2736
"Brand Parameters": {
@@ -57,7 +66,7 @@ copyright: |~md
5766

5867

5968

60-
"Comment Action Document": {
69+
"Comment Moderation Action": {
6170
shape: sql_table
6271
"content type": application/json
6372
"type [0]": 5e60e623-ad02-4a1b-a1ac-406db978ee48

docs/src/architecture/08_concepts/signed_doc/doc_relationships.svg

Lines changed: 297 additions & 288 deletions
Loading

docs/src/architecture/08_concepts/signed_doc/docs/brand_parameters.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,16 @@ New versions of this document may be published by:
100100
| --- | --- |
101101
| License | This document is licensed under [CC-BY-4.0] |
102102
| Created | 2024-12-27 |
103-
| Modified | 2025-04-04 |
103+
| Modified | 2025-04-09 |
104104
| Authors | Alex Pozhylenkov <[email protected]> |
105105
| | Steven Johnson <[email protected]> |
106106

107+
### Changelog
108+
109+
#### 0.01 (2025-04-04)
110+
111+
* First Published Version
112+
107113
[RFC9052-HeaderParameters]: https://www.rfc-editor.org/rfc/rfc8152#section-3.1
108114
[CC-BY-4.0]: https://creativecommons.org/licenses/by/4.0/legalcode
109115
[RFC9562-V7]: https://www.rfc-editor.org/rfc/rfc9562.html#name-uuid-version-7

docs/src/architecture/08_concepts/signed_doc/docs/campaign_parameters.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,16 @@ New versions of this document may be published by:
100100
| --- | --- |
101101
| License | This document is licensed under [CC-BY-4.0] |
102102
| Created | 2024-12-27 |
103-
| Modified | 2025-04-04 |
103+
| Modified | 2025-04-09 |
104104
| Authors | Alex Pozhylenkov <[email protected]> |
105105
| | Steven Johnson <[email protected]> |
106106

107+
### Changelog
108+
109+
#### 0.01 (2025-04-04)
110+
111+
* First Published Version
112+
107113
[RFC9052-HeaderParameters]: https://www.rfc-editor.org/rfc/rfc8152#section-3.1
108114
[CC-BY-4.0]: https://creativecommons.org/licenses/by/4.0/legalcode
109115
[RFC9562-V7]: https://www.rfc-editor.org/rfc/rfc9562.html#name-uuid-version-7

docs/src/architecture/08_concepts/signed_doc/docs/category_parameters.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,16 @@ New versions of this document may be published by:
100100
| --- | --- |
101101
| License | This document is licensed under [CC-BY-4.0] |
102102
| Created | 2024-12-27 |
103-
| Modified | 2025-04-04 |
103+
| Modified | 2025-04-09 |
104104
| Authors | Alex Pozhylenkov <[email protected]> |
105105
| | Steven Johnson <[email protected]> |
106106

107+
### Changelog
108+
109+
#### 0.01 (2025-04-04)
110+
111+
* First Published Version
112+
107113
[RFC9052-HeaderParameters]: https://www.rfc-editor.org/rfc/rfc8152#section-3.1
108114
[CC-BY-4.0]: https://creativecommons.org/licenses/by/4.0/legalcode
109115
[RFC9562-V7]: https://www.rfc-editor.org/rfc/rfc9562.html#name-uuid-version-7

docs/src/architecture/08_concepts/signed_doc/docs/comment_action_document.md renamed to docs/src/architecture/08_concepts/signed_doc/docs/comment_moderation_action.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Comment Action Document
1+
# Comment Moderation Action
22

33
## Description
44

55
TODO
66

77
```d2 layout="elk"
8-
"Comment Action Document": {
8+
"Comment Moderation Action": {
99
shape: sql_table
1010
"content type": application/json
1111
"type [0]": 5e60e623-ad02-4a1b-a1ac-406db978ee48
@@ -102,10 +102,16 @@ New versions of this document may be published by:
102102
| --- | --- |
103103
| License | This document is licensed under [CC-BY-4.0] |
104104
| Created | 2024-12-27 |
105-
| Modified | 2025-04-04 |
105+
| Modified | 2025-04-09 |
106106
| Authors | Alex Pozhylenkov <[email protected]> |
107107
| | Steven Johnson <[email protected]> |
108108

109+
### Changelog
110+
111+
#### 0.01 (2025-04-04)
112+
113+
* First Published Version
114+
109115
[RFC9052-HeaderParameters]: https://www.rfc-editor.org/rfc/rfc8152#section-3.1
110116
[CC-BY-4.0]: https://creativecommons.org/licenses/by/4.0/legalcode
111117
[RFC9562-V7]: https://www.rfc-editor.org/rfc/rfc9562.html#name-uuid-version-7

docs/src/architecture/08_concepts/signed_doc/docs/election_parameters.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,16 @@ New versions of this document may be published by:
100100
| --- | --- |
101101
| License | This document is licensed under [CC-BY-4.0] |
102102
| Created | 2024-12-27 |
103-
| Modified | 2025-04-04 |
103+
| Modified | 2025-04-09 |
104104
| Authors | Alex Pozhylenkov <[email protected]> |
105105
| | Steven Johnson <[email protected]> |
106106

107+
### Changelog
108+
109+
#### 0.01 (2025-04-04)
110+
111+
* First Published Version
112+
107113
[RFC9052-HeaderParameters]: https://www.rfc-editor.org/rfc/rfc8152#section-3.1
108114
[CC-BY-4.0]: https://creativecommons.org/licenses/by/4.0/legalcode
109115
[RFC9562-V7]: https://www.rfc-editor.org/rfc/rfc9562.html#name-uuid-version-7

docs/src/architecture/08_concepts/signed_doc/docs/proposal.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,16 @@ New versions of this document may be published by:
174174
| --- | --- |
175175
| License | This document is licensed under [CC-BY-4.0] |
176176
| Created | 2024-12-27 |
177-
| Modified | 2025-04-04 |
177+
| Modified | 2025-04-09 |
178178
| Authors | Alex Pozhylenkov <[email protected]> |
179179
| | Steven Johnson <[email protected]> |
180180

181+
### Changelog
182+
183+
#### 0.01 (2025-04-04)
184+
185+
* First Published Version
186+
181187
[RFC9052-HeaderParameters]: https://www.rfc-editor.org/rfc/rfc8152#section-3.1
182188
[CC-BY-4.0]: https://creativecommons.org/licenses/by/4.0/legalcode
183189
[RFC9562-V7]: https://www.rfc-editor.org/rfc/rfc9562.html#name-uuid-version-7

0 commit comments

Comments
 (0)