Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bep/docuapi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-01-05 23:10:00 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-01-05 23:10:00 +0300
commitf94e0b27ceaeab79de61c01805b023e123b426f3 (patch)
tree7b146f16f7fcdbe4e6272b7eb5371223303d9df2
parenta1cd690793037cd6893a332081509a5a5debe467 (diff)
Update to Hugo 0.62.2hugo0622
-rw-r--r--README.md9
-rw-r--r--exampleSite/config.toml5
-rw-r--r--netlify.toml6
3 files changed, 17 insertions, 3 deletions
diff --git a/README.md b/README.md
index 94f0005..05ec396 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,15 @@
## Use
+The client library used to build the ToC does not handle Unicode very well. To get around this in Hugo >= 0.62.2, put this in your site config:
+
+```toml
+[markup]
+ [markup.goldmark]
+ [markup.goldmark.parser]
+ autoHeadingIDType = "github-ascii"
+```
+
**Note:** this theme requires Hugo >= 0.56.0 to run. If you want to edit the SCSS styles, you need:
* The extended Hugo version.
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index d0178b1..053b705 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -15,6 +15,11 @@ pygmentsUseClasses = false
defaultContentLanguage = "en"
+[markup]
+ [markup.goldmark]
+ [markup.goldmark.parser]
+ autoHeadingIDType = "github-ascii"
+
[module]
[module.hugoVersion]
[[module.imports]]
diff --git a/netlify.toml b/netlify.toml
index 18d125b..69ea1ec 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -3,18 +3,18 @@ publish = "exampleSite/public"
command = "hugo --gc -s exampleSite --minify"
[context.production.environment]
-HUGO_VERSION = "0.62.1"
+HUGO_VERSION = "0.62.2"
[context.deploy-preview]
command = "hugo -s exampleSite -D -F -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
-HUGO_VERSION = "0.62.1"
+HUGO_VERSION = "0.62.2"
[context.branch-deploy]
command = "hugo -s exampleSite --gc -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
-HUGO_VERSION = "0.62.1"
+HUGO_VERSION = "0.62.2"