Skip to content

Commit 966638c

Browse files
committed
update generator code, add generated footer
1 parent 5db49ed commit 966638c

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

docs/install/configuration.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ description: Unpackerr configurations explained.
88

99
import Generated from './generated/index.md';
1010
import Global from './generated/global.md';
11+
import Footer from './generated/footer.md';
1112

1213
This is where to learn what each config item is, the default
1314
values for each item, and the name to use in an environment variable.
@@ -127,6 +128,4 @@ The 'nothing extracted' event (9) only fires for the folder watcher, not starr a
127128

128129
---
129130

130-
<font color="gray" style={{'float': 'right', 'font-style': 'italic'}}>
131-
This page is [generated automatically](https://github.com/Unpackerr/unpackerr/tree/main/init/config).
132-
</font>
131+
<Footer />

generate.sh

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
1-
#!/bin/bash
21
# The beginning: https://github.com/Unpackerr/unpackerr/pull/459
32
# The generator: https://github.com/Unpackerr/unpackerr/tree/main/init/config
43

5-
# Bail on errors.
6-
set -e
7-
84
# We do this because go cache will download an older version.
95
go env -w 'GOPRIVATE=github.com/Unpackerr/*'
106

11-
# Move into the directory <this script>/docs/install.
12-
pushd "$(dirname -- "${BASH_SOURCE[0]}")/docs/install"
13-
147
# Run the config generator directly from github.
15-
go run github.com/Unpackerr/unpackerr/init/config@main --type documentation
16-
17-
# Go back to the directory we were in when we started.
18-
popd
8+
go run github.com/Unpackerr/unpackerr/init/config@main --type docusaurus --output docs/install/generated

0 commit comments

Comments
 (0)