Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
doks-test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antoine-perso
doks-test
Commits
b6ad4a9e
Commit
b6ad4a9e
authored
1 year ago
by
Antoine Roy
Browse files
Options
Downloads
Patches
Plain Diff
try to fix css
parent
55df92ab
No related branches found
No related tags found
1 merge request
!1
Some try on yml
Pipeline
#1556
passed
1 year ago
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/_default/config.toml
+0
-112
0 additions, 112 deletions
config/_default/config.toml
config/_default/hugo.toml
+84
-61
84 additions, 61 deletions
config/_default/hugo.toml
with
84 additions
and
173 deletions
config/_default/config.toml
deleted
100644 → 0
+
0
−
112
View file @
55df92ab
baseurl
=
"https://epogrebnyak.gitlab.io/doks-howto"
disableAliases
=
true
disableHugoGeneratorInject
=
true
enableEmoji
=
true
enableGitInfo
=
false
enableRobotsTXT
=
true
#languageCode = "en-US"
paginate
=
7
rssLimit
=
10
defaultContentLanguage
=
"en"
[languages]
[languages.ru]
## Homepage
title
=
"Это суперсайт"
titleSeparator
=
"-"
titleAddition
=
"Modern Documentation Theme"
description
=
"Doks is a Hugo theme helping you build modern documentation websites that are secure, fast, and SEO-ready — by default."
weight
=
2
[languages.en]
## Homepage
title
=
"Doks in Several Languages"
titleSeparator
=
"-"
titleAddition
=
"Modern Documentation Theme"
description
=
"Doks is a Hugo theme helping you build modern documentation websites that are secure, fast, and SEO-ready — by default."
weight
=
1
# add redirects/headers
[outputs]
home
=
[
"HTML"
,
"RSS"
,
"REDIRECTS"
,
"HEADERS"
]
section
=
[
"HTML"
,
"RSS"
,
"SITEMAP"
]
# remove .{ext} from text/netlify
[mediaTypes."text/netlify"]
suffixes
=
[
""
]
delimiter
=
""
# add output format for netlify _redirects
[outputFormats.REDIRECTS]
mediaType
=
"text/netlify"
baseName
=
"_redirects"
isPlainText
=
true
notAlternative
=
true
# add output format for netlify _headers
[outputFormats.HEADERS]
mediaType
=
"text/netlify"
baseName
=
"_headers"
isPlainText
=
true
notAlternative
=
true
# add output format for section sitemap.xml
[outputFormats.SITEMAP]
mediaType
=
"application/xml"
baseName
=
"sitemap"
isHTML
=
false
isPlainText
=
true
noUgly
=
true
rel
=
"sitemap"
[markup]
[markup.goldmark]
[markup.goldmark.extensions]
linkify
=
false
[markup.goldmark.renderer]
unsafe
=
true
[markup.highlight]
codeFences
=
true
guessSyntax
=
false
hl_Lines
=
""
lineNoStart
=
1
lineNos
=
false
lineNumbersInTable
=
true
noClasses
=
false
style
=
"dracula"
tabWidth
=
4
[sitemap]
changefreq
=
"weekly"
filename
=
"sitemap.xml"
priority
=
0.5
[taxonomies]
contributor
=
"contributors"
[permalinks]
blog
=
"/blog/:title/"
[module]
[[module.mounts]]
source
=
"assets"
target
=
"assets"
[[module.mounts]]
source
=
"static"
target
=
"static"
[[module.mounts]]
source
=
"node_modules/lazysizes"
target
=
"assets/js/vendor/lazysizes"
[[module.mounts]]
source
=
"node_modules/instant.page"
target
=
"assets/js/vendor/instant.page"
[[module.mounts]]
source
=
"node_modules/lazysizes"
target
=
"assets/js/vendor/lazysizes"
[[module.mounts]]
source
=
"node_modules/flexsearch"
target
=
"assets/js/vendor/flexsearch"
[[module.mounts]]
source
=
"node_modules/clipboard"
target
=
"assets/js/vendor/clipboard"
This diff is collapsed.
Click to expand it.
config/_default/hugo.toml
+
84
−
61
View file @
b6ad4a9e
title
=
"Tetras Doks"
baseurl
=
"http://doks-test-antoine-perso-99736c269ce0ed108f0bd1283c834482b315ddd.pages.tetras-libre.fr"
canonifyURLs
=
true
baseurl
=
"https://epogrebnyak.gitlab.io/doks-howto"
disableAliases
=
true
disableHugoGeneratorInject
=
true
# disableKinds = ["taxonomy", "term"]
enableEmoji
=
true
enableGitInfo
=
false
enableRobotsTXT
=
true
languageCode
=
"
fr-FR
"
paginate
=
10
#
languageCode = "
en-US
"
paginate
=
7
rssLimit
=
10
summarylength
=
20
# 70 (default)
# Multilingual
defaultContentLanguage
=
"en"
disableLanguages
=
[
"de"
,
"nl"
]
defaultContentLanguageInSubdir
=
false
copyRight
=
"Copyright (c) 2023 Hyas"
[languages]
[languages.ru]
## Homepage
title
=
"Это суперсайт"
titleSeparator
=
"-"
titleAddition
=
"Modern Documentation Theme"
description
=
"Doks is a Hugo theme helping you build modern documentation websites that are secure, fast, and SEO-ready — by default."
weight
=
2
[languages.en]
## Homepage
title
=
"Doks in Several Languages"
titleSeparator
=
"-"
titleAddition
=
"Modern Documentation Theme"
description
=
"Doks is a Hugo theme helping you build modern documentation websites that are secure, fast, and SEO-ready — by default."
weight
=
1
[build.buildStats]
enable
=
true
[social]
twitter
=
"getdoks"
# add redirects/headers
[outputs]
home
=
[
"HTML"
,
"RSS"
,
"
searchIndex
"
]
home
=
[
"HTML"
,
"RSS"
,
"
REDIRECTS"
,
"HEADERS
"
]
section
=
[
"HTML"
,
"RSS"
,
"SITEMAP"
]
[outputFormats.searchIndex]
mediaType
=
"application/json"
baseName
=
"search-index"
# remove .{ext} from text/netlify
[mediaTypes."text/netlify"]
suffixes
=
[
""
]
delimiter
=
""
# add output format for netlify _redirects
[outputFormats.REDIRECTS]
mediaType
=
"text/netlify"
baseName
=
"_redirects"
isPlainText
=
true
notAlternative
=
true
# add output format for netlify _headers
[outputFormats.HEADERS]
mediaType
=
"text/netlify"
baseName
=
"_headers"
isPlainText
=
true
notAlternative
=
true
#
A
dd output format for section sitemap.xml
#
a
dd output format for section sitemap.xml
[outputFormats.SITEMAP]
mediaType
=
"application/xml"
baseName
=
"sitemap"
...
...
@@ -44,46 +60,53 @@ isPlainText = true
noUgly
=
true
rel
=
"sitemap"
[markup]
[markup.goldmark]
[markup.goldmark.extensions]
linkify
=
false
[markup.goldmark.renderer]
unsafe
=
true
[markup.highlight]
codeFences
=
true
guessSyntax
=
false
hl_Lines
=
""
lineNoStart
=
1
lineNos
=
false
lineNumbersInTable
=
true
noClasses
=
false
style
=
"dracula"
tabWidth
=
4
[sitemap]
changefreq
=
"
month
ly"
changefreq
=
"
week
ly"
filename
=
"sitemap.xml"
priority
=
0.5
[caches]
[caches.getjson]
dir
=
":cacheDir/:project"
maxAge
=
"30m"
[taxonomies]
contributor
=
"contributors"
category
=
"categories"
tag
=
"tags"
[permalinks]
blog
=
"/blog/:slug/"
docs
=
"/docs/:sections[1:]/:slug/"
# docs = "/docs/1.0/:sections[1:]/:slug/"
[minify.tdewolff.html]
keepWhitespace
=
false
[related]
threshold
=
80
includeNewer
=
true
toLower
=
false
[[related.indices]]
name
=
"categories"
weight
=
100
[[related.indices]]
name
=
"tags"
weight
=
80
[[related.indices]]
name
=
"date"
weight
=
10
blog
=
"/blog/:title/"
[imaging]
anchor
=
"Smart"
bgColor
=
"#ffffff"
hint
=
"photo"
quality
=
75
resampleFilter
=
"Box"
[module]
[[module.mounts]]
source
=
"assets"
target
=
"assets"
[[module.mounts]]
source
=
"static"
target
=
"static"
[[module.mounts]]
source
=
"node_modules/lazysizes"
target
=
"assets/js/vendor/lazysizes"
[[module.mounts]]
source
=
"node_modules/instant.page"
target
=
"assets/js/vendor/instant.page"
[[module.mounts]]
source
=
"node_modules/lazysizes"
target
=
"assets/js/vendor/lazysizes"
[[module.mounts]]
source
=
"node_modules/flexsearch"
target
=
"assets/js/vendor/flexsearch"
[[module.mounts]]
source
=
"node_modules/clipboard"
target
=
"assets/js/vendor/clipboard"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment