Skip to content
Merged
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
3 changes: 0 additions & 3 deletions docs/_preview/.browserslistrc

This file was deleted.

64 changes: 0 additions & 64 deletions docs/_preview/assets/scss/docs/_home.scss

This file was deleted.

37 changes: 0 additions & 37 deletions docs/_preview/assets/scss/docs/_layout.scss

This file was deleted.

36 changes: 0 additions & 36 deletions docs/_preview/assets/scss/main.scss

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ title: Validation Documentation preview

# Welcome to Validation Documentation

Go to the [docs/](docs/) to preview the rendered documentation.
Go to the [docs/validation/](docs/validation/00-intro/) to preview the rendered documentation.

Read the [Authoring][authoring] guide on adding the content to the documentation.

<p class="subtle">This page is only available on this preview site and will not be
rendered on <a href="https://spine.io">spine.io</a>.</p>
This page is only available on this preview site and will not be
rendered on [spine.io](https://spine.io).
{class="subtle"}

[authoring]: https://github.com/SpineEventEngine/SpineEventEngine.github.io/blob/master/AUTHORING.md
7 changes: 6 additions & 1 deletion docs/_preview/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@ module spine.io/validation/docs/preview

go 1.25.6

require github.com/SpineEventEngine/site-commons v0.0.0-20260203112455-f2654efc9127 // indirect
require (
github.com/SpineEventEngine/site-commons v0.0.0-20260211172012-ed1994c0c0f3 // indirect
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20400 // indirect
github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000 // indirect
github.com/twbs/bootstrap v5.3.8+incompatible // indirect
)
11 changes: 9 additions & 2 deletions docs/_preview/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
github.com/SpineEventEngine/site-commons v0.0.0-20260203112455-f2654efc9127 h1:uIbC8yEB3A/9g5HShNsBpqhmfRlxGpkWcDCbqWjCPH0=
github.com/SpineEventEngine/site-commons v0.0.0-20260203112455-f2654efc9127/go.mod h1:tkAl4StIREKmz9r5PiJtuDhvwMMkFXKWcaTyxhIikho=
github.com/SpineEventEngine/site-commons v0.0.0-20260211172012-ed1994c0c0f3 h1:Fweb3jJxf9gpjKEBlOAAaFHzlju4qnGlxj/3UJaa7UA=
github.com/SpineEventEngine/site-commons v0.0.0-20260211172012-ed1994c0c0f3/go.mod h1:tkAl4StIREKmz9r5PiJtuDhvwMMkFXKWcaTyxhIikho=
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20400 h1:L6+F22i76xmeWWwrtijAhUbf3BiRLmpO5j34bgl1ggU=
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20400/go.mod h1:uekq1D4ebeXgduLj8VIZy8TgfTjrLdSl6nPtVczso78=
github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000 h1:GZxx4Hc+yb0/t3/rau1j8XlAxLE4CyXns2fqQbyqWfs=
github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000/go.mod h1:mFberT6ZtcchrsDtfvJM7aAH2bDKLdOnruUHl0hlapI=
github.com/twbs/bootstrap v5.3.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
github.com/twbs/bootstrap v5.3.8+incompatible h1:eK1fsXP7R/FWFt+sSNmmvUH9usPocf240nWVw7Dh02o=
github.com/twbs/bootstrap v5.3.8+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
50 changes: 6 additions & 44 deletions docs/_preview/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,56 +6,18 @@ disableKinds = ['taxonomy', 'term']
[module]
# First theme has higher priority than later ones.
[[module.imports]]
path = 'github.com/SpineEventEngine/site-commons'

path = '../..'
[[module.imports]]
path = 'github.com/SpineEventEngine/validation/docs'
[[module.imports.mounts]]
source = 'content'
target = 'content'
[[module.imports.mounts]]
source = 'layouts'
target = 'layouts'
[[module.imports.mounts]]
source = 'assets'
target = 'assets'
[[module.imports.mounts]]
source = 'static'
target = 'static'
path = 'github.com/SpineEventEngine/site-commons'

# Enables HTML rendering in markdown files.
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[markup.goldmark.parser]
[markup.goldmark.parser.attribute]
block = true
title = true
[markup.highlight]
noClasses = false

# Version control config.
# To change the current main version, update only the `path` parameter.
# Read more in the `SPINE_RELEASE.md` guide.
#
# The same settings should be copied to the `SpineEventEngine/SpineEventEngine.github.io`
# project due to the issue with the cascade arrays:
# https://github.com/gohugoio/hugo/issues/13869
[[cascade]]
[cascade.params]
url = 'docs/'
[cascade.target]
# The path to the `_index.md` of the current main version.
path = '{/docs}'
kind = 'section'
[[cascade]]
[cascade.params]
url = 'docs/:sections[2:]/'
[cascade.target]
# The path to the current main version.
path = '{/docs/**}'
kind = 'section'
[[cascade]]
[cascade.params]
url = 'docs/:sections[2:]/:contentbasename/'
[cascade.target]
# The path to the current main version.
path = '{/docs/**}'
kind = 'page'
31 changes: 0 additions & 31 deletions docs/_preview/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions docs/_preview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,5 @@
"postcss": "^8.5.6",
"postcss-cli": "^11.0.1",
"postcss-discard-comments": "^7.0.5"
},
"dependencies": {
"bootstrap": "^5.3.8"
}
}
4 changes: 4 additions & 0 deletions docs/content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
build:
render: never
---
4 changes: 4 additions & 0 deletions docs/content/docs/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
build:
render: never
---
4 changes: 4 additions & 0 deletions docs/content/docs/validation/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
build:
render: never
---
4 changes: 4 additions & 0 deletions docs/content/docs/validation/developers-guide/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
build:
render: never
---
11 changes: 11 additions & 0 deletions docs/data/docs/validation/2/sidenav.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# The `file_path` should be relative to the `docs/validation`.
# Thanks to this, links to the version will be generated automatically.
# Also, the `file_path` must not end with a trailing slash.

- page: Validation
key: validation
children:
- page: Overview
file_path: 00-intro
- page: Philosophy
file_path: 00-intro/philosophy
9 changes: 9 additions & 0 deletions docs/data/versions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
validation:
- short: "2"
full: 2.0.0-SNAPSHOT
path: docs/validation
url: docs/validation
is_main: true
switcher:
visible: false
item_visible: false
6 changes: 0 additions & 6 deletions docs/hugo.toml

This file was deleted.

Loading