summaryrefslogtreecommitdiffstats
path: root/docs/config
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2024-01-27 10:47:28 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2024-01-27 10:47:28 +0100
commitfc7de7136acbcf0aef54ae8460c7702bc83709be (patch)
treec109bb4dd1f1b054db476e7e4117f79bdd62ec9e /docs/config
parent1083bf7c08e6f35826279065b8a09a16cc991c7f (diff)
docs: Prepare for new sub tree
See #11925
Diffstat (limited to 'docs/config')
-rw-r--r--docs/config/_default/languages.toml4
-rw-r--r--docs/config/_default/markup.toml31
-rw-r--r--docs/config/_default/menus/menus.en.toml152
-rw-r--r--docs/config/_default/params.toml27
-rw-r--r--docs/config/_default/security.toml9
-rw-r--r--docs/config/development/params.toml1
-rw-r--r--docs/config/production/config.toml6
-rw-r--r--docs/config/production/params.toml2
8 files changed, 0 insertions, 232 deletions
diff --git a/docs/config/_default/languages.toml b/docs/config/_default/languages.toml
deleted file mode 100644
index cfddb5398..000000000
--- a/docs/config/_default/languages.toml
+++ /dev/null
@@ -1,4 +0,0 @@
-[en]
-contentDir = "content/en"
-languageName = "English"
-weight = 1
diff --git a/docs/config/_default/markup.toml b/docs/config/_default/markup.toml
deleted file mode 100644
index fb68fae23..000000000
--- a/docs/config/_default/markup.toml
+++ /dev/null
@@ -1,31 +0,0 @@
-defaultMarkdownHandler = "goldmark"
-
-[goldmark]
-[goldmark.extensions]
-definitionList = true
-footnote = true
-linkify = true
-strikethrough = true
-table = true
-taskList = true
-typographer = true
-[goldmark.parser]
-autoHeadingID = true
-autoHeadingIDType = "github"
-[goldmark.parser.attribute]
-block = true
-title = true
-[goldmark.renderer]
-hardWraps = false
-unsafe = false
-xhtml = false
-
-[highlight]
-style = "trac"
-lineNumbersInTable = true
-noClasses = false
-
-[tableOfContents]
-endLevel = 2
-ordered = false
-startLevel = 2 \ No newline at end of file
diff --git a/docs/config/_default/menus/menus.en.toml b/docs/config/_default/menus/menus.en.toml
deleted file mode 100644
index cd337cbee..000000000
--- a/docs/config/_default/menus/menus.en.toml
+++ /dev/null
@@ -1,152 +0,0 @@
-[[docs]]
-identifier = 'about'
-name = 'About Hugo'
-pageRef = '/about/'
-weight = 10
-
-[[docs]]
-name = 'Installation'
-weight = 20
-identifier = 'installation'
-pageRef = '/installation/'
-
-[[docs]]
-name = 'Getting started'
-weight = 30
-identifier = 'getting-started'
-pageRef = '/getting-started/'
-post = 'break'
-
-[[docs]]
-name = 'Content management'
-weight = 40
-identifier = 'content-management'
-post = 'expanded'
-pageRef = '/content-management/'
-
-[[docs]]
-name = 'Templates'
-weight = 50
-identifier = 'templates'
-pageRef = '/templates/'
-
-[[docs]]
-name = 'Functions'
-weight = 60
-identifier = 'functions'
-pageRef = '/functions/'
-
-[[docs]]
-name = 'Methods'
-weight = 70
-identifier = 'methods'
-pageRef = '/methods/'
-
-[[docs]]
-name = 'Quick reference'
-weight = 80
-identifier = 'quick-reference'
-pageRef = '/quick-reference/'
-
-[[docs]]
-name = 'Variables'
-weight = 85
-identifier = 'variables'
-pageRef = '/variables/'
-
-[[docs]]
-name = 'Hugo Modules'
-weight = 90
-identifier = 'modules'
-pageRef = '/hugo-modules/'
-
-[[docs]]
-name = 'Hugo Pipes'
-weight = 100
-identifier = 'hugo-pipes'
-pageRef = '/hugo-pipes/'
-
-[[docs]]
-name = 'CLI'
-weight = 110
-post = 'break'
-identifier = 'commands'
-pageRef = '/commands/'
-
-# Low level items
-
-[[docs]]
-name = 'Troubleshooting'
-weight = 120
-identifier = 'troubleshooting'
-pageRef = '/troubleshooting/'
-
-[[docs]]
-name = 'Developer tools'
-weight = 130
-identifier = 'developer-tools'
-pageRef = '/tools/'
-
-[[docs]]
-name = 'Hosting and deployment'
-weight = 140
-identifier = 'hosting-and-deployment'
-pageRef = '/hosting-and-deployment/'
-
-[[docs]]
-name = 'Contribute'
-weight = 150
-post = 'break'
-identifier = 'contribute'
-pageRef = '/contribute/'
-
-######## QUICKLINKS
-
-[[quicklinks]]
-identifier = 'fundamentals'
-name = 'Fundamentals'
-pageRef = '/tags/fundamentals/'
-weight = 1
-
-######## GLOBAL ITEMS TO BE SHARED WITH THE HUGO SITES
-
-[[global]]
-name = 'News'
-weight = 1
-identifier = 'news'
-pageRef = '/news/'
-
-[[global]]
-name = 'Docs'
-weight = 5
-identifier = 'docs'
-url = '/documentation/'
-
-[[global]]
-name = 'Themes'
-weight = 10
-identifier = 'themes'
-url = 'https://themes.gohugo.io/'
-
-[[global]]
-name = 'Showcase'
-weight = 20
-identifier = 'showcase'
-pageRef = '/showcase/'
-
-# Anything with a weight > 100 gets an external icon
-
-[[global]]
-name = 'Community'
-weight = 150
-icon = true
-identifier = 'community'
-post = 'external'
-url = 'https://discourse.gohugo.io/'
-
-[[global]]
-name = 'GitHub'
-weight = 200
-identifier = 'github'
-post = 'external'
-url = 'https://github.com/gohugoio/hugo'
diff --git a/docs/config/_default/params.toml b/docs/config/_default/params.toml
deleted file mode 100644
index dddd53b5b..000000000
--- a/docs/config/_default/params.toml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-description = "The world’s fastest framework for building websites"
-## Setting this to true will add a "noindex" to *EVERY* page on the site..
-removefromexternalsearch = false
-## Gh repo for site footer (include trailing slash)
-ghrepo = "https://github.com/gohugoio/hugoDocs/"
-## GH Repo for filing a new issue
-github_repo = "https://github.com/gohugoio/hugo/issues/new"
-### Edit content repo (set to automatically enter "edit" mode; this is good for "improve this page" links)
-ghdocsrepo = "https://github.com/gohugoio/hugoDocs/tree/master/docs"
-## Discuss Forum URL
-forum = "https://discourse.gohugo.io/"
-## Google Tag Manager
-gtmid = ""
-
-# First one is picked as the Twitter card image if not set on page.
-images = ["images/gohugoio-card.png"]
-
-flex_box_interior_classes = "flex-auto w-100 w-40-l mr3 mb3 bg-white ba b--moon-gray nested-copy-line-height"
-
-#sidebar_direction = "sidebar_left"
-
-[social]
- twitter = "GoHugoIOv2"
-
-[render_hooks.link]
- errorLevel = 'warning' # ignore (default), warning, or error (fails the build)
diff --git a/docs/config/_default/security.toml b/docs/config/_default/security.toml
deleted file mode 100644
index 8bd91945f..000000000
--- a/docs/config/_default/security.toml
+++ /dev/null
@@ -1,9 +0,0 @@
-
- enableInlineShortcodes = false
-
- [funcs]
- getenv = ['^HUGO_', '^REPOSITORY_URL$', '^BRANCH$']
-
- [http]
- methods = ['(?i)GET|POST']
- urls = ['.*']
diff --git a/docs/config/development/params.toml b/docs/config/development/params.toml
deleted file mode 100644
index 4cd7314ab..000000000
--- a/docs/config/development/params.toml
+++ /dev/null
@@ -1 +0,0 @@
-# Params for development (server mode)
diff --git a/docs/config/production/config.toml b/docs/config/production/config.toml
deleted file mode 100644
index a54fe5669..000000000
--- a/docs/config/production/config.toml
+++ /dev/null
@@ -1,6 +0,0 @@
-# Config for production
-
-# This is turned off in development as it is relatively slow.
-# This is needed to get accurate lastMod and Git commit info
-# on the docs pages.
-enableGitInfo = true \ No newline at end of file
diff --git a/docs/config/production/params.toml b/docs/config/production/params.toml
deleted file mode 100644
index d0071fe65..000000000
--- a/docs/config/production/params.toml
+++ /dev/null
@@ -1,2 +0,0 @@
-# Params for production
-