docs: switch to goldmark markdown handler (#1304)

Abandon no longer supported blackfriday markdown handler and switch to
default goldmark markdown handler. Enabled typographer extension to
handle quotes and dashes.

Website is now building with hugo > 0.100 as well.

Build tested with hugo 0.101.0:
$ docker run --rm -it -v $(pwd):/src:Z -p 1313:1313 klakegg/hugo:0.101.0
server

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
This commit is contained in:
Diego Rondini
2023-01-10 08:00:06 +01:00
committed by GitHub
parent d41a7dcd54
commit 68a57f69f0
2 changed files with 5 additions and 8 deletions

3
.gitignore vendored
View File

@@ -65,4 +65,5 @@ maven.properties
docs/themes/** docs/themes/**
docs/public/** docs/public/**
docs/content/rest-api/*.html docs/content/rest-api/*.html
.gitmodules .gitmodules
docs/.hugo_build.lock

View File

@@ -15,7 +15,9 @@ metadataformat = "toml"
canonifyurls = false canonifyurls = false
[markup] [markup]
defaultMarkdownHandler = "blackfriday" [markup.goldmark]
[markup.goldmark.extensions]
typographer = true
[markup.highlight] [markup.highlight]
codeFences = false codeFences = false
@@ -103,9 +105,3 @@ canonifyurls = false
name = "Release notes" name = "Release notes"
url = "/release-notes/" url = "/release-notes/"
weight = 100 weight = 100
[blackfriday]
smartypants = true
fractions = false
smartDashes = true
plainIDAnchors = true