diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index c4d888d997..0f8a216700 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -46,7 +46,7 @@ repo.
3. Update module and package versions:
- Update the version of `docsy/dependencies` in [go.mod](go.mod) to v0.X.Y.
- Update the NPM package version in [package.json](package.json) to 0.X.Y.
-4. Update the Docsy `version` in [userguide/config.toml][] to 0.X.Y.
+4. Update the Docsy `version` in [userguide/hugo.toml][] to 0.X.Y.
5. Commit your changes, usually as a PR entitled "Release v0.X.Y preparation".
Once the PR is approved and merged, proceed with the remaining steps.
6. Ensure that you're:
@@ -96,4 +96,4 @@ repo.
[contribution guidelines]: https://www.docsy.dev/docs/contribution-guidelines/
[Draft a new release]: https://github.com/google/docsy/releases/new
-[userguide/config.toml]: userguide/config.toml
+[userguide/hugo.toml]: userguide/hugo.toml
diff --git a/userguide/content/en/docs/Deployment/_index.md b/userguide/content/en/docs/Deployment/_index.md
index 8b4d51ac77..c1ce1c7a6f 100644
--- a/userguide/content/en/docs/Deployment/_index.md
+++ b/userguide/content/en/docs/Deployment/_index.md
@@ -88,25 +88,25 @@ There are several options for publishing your web site using [Amazon Web Service
1. Check the proper configuration of your AWS CLI by issuing the command `aws s3 ls`, this should output a list of your S3 bucket(s).
-1. Inside your `config.toml`/`config.yaml`/`config.json`, add a `[deployment]` section like this one:
+1. Inside your `hugo.toml`/`hugo.yaml`/`hugo.json`, add a `[deployment]` section like this one:
{{< tabpane persistLang=false >}}
{{< tab header="Configuration file:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
[deployment]
[[deployment.targets]]
name = "aws"
URL = "s3://www.your-domain.tld"
cloudFrontDistributionID = "E9RZ8T1EXAMPLEID"
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
deployment:
targets:
- name: aws
URL: 's3://www.your-domain.tld'
cloudFrontDistributionID: E9RZ8T1EXAMPLEID
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
{
"deployment": {
"targets": [
diff --git a/userguide/content/en/docs/Language/_index.md b/userguide/content/en/docs/Language/_index.md
index 7301302c62..e6f5907634 100644
--- a/userguide/content/en/docs/Language/_index.md
+++ b/userguide/content/en/docs/Language/_index.md
@@ -14,7 +14,7 @@ To add content in multiple languages, you first need to define the available lan
{{< tabpane persistLang=false >}}
{{< tab header="Configuration file:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
contentDir = "content/en"
defaultContentLanguage = "en"
defaultContentLanguageInSubdir = false
@@ -34,7 +34,7 @@ contentDir = "content/no"
time_format_default = "02.01.2006"
time_format_blog = "02.01.2006"
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
contentDir: content/en
defaultContentLanguage: en
defaultContentLanguageInSubdir: false
@@ -53,7 +53,7 @@ languages:
time_format_default: 02.01.2006
time_format_blog: 02.01.2006
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
{
"contentDir": "content/en",
"defaultContentLanguage": "en",
@@ -83,7 +83,7 @@ Any setting not defined in a `[languages]` block will fall back to the global va
Once you've updated your site config, you create a content root directory for each language version in your source repo, such as `content/en` for English text, and add your [content](/docs/adding-content/content/) as usual. See the [Hugo Docs](https://gohugo.io/content-management/multilingual) on multi-language support for more information.
{{% alert title="Attention (only when using docsy as hugo module)" color="warning" %}}
-If you have a multi language installation, please make sure that the section `[languages]` inside your `config.toml` is declared before the section `[module]` with the module imports. Otherwise you will run into trouble!
+If you have a multi language installation, please make sure that the section `[languages]` inside your [configuration file](https://gohugo.io/getting-started/configuration/#configuration-file) is declared **before** the section `[module]` with the module imports. Otherwise you will run into trouble!
{{% /alert %}}
{{% alert title="Tip" %}}
@@ -94,7 +94,7 @@ For adding multiple language versions of other site elements such as button text
## Selecting a language
-If you configure more than one language in `config.toml`, the Docsy theme adds a language selector drop down to the top-level menu. Selecting a language takes the user to the translated version of the current page, or the home page for the given language.
+If you configure more than one language in your [configuration file](https://gohugo.io/getting-started/configuration/#configuration-file), the Docsy theme adds a language selector drop down to the top-level menu. Selecting a language takes the user to the translated version of the current page, or the home page for the given language.
## Internationalization bundles
diff --git a/userguide/content/en/docs/Updating/Convert-site-to-module.md b/userguide/content/en/docs/Updating/Convert-site-to-module.md
index eafc353ba5..6ed39d81c4 100644
--- a/userguide/content/en/docs/Updating/Convert-site-to-module.md
+++ b/userguide/content/en/docs/Updating/Convert-site-to-module.md
@@ -169,6 +169,11 @@ module:
You can find details of what these configuration settings do in the [Hugo modules documentation](https://gohugo.io/hugo-modules/configuration/#module-config-top-level).
Depending on your environment you may need to tweak them slightly, for example by adding a proxy to use when downloading remote modules.
+{{% alert title="Tip" %}}
+In Hugo 0.110.0 the default config base filename was changed to `hugo.toml`.
+If you are using hugo 0.110 or above, consider renaming your `config.toml` to `hugo.toml`!
+{{% /alert %}}
+
{{% alert title="Attention" color="warning" %}}
If you have a multi language installation, please make sure that the section `[languages]` inside your `config.toml` is declared before the section `[module]` with the module imports. Otherwise you will run into trouble!
{{% /alert %}}
diff --git a/userguide/content/en/docs/adding-content/content.md b/userguide/content/en/docs/adding-content/content.md
index 14acbbf16f..fb6419c556 100644
--- a/userguide/content/en/docs/adding-content/content.md
+++ b/userguide/content/en/docs/adding-content/content.md
@@ -235,23 +235,23 @@ As of version 0.100, [Goldmark](https://github.com/yuin/goldmark/) is the only M
Tip
-If you've been using versions of Hugo before 0.60 that use [`BlackFriday`](https://github.com/russross/blackfriday) as its Markdown parser, you may need to make some small changes to your site to work with the current `Goldmark` Markdown parser. In particular, if you cloned an earlier version of our example site, add the following to your `config.toml`/`config.yaml`/`config.json` to allow Goldmark to render raw HTML as well as Markdown:
+If you've been using versions of Hugo before 0.60 that use [`BlackFriday`](https://github.com/russross/blackfriday) as its Markdown parser, you may need to make some small changes to your site to work with the current `Goldmark` Markdown parser. In particular, if you cloned an earlier version of our example site, add the following to your `hugo.toml`/`hugo.yaml`/`hugo.json` to allow Goldmark to render raw HTML as well as Markdown:
{{< tabpane persistLang=false >}}
{{< tab header="Configuration file:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
markup:
goldmark:
renderer:
unsafe: true
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
{
"markup": {
"goldmark": {
@@ -478,11 +478,11 @@ If you've just used the theme, you can still use all Docsy's provided [page bloc
## Adding a community page
-The `community` landing page template has boilerplate content that's automatically filled in with the project name and community links specified in `config.toml`/`config.yaml`/`config.json`, providing your users with quick links to resources that help them get involved in your project. The same links are also added by default to your site footer.
+The `community` landing page template has boilerplate content that's automatically filled in with the project name and community links specified in `hugo.toml`/`hugo.yaml`/`hugo.json`, providing your users with quick links to resources that help them get involved in your project. The same links are also added by default to your site footer.
{{< tabpane persistLang=false >}}
{{< tab header="Configuration file:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
[params.links]
# End user relevant links. These will show up on left side of footer and in the community page if you have one.
[[params.links.user]]
@@ -517,7 +517,7 @@ The `community` landing page template has boilerplate content that's automatical
icon = "fa fa-envelope"
desc = "Discuss development issues around the project"
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
params:
links:
user:
@@ -547,7 +547,7 @@ params:
icon: fa fa-envelope
desc: Discuss development issues around the project
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
{
"params": {
"links": {
@@ -609,18 +609,18 @@ You can also use this directory for other files used by your project, including
## RSS feeds
-Hugo will, by default, create an RSS feed for the home page and any section. For the main RSS feed you can control which sections to include by setting a site param in your `config.toml`/`config.yaml`/`config.json`. This is the default configuration:
+Hugo will, by default, create an RSS feed for the home page and any section. For the main RSS feed you can control which sections to include by setting a site param in your `hugo.toml`/`hugo.yaml`/`hugo.json`. This is the default configuration:
{{< tabpane persistLang=false >}}
{{< tab header="Configuration file:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
rss_sections = ["blog"]
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
rss_sections:
- blog
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
{
"rss_sections": [
"blog"
@@ -629,18 +629,18 @@ rss_sections:
{{< /tab >}}
{{< /tabpane >}}
-To disable all RSS feeds, add the following to your `config.toml`/`config.yaml`/`config.json`:
+To disable all RSS feeds, add the following to your `hugo.toml`/`hugo.yaml`/`hugo.json`:
{{< tabpane persistLang=false >}}
{{< tab header="Configuration file:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
disableKinds = ["RSS"]
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
disableKinds:
- RSS
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
{
"disableKinds": [
"RSS"
@@ -654,22 +654,22 @@ disableKinds:
Note
-If you have enabled our [print feature](/docs/adding-content/print/) or otherwise specified section-level output formats in `config.toml`/`config.yaml`/`config.json`, make sure that `"RSS"` is listed as an output format, otherwise you won't get section-level RSS feeds (and your blog section won't get a nice orange RSS button). Your `config.toml`/`config.yaml`/`config.json` specification overrides the Hugo default [output formats](https://gohugo.io/templates/output-formats/) for sections, which are HTML and RSS.
+If you have enabled our [print feature](/docs/adding-content/print/) or otherwise specified section-level output formats in `hugo.toml`/`hugo.yaml`/`hugo.json`, make sure that `"RSS"` is listed as an output format, otherwise you won't get section-level RSS feeds (and your blog section won't get a nice orange RSS button). Your `hugo.toml`/`hugo.yaml`/`hugo.json` specification overrides the Hugo default [output formats](https://gohugo.io/templates/output-formats/) for sections, which are HTML and RSS.
{{< tabpane persistLang=false >}}
{{< tab header="Configuration file:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
[outputs]
section = [ "HTML", "RSS", "print" ]
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
outputs:
section:
- HTML
- RSS
- print
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
{
"outputs": {
"section": [
@@ -687,23 +687,23 @@ outputs:
Hugo creates a `sitemap.xml` file for your generated site by default: for example, [here's the sitemap](/sitemap.xml) for this site.
-You can configure the frequency with which your sitemap is updated, your sitemap filename, and the default page priority in your `config.toml`/`config.yaml`/`config.json`:
+You can configure the frequency with which your sitemap is updated, your sitemap filename, and the default page priority in your `hugo.toml`/`hugo.yaml`/`hugo.json`:
{{< tabpane persistLang=false >}}
{{< tab header="Configuration file:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
[sitemap]
changefreq = "monthly"
filename = "sitemap.xml"
priority = 0.5
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
sitemap:
changefreq: monthly
filename: sitemap.xml
priority: 0.5
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
{
"sitemap": {
"changefreq": "monthly",
diff --git a/userguide/content/en/docs/adding-content/diagrams-and-formulae/index.md b/userguide/content/en/docs/adding-content/diagrams-and-formulae/index.md
index 1c4b62bb59..50451c5d96 100644
--- a/userguide/content/en/docs/adding-content/diagrams-and-formulae/index.md
+++ b/userguide/content/en/docs/adding-content/diagrams-and-formulae/index.md
@@ -87,20 +87,20 @@ math: true
{{< /tab >}}
{{< /tabpane >}}
-If you use formulae in most of your pages, you can also enable sitewide \\(\KaTeX\\) support inside the Docsy theme. To do so update `config.toml`/`config.yaml`/`config.json`:
+If you use formulae in most of your pages, you can also enable sitewide \\(\KaTeX\\) support inside the Docsy theme. To do so update `hugo.toml`/`hugo.yaml`/`hugo.json`:
{{< tabpane persistLang=false >}}
{{< tab header="Site configuration file:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
[params.katex]
enable = true
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
params:
katex:
enable: true
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
{
"params": {
"katex": {
@@ -111,11 +111,11 @@ params:
{{< /tab >}}
{{< /tabpane >}}
-Additionally, you can customize various \\(\KaTeX\\) options inside `config.toml`/`config.yaml`/`config.json`, if needed:
+Additionally, you can customize various \\(\KaTeX\\) options inside `hugo.toml`/`hugo.yaml`/`hugo.json`, if needed:
{{< tabpane persistLang=false >}}
{{< tab header="Site configuration file:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
[params.katex]
# enable/disable KaTeX support
enable = true
@@ -152,7 +152,7 @@ errorColor = "#CD5C5C"
right = "\\]"
display = true
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
params:
katex:
enable: true # enable/disable KaTeX support
@@ -185,7 +185,7 @@ params:
right: \]
display: true
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
{
"params": {
"katex": {
@@ -303,25 +303,25 @@ chem: true
{{< /tab >}}
{{< /tabpane >}}
-If you use formulae in most of your pages, you can also enable sitewide rendering support for chemical formulae inside the Docsy theme. To do so, enable `mhchem` inside your `config.toml`/`config.yaml`/`config.json`:
+If you use formulae in most of your pages, you can also enable sitewide rendering support for chemical formulae inside the Docsy theme. To do so, enable `mhchem` inside your `hugo.toml`/`hugo.yaml`/`hugo.json`:
{{< tabpane persistLang=false >}}
{{< tab header="Site configuration file:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
[params.katex]
enable = true
[params.katex.mhchem]
enable = true
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
params:
katex:
enable: true
mhchem:
enable: true
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
{
"params": {
"katex": {
@@ -367,20 +367,20 @@ graph TD
With hugo version 0.93 or higher, support of Mermaid diagrams is automatically enabled as soon as you use a `mermaid` code block on your page.
-If you are using hugo version 0.92 or lower, you need to enable Mermaid manually by updating your `config.toml`/`config.yaml`/`config.json`:
+If you are using hugo version 0.92 or lower, you need to enable Mermaid manually by updating your `hugo.toml`/`hugo.yaml`/`hugo.json`:
{{< tabpane persistLang=false >}}
{{< tab header="Hugo version <= 0.92 only:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
[params.mermaid]
enable = true
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
params:
mermaid:
enable: true
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
{
"params": {
"mermaid": {
@@ -391,25 +391,25 @@ params:
{{< /tab >}}
{{< /tabpane >}}
-If needed, you can define custom settings for your diagrams, such as themes, padding in your `config.toml`/`config.yaml`/`config.json`.
+If needed, you can define custom settings for your diagrams, such as themes, padding in your `hugo.toml`/`hugo.yaml`/`hugo.json`.
{{< tabpane persistLang=false >}}
{{< tab header="Configuration file:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
[params.mermaid]
theme = "neutral"
[params.mermaid.flowchart]
diagramPadding = 6
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
params:
mermaid:
theme: neutral
flowchart:
diagramPadding: 6
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
{
"params": {
"mermaid": {
@@ -475,20 +475,20 @@ Foo -> Foo6 : To collections
Foo -> Foo7: To queue
```
-To enable/disable PlantUML, update `config.toml`/`config.yaml`/`config.json`:
+To enable/disable PlantUML, update `hugo.toml`/`hugo.yaml`/`hugo.json`:
{{< tabpane persistLang=false >}}
{{< tab header="Configuration file:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
[params.plantuml]
enable = true
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
params:
plantuml:
enable: true
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
{
"params": {
"plantuml": {
@@ -503,7 +503,7 @@ Other optional settings are:
{{< tabpane persistLang=false >}}
{{< tab header="Configuration file:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
[params.plantuml]
enable = true
theme = "default"
@@ -517,7 +517,7 @@ svg_image_url = "https://www.plantuml.com/plantuml/svg/"
# default = false
svg = true
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
params:
plantuml:
enable: true
@@ -530,7 +530,7 @@ params:
# default = false
svg: true
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
{
"params": {
"plantuml": {
@@ -608,20 +608,20 @@ Automatically renders to:
- Katex - $x = {-b \pm \sqrt{b^2-4ac} \over 2a}$
```
-To enable/disable MarkMap, update `config.toml`/`config.yaml`/`config.json`:
+To enable/disable MarkMap, update `hugo.toml`/`hugo.yaml`/`hugo.json`:
{{< tabpane persistLang=false >}}
{{< tab header="Configuration file:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
[params.markmap]
enable = true
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
params:
markmap:
enable: true
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
{
"params": {
"markmap": {
@@ -649,20 +649,20 @@ As the diagram data is transported via the browser, the diagrams.net server does
{{< figure src="docsy-diagrams.svg" caption="Mouse over the above image and click the edit button!">}}
-To disable detection of diagrams, update `config.toml`/`config.yaml`/`config.json`:
+To disable detection of diagrams, update `hugo.toml`/`hugo.yaml`/`hugo.json`:
{{< tabpane persistLang=false >}}
{{< tab header="Configuration file:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
[params.drawio]
enable = false
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
params:
drawio:
enable: false
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
{
"params": {
"drawio": {
@@ -677,16 +677,16 @@ You can also [deploy and use your own server](https://github.com/jgraph/docker-d
{{< tabpane persistLang=false >}}
{{< tab header="Configuration file:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
[params.drawio]
drawio_server = "https://app.mydrawioserver.example.com"
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
params:
drawio:
drawio_server: 'https://app.mydrawioserver.example.com'
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
{
"params": {
"drawio": {
diff --git a/userguide/content/en/docs/adding-content/feedback.md b/userguide/content/en/docs/adding-content/feedback.md
index 6e981731ac..a14cf7daab 100644
--- a/userguide/content/en/docs/adding-content/feedback.md
+++ b/userguide/content/en/docs/adding-content/feedback.md
@@ -36,7 +36,26 @@ configuration file. For details, see [Configure Google Analytics][].
By default, Docsy uses the [gtag.js][] analytics library for both GA4 (which
_requires_ `gtag.js`) and Universal Analytics (UA) site tags. If you prefer using
the older `analytics.js` library for your UA site tag, then set
-`params.disableGtagForUniversalAnalytics` to true in your project's config.
+`params.disableGtagForUniversalAnalytics` to `true` in your project's [configuration file].
+
+{{< tabpane persistLang=false >}}
+{{< tab header="Configuration file:" disabled=true />}}
+{{< tab header="hugo.toml" lang="toml" >}}
+[params]
+disableGtagForUniversalAnalytics = true
+{{< /tab >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
+params:
+ disableGtagForUniversalAnalytics: true
+{{< /tab >}}
+{{< tab header="hugo.json" lang="json" >}}
+{
+ "params": {
+ "disableGtagForUniversalAnalytics": true
+ }
+}
+{{< /tab >}}
+{{< /tabpane >}}
{{% alert title="Warning" color="warning" %}}
@@ -75,7 +94,7 @@ of every documentation page, as shown in Figure 1.
After clicking **Yes** the user should see a response like Figure 2. You can
-configure the response text in `config.toml`.
+[configure] the response text in the project's [configuration file] `hugo.toml`.
To add the banner to your doc site, make the following changes in your
-`config.toml`/`config.yaml`/`config.json` file:
+`hugo.toml`/`hugo.yaml`/`hugo.json` file:
1. Set the `archived_version` parameter to `true`:
{{< tabpane persistLang=false >}}
{{< tab header="Configuration file:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
archived_version = true
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
archived_version: true
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
"archived_version": true
{{< /tab >}}
{{< /tabpane >}}
@@ -133,13 +133,13 @@ archived_version: true
{{< tabpane persistLang=false >}}
{{< tab header="Configuration file:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
version = "0.1"
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
version: '0.1'
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
"version": "0.1"
{{< /tab >}}
{{< /tabpane >}}
@@ -150,13 +150,13 @@ version: '0.1'
{{< tabpane persistLang=false >}}
{{< tab header="Configuration file:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
url_latest_version = "https://your-latest-doc-site.com"
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
url_latest_version: 'https://your-latest-doc-site.com'
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
"url_latest_version": "https://your-latest-doc-site.com"
{{< /tab >}}
{{< /tabpane >}}
diff --git a/userguide/content/en/docs/get-started/basic-configuration.md b/userguide/content/en/docs/get-started/basic-configuration.md
index 19875ea429..ed9c45487b 100644
--- a/userguide/content/en/docs/get-started/basic-configuration.md
+++ b/userguide/content/en/docs/get-started/basic-configuration.md
@@ -7,7 +7,7 @@ description: >
Basic configuration for new Docsy sites.
---
-Site-wide configuration details and parameters are defined in your project's `config.toml` file. These include your chosen Hugo theme (Docsy, of course!), project name, community links, Google Analytics configuration, and Markdown parser parameters. See the examples with comments in [`config.toml` in the example project](https://github.com/google/docsy-example/blob/master/config.toml) for how to add this information. **We recommend copying this config.toml and editing it even if you’re just using the theme and not copying the entire Docsy example site**, as it includes default values for many parameters that you need to set for your site to build correctly.
+Site-wide configuration details and parameters are defined in your project's [configuration file] (`config.toml` or `hugo.toml`). These include your chosen Hugo theme (Docsy, of course!), project name, community links, Google Analytics configuration, and Markdown parser parameters. See the examples with comments in [`config.toml` in the example project](https://github.com/google/docsy-example/blob/master/config.toml) for how to add this information. **We recommend copying this config.toml and editing it even if you’re just using the theme and not copying the entire Docsy example site**, as it includes default values for many parameters that you need to set for your site to build correctly.
You may want to remove or customize some defaults of the copied `config.toml` file straight away:
@@ -52,3 +52,5 @@ To use your own Custom Search Engine, replace the value in the `gcs_engine_id` w
* [Add content and customize your site](/docs/adding-content/)
* Get some ideas from our [Example Site](https://github.com/google/docsy-example) and other [Examples](/docs/examples/).
* [Publish your site](/docs/deployment/).
+
+[configuration file]: https://gohugo.io/getting-started/configuration/#configuration-file
diff --git a/userguide/content/en/docs/get-started/docsy-as-module/start-from-scratch.md b/userguide/content/en/docs/get-started/docsy-as-module/start-from-scratch.md
index 1122f198c5..2dcf506cbc 100644
--- a/userguide/content/en/docs/get-started/docsy-as-module/start-from-scratch.md
+++ b/userguide/content/en/docs/get-started/docsy-as-module/start-from-scratch.md
@@ -68,7 +68,12 @@ hugo new site my-new-site
cd my-new-site
```
-This will create a minimal site structure, containing the folders `archetypes`, `content`, `data`, `layouts`, `static`, and `themes` and a configuration file, `config.toml.
+This will create a minimal site structure, containing the folders `archetypes`, `content`, `data`, `layouts`, `static`, and `themes` and a configuration file (default: `config.toml`).
+
+{{% alert title="Tip" %}}
+In Hugo 0.110.0 the default config base filename was changed to `hugo.toml`.
+If you are using hugo 0.110 or above, consider renaming your `config.toml` to `hugo.toml`!
+{{% /alert %}}
### Import the Docsy theme module as a dependency of your site
@@ -90,11 +95,11 @@ This command adds the `docsy` theme module to your definition file `go.mod`.
### Add theme module configuration settings
-Add the settings in the following snippet at the end of your site configuration file (default: `config.toml`) and save the file.
+Add the settings in the following snippet at the end of your site's [configuration file] (default: `config.toml`) and save the file.
{{< tabpane >}}
{{< tab header="Configuration file:" disabled=true />}}
-{{< tab header="config.toml" lang="toml" >}}
+{{< tab header="hugo.toml" lang="toml" >}}
[module]
proxy = "direct"
# uncomment line below for temporary local development of module
@@ -109,7 +114,7 @@ Add the settings in the following snippet at the end of your site configuration
path = "github.com/google/docsy/dependencies"
disable = false
{{< /tab >}}
-{{< tab header="config.yaml" lang="yaml" >}}
+{{< tab header="hugo.yaml" lang="yaml" >}}
module:
proxy: direct
hugoVersion:
@@ -121,7 +126,7 @@ module:
- path: github.com/google/docsy/dependencies
disable: false
{{< /tab >}}
-{{< tab header="config.json" lang="json" >}}
+{{< tab header="hugo.json" lang="json" >}}
{
"module": {
"proxy": "direct",
@@ -165,3 +170,5 @@ You may get Hugo errors for missing parameters and values when you try to build
* [Add content and customize your site](/docs/adding-content/)
* Get some ideas from our [Example Site](https://github.com/google/docsy-example) and other [Examples](/docs/examples/).
* [Publish your site](/docs/deployment/).
+
+[configuration file]: https://gohugo.io/getting-started/configuration/#configuration-file
\ No newline at end of file
diff --git a/userguide/content/en/docs/get-started/other-options.md b/userguide/content/en/docs/get-started/other-options.md
index 96787091b8..1001fb1019 100644
--- a/userguide/content/en/docs/get-started/other-options.md
+++ b/userguide/content/en/docs/get-started/other-options.md
@@ -170,6 +170,11 @@ your project's root directory:
echo 'theme = "docsy"' >> config.toml
```
+ {{% alert title="Tip" %}}
+In Hugo 0.110.0 the default config base filename was changed to `hugo.toml`.
+If you are using hugo 0.110 or above, consider renaming your `config.toml` to `hugo.toml`!
+ {{% /alert %}}
+
3. Get Docsy dependencies:
```sh