diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-01-27 10:47:28 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-01-27 10:47:28 +0100 |
commit | fc7de7136acbcf0aef54ae8460c7702bc83709be (patch) | |
tree | c109bb4dd1f1b054db476e7e4117f79bdd62ec9e /docs/config/_default | |
parent | 1083bf7c08e6f35826279065b8a09a16cc991c7f (diff) |
docs: Prepare for new sub tree
See #11925
Diffstat (limited to 'docs/config/_default')
-rw-r--r-- | docs/config/_default/languages.toml | 4 | ||||
-rw-r--r-- | docs/config/_default/markup.toml | 31 | ||||
-rw-r--r-- | docs/config/_default/menus/menus.en.toml | 152 | ||||
-rw-r--r-- | docs/config/_default/params.toml | 27 | ||||
-rw-r--r-- | docs/config/_default/security.toml | 9 |
5 files changed, 0 insertions, 223 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 = ['.*'] |