Website: Add more links to the built-in job compiler scripts

I hope this makes them easier to find.
This commit is contained in:
Sybren A. Stüvel 2025-01-09 11:00:17 +01:00
parent 7be05afa11
commit e4692e77e8
5 changed files with 10 additions and 7 deletions

View File

@ -11,7 +11,7 @@ Manager web-interface after installation.
The latest version is: **{{< flamenco/latestVersion >}}** The latest version is: **{{< flamenco/latestVersion >}}**
What is new is described in the {{< flamenco/releaseChangelogLink "release changelog" ->}}. What is new is described in the {{< flamenco/releaseSourceLink "CHANGELOG.md" "release changelog" ->}}.
| Platform | File | | Platform | File |
|------------------------------------|----------------------------------------------------------------------------------------------| |------------------------------------|----------------------------------------------------------------------------------------------|

View File

@ -57,7 +57,7 @@ Each job compiler has two parts to it:
TODO: write more documentation. For now, you can refer to [the built-in job TODO: write more documentation. For now, you can refer to [the built-in job
compiler scripts][built-in-scripts] as examples. compiler scripts][built-in-scripts] as examples.
[built-in-scripts]: https://projects.blender.org/studio/flamenco/src/branch/main/internal/manager/job_compilers/scripts [built-in-scripts]: {{< ref "builtin.md" >}}
## Task Types ## Task Types

View File

@ -5,8 +5,8 @@ weight: 10
Flamenco comes with built-in job types that are used for most common tasks. Currently, there are two of them: Flamenco comes with built-in job types that are used for most common tasks. Currently, there are two of them:
- Simple Blender Render - Simple Blender Render ({{< flamenco/releaseSourceLink "internal/manager/job_compilers/scripts/simple_blender_render.js" "source" ->}})
- Single Image Render - Single Image Render ({{< flamenco/releaseSourceLink "internal/manager/job_compilers/scripts/simple_blender_render.js" "source" ->}})
## Simple Blender Render ## Simple Blender Render

View File

@ -1,3 +0,0 @@
{{- $version := .Get "version" | default $.Site.Data.flamenco.latestVersion -}} {{- $linktext :=
.Get 0 | default "missing link text" -}}
<a class="flamenco-changelog-link" href="https://projects.blender.org/studio/flamenco/src/tag/v{{$version}}/CHANGELOG.md">{{ $linktext }}</a>

View File

@ -0,0 +1,6 @@
{{- $version := .Get "version" | default $.Site.Data.flamenco.latestVersion -}}
{{- $url := .Get 0 | default "missing-url" -}}
{{- $linktext := .Get 1 | default "missing link text" -}}
<a class="flamenco-source-link" href="https://projects.blender.org/studio/flamenco/src/tag/v{{$version}}/{{$url}}">{{
$linktext }}</a>
{{- "" -}}