Skip to content

Commit 1dd09d0

Browse files
committed
docs: remove environment warnings
1 parent 3324b9a commit 1dd09d0

File tree

4 files changed

+22
-3
lines changed

4 files changed

+22
-3
lines changed

docs/config/github/hugo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,11 @@ baseURL = 'https://mcshelby.github.io/hugo-theme-relearn/'
88
relativeURLs = false
99

1010
[params]
11+
# We already checked during development..
1112
urlExternalCheck = false
13+
14+
# Some stuff to ignore that is not available in this environment.
15+
urlIgnoreCheck = [
16+
'hero.png',
17+
'exampleSite'
18+
]

docs/config/performance/hugo.toml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,16 @@ disableLanguages = ['pir']
1919
# Generation of the search index is costly as all pages are indexed
2020
# in a single file. Luckily due to caching, this is only done once
2121
# per configured language.
22-
disableSearch = true
22+
search.disable = true
2323

2424
# This option can have a major impact if you have many pages.
2525
collapsibleMenu = false
26+
27+
# External URL checks can become costly.
28+
urlExternalCheck = false
29+
30+
# Some stuff to ignore that is not available in this environment.
31+
urlIgnoreCheck = [
32+
'/\?lang=pir',
33+
'exampleSite'
34+
]

exampleSite/config/performance/hugo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ disableLanguages = ['pir']
1919
# Generation of the search index is costly as all pages are indexed
2020
# in a single file. Luckily due to caching, this is only done once
2121
# per configured language.
22-
disableSearch = true
22+
search.disable = true
2323

2424
# This option can have a major impact if you have many pages.
2525
collapsibleMenu = false
26+
27+
# External URL checks can become costly.
28+
urlExternalCheck = false

layouts/partials/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.3.0+e9908d6e235fc9797a7b1a29b710be9506e330e3
1+
8.3.0+3324b9ae022842ede66ee2a26e80e9bf73a4b3e4

0 commit comments

Comments
 (0)