git: f3d9ae979e - main - Remove warnings in configuration files
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jan 2024 09:11:26 UTC
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/doc/commit/?id=f3d9ae979ea24adce690626504f660065c84526c commit f3d9ae979ea24adce690626504f660065c84526c Author: Minsoo Choo <minsoochoo0122_proton.me> AuthorDate: 2024-01-12 19:46:37 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2024-01-22 09:10:56 +0000 Remove warnings in configuration files From Hugo doc: > With v0.109.0 and earlier the basename of the site configuration file was config instead of hugo. You can use either, but should transition to the new naming convention when practical. Therefore `config.toml` is moved to `hugo.toml`. > The taxonomyTerm page kind was effectively aliased to the taxonomy page kind in v0.73.0 (https://github.com/bep/hugo/commit/114d4012a89ca88583de5979a6ec4a4799c739b7) `list` and `single` are unknown configurations. Remove them. Differential Revision: https://reviews.freebsd.org/D43406 --- documentation/config/_default/{config.toml => hugo.toml} | 4 +--- website/config/_default/{config.toml => hugo.toml} | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/documentation/config/_default/config.toml b/documentation/config/_default/hugo.toml similarity index 95% rename from documentation/config/_default/config.toml rename to documentation/config/_default/hugo.toml index 11947ca4dd..a7548e54b9 100644 --- a/documentation/config/_default/config.toml +++ b/documentation/config/_default/hugo.toml @@ -7,7 +7,7 @@ defaultContentLanguage = "en" defaultContentLanguageInSubdir = true disablePathToLower = true theme = "beastie" -disableKinds = [ "taxonomy", "taxonomyTerm" ] +disableKinds = [ "taxonomy" ] authors = [ "carlavilla@FreeBSD.org" ] ignoreFiles = [ "chapter.adoc$", "contrib-386bsd.adoc$", "contrib-additional.adoc$", "contrib-committers.adoc$", "contrib-corealumni.adoc$", "contrib-develalumni.adoc$", "contrib-develinmemoriam.adoc$", "contrib-portmgralumni.adoc$", "\\.po$" ] enableRobotsTXT = true @@ -43,6 +43,4 @@ timeout = "180s" [outputs] home = [ "HTML" ] page = [ "HTML" ] -list = [ "HTML" ] -single = [ "HTML" ] section = [ "HTML" ] diff --git a/website/config/_default/config.toml b/website/config/_default/hugo.toml similarity index 93% rename from website/config/_default/config.toml rename to website/config/_default/hugo.toml index 4018265d39..c4668b9791 100644 --- a/website/config/_default/config.toml +++ b/website/config/_default/hugo.toml @@ -6,7 +6,7 @@ copyright = "BSD 2-clause 'Simplified' License" DefaultContentLanguage = "en" defaultContentLanguageInSubdir = false theme = "beastie" -disableKinds = [ "taxonomy", "taxonomyTerm" ] +disableKinds = [ "taxonomy" ] disablePathToLower = true authors = [ "carlavilla@FreeBSD.org" ] ignoreFiles = [ "\\.po$" ] @@ -34,8 +34,6 @@ staticDir = ["static", "shared"] [outputs] home = [ "HTML" ] page = [ "HTML" ] -list = [ "HTML" ] -single = [ "HTML" ] section = [ "HTML", "RSS", "Calendar" ] [outputFormats]