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
29 changes: 29 additions & 0 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Gradle Wrapper validation

# `migrate` distributes this workflow only to Hugo-only repositories that carry a
# Gradle Wrapper. They keep the wrapper merely to run Hugo through Gradle tasks, and
# none of their workflows sets Gradle up through `gradle/actions/setup-gradle`, so
# nothing else checks that the wrapper JAR is genuine. A JVM repository does not
# receive it: `setup-gradle`, used by every workflow that runs Gradle there,
# validates the wrapper itself.
on:
push:
branches:
- master
pull_request:
branches:
- '**'

permissions:
contents: read

jobs:
validation:
name: Validate Gradle Wrapper
runs-on: ubuntu-latest
steps:
- name: Checkout latest code
uses: actions/checkout@v6

- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v6
12 changes: 12 additions & 0 deletions SPINE_RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,18 @@ versioned folder and configured via `module.mounts`.
item_visible: false
```

3. If you moved the content in step 1, update `docs-path` in
`docs/_settings/v1.embed-code.yml`, the code embedding config for version 1,
so that it follows the moved content:

```yml
code-path: "../_code"
docs-path: "../content/docs/1" # Change the path from `../content/docs` to `../content/docs/1`.
```

The `checkSamples` and `embedCode` Gradle tasks read this file and fail
if `docs-path` points to a folder that does not exist.

Now version 2 will be available at the `https://spine.io/docs/` URL.

Get updates into the main website:
Expand Down
Binary file modified docs/_bin/embed-code-macos
Binary file not shown.
Binary file modified docs/_bin/embed-code-macos-x86_64
Binary file not shown.
Binary file modified docs/_bin/embed-code-ubuntu
Binary file not shown.
Binary file added docs/_bin/embed-code-windows.exe
Binary file not shown.
5 changes: 1 addition & 4 deletions docs/_settings/v1.embed-code.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
code-path: "../_code"
docs-path: "../content/docs/1"
embed-mappings:
- code-path: "../_code"
docs-path: "../content/docs/1"
docs-path: "../content/docs"
2 changes: 1 addition & 1 deletion docs/assets/js/docs/architecture-diagram.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* This is a JavaScript file that backs the Spine architecture diagram.
*
* Please see `/docs/1/introduction/architecture.md` for usage.
* Please see `/docs/introduction/architecture.md` for usage.
*/

$(
Expand Down
Loading