Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 47 additions & 17 deletions bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ actions:
format: "turtle"
includes:
- "*.ttl"
excludes:
- gistValidationAnnotations.ttl
Comment on lines -122 to -123
Copy link
Contributor Author

@coltonglasgow coltonglasgow Nov 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a duplicate line that did not do anything. This file is being excluded above on line 107.

query: >
prefix gist: <https://w3id.org/semanticarts/ns/ontology/gist/>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
Expand Down Expand Up @@ -167,11 +165,16 @@ actions:
rename:
from: "formatted_(.*)\\.ttl"
to: "\\g<1>.ttl"
- action: "move"
source: "{output}/ontologies/"
target: "{output}/ontologies/turtle/"
includes:
- "*.ttl"
- action: "transform"
message: "RDF/XML serialization."
tool: "xml-serializer"
source: "{output}/ontologies"
target: "{output}/ontologies"
source: "{output}/ontologies/turtle/"
target: "{output}/ontologies/rdf-xml/"
rename:
from: "(.*)\\.ttl"
to: "\\g<1>.rdf"
Expand All @@ -180,8 +183,8 @@ actions:
- action: "transform"
message: "JSON-LD serialization."
tool: "json-serializer"
source: "{output}/ontologies"
target: "{output}/ontologies"
source: "{output}/ontologies/turtle/"
target: "{output}/ontologies/json-ld/"
rename:
from: "(.*)\\.ttl"
to: "\\g<1>.jsonld"
Expand Down Expand Up @@ -215,7 +218,7 @@ actions:
- action: "move"
message: "Patching local links in documentation."
source: "{output}/docs/"
target: "{output}/docs/"
target: "{output}/docs/html/"
includes:
- "*.html"
# Replace .md with .html in local links of HTML files.
Expand All @@ -224,20 +227,27 @@ actions:
replace:
from: "((\\./|(?:\\.\\./)+).+)\\.md"
to: "\\g<1>.html"
- action: "move"
source: "{output}/docs/"
target: "{output}/docs/markdown/"
includes:
- "*.md"
- action: "copy"
message: "Copying model documentation."
source: "{input}/docs/models"
target: "{output}/docs/models"
source: "{input}/docs/models/"
target: "{output}/docs/markdown/models/"
includes:
- "*.md"
- action: "markdown"
message: "Formatting model documentation as HTML."
source: "{output}/docs/models/"
target: "{output}/docs/models/"
source: "{output}/docs/markdown/models/"
target: "{output}/docs/markdown/models/"
includes:
- "*.md"
- action: "move"
message: "Patching local links in HTML model documentation."
source: "{output}/docs/models/"
target: "{output}/docs/models/"
source: "{output}/docs/markdown/models/"
target: "{output}/docs/html/models/"
includes:
- "*.html"
# Replace .md with .html in local links of HTML files
Expand All @@ -257,13 +267,18 @@ actions:
- action: "move"
message: "Patching local links in gist 11.0 HTML migration documentation."
source: "{output}/migration/v11.0/"
target: "{output}/migration/v11.0/"
target: "{output}/migration/v11.0/html/"
includes:
- "*.html"
# Replace .md with .html in local links of HTML files
replace:
from: "((\\./|(?:\\.\\./)+).+)\\.md"
to: "\\g<1>.html"
- action: "move"
source: "{output}/migration/v11.0/"
target: "{output}/migration/v11.0/markdown/"
includes:
- "*.md"
- action: "markdown"
message: "Formatting gist 12.0 migration documentation as HTML."
source: "{output}/migration/v12.0/"
Expand All @@ -273,13 +288,18 @@ actions:
- action: "move"
message: "Patching local links in gist 12.0 HTML migration documentation."
source: "{output}/migration/v12.0/"
target: "{output}/migration/v12.0/"
target: "{output}/migration/v12.0/html/"
includes:
- "*.html"
# Replace .md with .html in local links of HTML files
replace:
from: "((\\./|(?:\\.\\./)+).+)\\.md"
to: "\\g<1>.html"
- action: "move"
source: "{output}/migration/v12.0/"
target: "{output}/migration/v12.0/markdown/"
includes:
- "*.md"
- action: "markdown"
message: "Formatting gist 13.0 migration documentation as HTML."
source: "{output}/migration/v13.0/"
Expand All @@ -289,13 +309,18 @@ actions:
- action: "move"
message: "Patching links in gist 13.0 HTML migration documentation."
source: "{output}/migration/v13.0/"
target: "{output}/migration/v13.0/"
target: "{output}/migration/v13.0/html/"
includes:
- "*.html"
# Replace .md with .html in local links of HTML files
replace:
from: "((\\./|(?:\\.\\./)+).+)\\.md"
to: "\\g<1>.html"
- action: "move"
source: "{output}/migration/v13.0/"
target: "{output}/migration/v13.0/markdown/"
includes:
- "*.md"
- action: "markdown"
message: "Formatting gist 14.0 migration documentation as HTML."
source: "{output}/migration/v14.0/"
Expand All @@ -305,9 +330,14 @@ actions:
- action: "move"
message: "Patching links in gist 14.0 HTML migration documentation."
source: "{output}/migration/v14.0/"
target: "{output}/migration/v14.0/"
target: "{output}/migration/v14.0/html/"
includes:
- "*.html"
- action: "move"
source: "{output}/migration/v14.0/"
target: "{output}/migration/v14.0/markdown/"
includes:
- "*.md"
# Replace .md with .html in local links of HTML files
replace:
from: "((\\./|(?:\\.\\./)+).+)\\.md"
Expand Down
4 changes: 4 additions & 0 deletions docs/release_notes/1347_release_notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
### Patch Updates

- Added serialization specific directory creation to `bundle.yaml`. Issue [#1347](https://github.com/semanticarts/gist/issues/1347).
- Updated `bundle.yaml` to create `markdown` and `html` directories. Issue [#1347](https://github.com/semanticarts/gist/issues/1347).