Skip to content

Commit b09d545

Browse files
mikebarkminxeruf
authored andcommitted
hyperbook: update for new hyperbook version
1 parent 7bb4946 commit b09d545

File tree

6 files changed

+7
-21
lines changed

6 files changed

+7
-21
lines changed

.github/workflows/auto-publish.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ jobs:
1313
- name: Checkout repo
1414
uses: actions/checkout@v4
1515

16-
- name: Setup Hyperbook
17-
run: |
18-
cd hyperbook
19-
npx --yes --legacy-peer-deps hyperbook setup
20-
2116
- name: Build documentation
2217
id: build
2318
run: |

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,11 @@ muss die Laufzeitumgebung [Node.js](https://nodejs.org/en/) installiert sein.
5555
Dies geht unter Debian-basierten Distributionen mit `sudo apt install nodejs npm`.
5656
Unter Arch: `sudo pacman -S npm`
5757

58-
Anschließend installiere die Abhängigkeiten mit
59-
`npx hyperbook setup` oder `make -B setup`.
60-
6158
### Live-Preview
6259
Eine Vorschau lokaler Änderungen kann direkt mit dem Befehl `npx hyperbook dev`
6360
aus dem Ordner `hyperbook` generiert werden.
6461
Dies startet einen Entwicklungsserver,
65-
dessen Ergebnisse unter `http://localhost:3000/` einsehbar sind.
62+
dessen Ergebnisse unter `http://localhost:8080/` einsehbar sind.
6663

6764
### Build
6865
Um das Hyperbook zu veröffentlichen,

bin/test-production.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ root="$(dirname $0)/.."
33

44
(
55
cd "$root/hyperbook"
6-
npx hyperbook setup
76
npx hyperbook build
87
)
98

hyperbook/Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
all: build
22

3-
setup .hyperbook/node_modules: hyperbook.json
4-
npx --yes hyperbook@latest setup
5-
63
dev: .hyperbook/node_modules
74
npx --yes hyperbook dev
85

@@ -12,11 +9,11 @@ serve: build
129
caddy file-server --listen :8800 --browse --root .hyperbook/out
1310
xdg-open https://localhost:8800
1411

15-
.hyperbook/out: setup book public glossary
12+
.hyperbook/out: book public glossary
1613
npx --yes hyperbook build
1714
build: .hyperbook/out
1815

1916
clean:
2017
rm -rf .hyperbook
2118

22-
.PHONY: clean setup
19+
.PHONY: clean

hyperbook/book/glossar.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,4 @@ index: 2
55

66
## Spielinfrastruktur
77

8-
:t[Computerspieler]{#player}
9-
10-
:t[Spielleiter]{#server}
11-
12-
:t[Wettkampfsystem]{#contest}
8+
:pagelist{format="glossary" source="href(/glossary/.*)"}

hyperbook/hyperbook.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"name": "Software-Challenge Dokumentation",
33
"description": "Dokumentation der Software-Challenge Germany. Alle Informationen zu dem Ablauf, den technischen Grundlagen und Hilfestellungen.",
4+
"qrcode": false,
5+
"search": true,
46
"license": "cc-by-nc-sa",
57
"author": {
68
"name": "Software-Challenge Germany",
@@ -9,7 +11,7 @@
911
"language": "de",
1012
"repo": "https://github.com/software-challenge/docs/tree/main/hyperbook",
1113
"logo": "/logo.svg",
12-
"colors":{
14+
"colors": {
1315
"brand": "#3276AD"
1416
},
1517
"fonts": {

0 commit comments

Comments
 (0)