diff --git a/config.staging.toml b/config.staging.toml new file mode 100644 index 000000000..fdff7cf65 --- /dev/null +++ b/config.staging.toml @@ -0,0 +1,30 @@ +baseURL = "https://test2.docs.influxdata.com/" +languageCode = "en-us" +title = "InfluxDB Documentation" + +# Git history information for lastMod-type functionality +enableGitInfo = true + +# Syntax Highlighting +pygmentsCodefences = true +pygmentsUseClasses = true + +# Preserve case in article tags +preserveTaxonomyNames = true + +# Generate a robots.txt +enableRobotsTXT = true + +# Markdown rendering options +[blackfriday] +hrefTargetBlank = true +smartDashes = false + +[taxonomies] + "influxdb/v2.0/tag" = "influxdb/v2.0/tags" + "influxdb/cloud/tag" = "influxdb/cloud/tags" + +[markup] + [markup.goldmark] + [markup.goldmark.renderer] + unsafe = true diff --git a/config.toml b/config.toml index 97e315fb8..8faafd169 100644 --- a/config.toml +++ b/config.toml @@ -12,6 +12,9 @@ pygmentsUseClasses = true # Preserve case in article tags preserveTaxonomyNames = true +# Generate a robots.txt +enableRobotsTXT = true + # Markdown rendering options [blackfriday] hrefTargetBlank = true diff --git a/layouts/robots.txt b/layouts/robots.txt new file mode 100644 index 000000000..c20f0f058 --- /dev/null +++ b/layouts/robots.txt @@ -0,0 +1 @@ +User-agent: *{{ if ne .Site.BaseURL "https://docs.influxdata.com/" }} Disallow: /{{ end }} \ No newline at end of file