feat: make supervisor signature optional (#112)
Create Release Commit / prepare (push) Has been cancelled
Details
Create Release Commit / prepare (push) Has been cancelled
Details
Release-As: v0.5.4 Reviewed-on: #112
This commit is contained in:
parent
1d6a900fca
commit
bdbf641fd4
|
@ -2,11 +2,12 @@ name: Build'n check
|
|||
run-name: Performing Typst compilation
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
branches:
|
||||
- main
|
||||
push:
|
||||
branches-ignore:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
run-ci-linux:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -14,7 +15,8 @@ jobs:
|
|||
# push with commit containing "Run-Checks"
|
||||
if: >
|
||||
(contains(github.event.head_commit.message, 'Run-Checks') &&
|
||||
github.event_name == 'push')
|
||||
github.event_name == 'push') ||
|
||||
github.event_name == 'pull_request'
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
name: "dualen Hochschule Baden-Württemberg",
|
||||
campus: "Eppelheim"
|
||||
),
|
||||
supervisor-signature: false,
|
||||
authors: (
|
||||
(
|
||||
name: "Sven Vogel",
|
||||
|
|
16
src/lib.typ
16
src/lib.typ
|
@ -122,17 +122,27 @@
|
|||
|
||||
#metadata("content terminate") <end-of-content>
|
||||
|
||||
#end_styled(config)[
|
||||
#end_styled(
|
||||
config,
|
||||
context [
|
||||
// add bibliography if set
|
||||
#if "bibliography" in config.thesis and config.thesis.bibliography != none {
|
||||
pagebreak(weak: true)
|
||||
counter(page).update(1)
|
||||
set bibliography(style: "ieee")
|
||||
set bibliography(
|
||||
style: "ieee",
|
||||
title: if (text.lang == "de") {
|
||||
"Literaturverzeichnis"
|
||||
} else if text.lang == "en" {
|
||||
"Bibliography"
|
||||
},
|
||||
)
|
||||
config.thesis.bibliography
|
||||
}
|
||||
|
||||
// appendix
|
||||
#show-appendix(config: config)
|
||||
]
|
||||
],
|
||||
)
|
||||
]
|
||||
]
|
||||
|
|
|
@ -147,7 +147,8 @@
|
|||
#context panic("no translation for language: ", text.lang)
|
||||
]
|
||||
|
||||
#align(
|
||||
#if config.supervisor-signature {
|
||||
align(
|
||||
bottom,
|
||||
grid(
|
||||
// set width of columns
|
||||
|
@ -163,6 +164,7 @@
|
|||
),
|
||||
align(right, {line(length: 6cm)})),
|
||||
)
|
||||
}
|
||||
|
||||
#counter(page).update(0)
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue