Skip to content

Commit 5fd1e74

Browse files
committed
Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs'
``` git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash ``` Closes gohugoio#11925
2 parents fc7de71 + 9b0050e commit 5fd1e74

File tree

1,158 files changed

+64103
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,158 files changed

+64103
-0
lines changed

docs/.cspell.json

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
{
2+
"version": "0.2",
3+
"allowCompoundWords": true,
4+
"files": [
5+
"**/*.md"
6+
],
7+
"flagWords": [
8+
"alot",
9+
"hte",
10+
"langauge",
11+
"reccommend",
12+
"seperate",
13+
"teh"
14+
],
15+
"ignorePaths": [
16+
"**/emojis.md",
17+
"**/commands/*",
18+
"**/showcase/*",
19+
"**/tools/*"
20+
],
21+
"ignoreRegExpList": [
22+
"# cspell: ignore fenced code blocks",
23+
"^(\\s*`{3,}).*[\\s\\S]*?^\\1",
24+
"# cspell: ignore words joined with dot",
25+
"\\w+\\.\\w+",
26+
"# cspell: ignore strings within backticks",
27+
"`.+`",
28+
"# cspell: ignore strings within single quotes",
29+
"'.+'",
30+
"# cspell: ignore strings within double quotes",
31+
"\".+\"",
32+
"# cspell: ignore strings within brackets",
33+
"\\[.+\\]",
34+
"# cspell: ignore strings within parentheses",
35+
"\\(.+\\)",
36+
"# cspell: ignore words that begin with a slash",
37+
"/\\w+",
38+
"# cspell: ignore everything within action delimiters",
39+
"\\{\\{.+\\}\\}",
40+
"# cspell: ignore everything after a right arrow",
41+
"\\s+→\\s+.+"
42+
],
43+
"language": "en",
44+
"words": [
45+
"antialiasing",
46+
"codeowners",
47+
"composability",
48+
"configurators",
49+
"defang",
50+
"deindent",
51+
"downscale",
52+
"downscaled",
53+
"downscaling",
54+
"exif",
55+
"geolocalized",
56+
"grayscale",
57+
"marshal",
58+
"marshaling",
59+
"multihost",
60+
"performantly",
61+
"preconfigured",
62+
"prerendering",
63+
"redirection",
64+
"redirections",
65+
"shortcode",
66+
"shortcodes",
67+
"subexpression",
68+
"subexpressions",
69+
"suppressable",
70+
"templating",
71+
"transpile",
72+
"transpiles",
73+
"unmarshal",
74+
"unmarshals",
75+
"unmarshaling",
76+
"# ----------------------------------------------------------------------",
77+
"# cspell: ignore foreign language words",
78+
"# ----------------------------------------------------------------------",
79+
"bezpieczeństwo",
80+
"dokumentation",
81+
"libros",
82+
"miesiąc",
83+
"miesiąc",
84+
"miesięcy",
85+
"miesięcy",
86+
"misérables",
87+
"projekt",
88+
"régime",
89+
"# ----------------------------------------------------------------------",
90+
"# cspell: ignore proper nouns",
91+
"# ----------------------------------------------------------------------",
92+
"Eliott",
93+
"Gregor",
94+
"Jaco",
95+
"Noll",
96+
"Pastorius",
97+
"Samsa",
98+
"# ----------------------------------------------------------------------",
99+
"# cspell: ignore operating systems and software packages",
100+
"# ----------------------------------------------------------------------",
101+
"asciidoctor",
102+
"brotli",
103+
"corejs",
104+
"disqus",
105+
"doas",
106+
"eopkg",
107+
"gitee",
108+
"goldmark",
109+
"KaTeX",
110+
"kubuntu",
111+
"lubuntu",
112+
"MathJax",
113+
"nosql",
114+
"pandoc",
115+
"pkgin",
116+
"rclone",
117+
"xubuntu",
118+
"# ----------------------------------------------------------------------",
119+
"# cspell: ignore miscellaneous",
120+
"# ----------------------------------------------------------------------",
121+
"dring",
122+
"getenv",
123+
"gohugo",
124+
"inor",
125+
"jdoe",
126+
"milli",
127+
"rgba",
128+
"rsmith",
129+
"stringifier",
130+
"struct",
131+
"tdewolff",
132+
"tjones",
133+
"toclevels",
134+
"vals",
135+
"xfeff",
136+
"zgotmplz"
137+
]
138+
}

docs/.editorconfig

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# https://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
indent_size = 2
9+
indent_style = space
10+
trim_trailing_whitespace = true
11+
12+
[*.go]
13+
indent_size = 8
14+
indent_style = tab
15+
16+
[*.js]
17+
insert_final_newline = true
18+
19+
[*.md]
20+
trim_trailing_whitespace = false

docs/.github/SUPPORT.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
### Asking support questions
2+
3+
We have an active [discussion forum](https://discourse.gohugo.io) where users and developers can ask questions. Please don't use the GitHub issue tracker to ask questions.

docs/.github/stale.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 120
3+
# Number of days of inactivity before a stale issue is closed
4+
daysUntilClose: 30
5+
# Issues with these labels will never be considered stale
6+
exemptLabels:
7+
- Keep
8+
- Security
9+
- UndocumentedFeature
10+
# Label to use when marking an issue as stale
11+
staleLabel: Stale
12+
# Comment to post when marking an issue as stale. Set to `false` to disable
13+
markComment: >
14+
This issue has been automatically marked as stale because it has not had
15+
recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
16+
17+
If you still think this is important, please tell us why.
18+
19+
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.
20+
21+
# Comment to post when closing a stale issue. Set to `false` to disable
22+
closeComment: false
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: "CodeQL"
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 1 * *"
6+
7+
jobs:
8+
analyze:
9+
name: Analyze
10+
runs-on: ubuntu-latest
11+
permissions:
12+
actions: read
13+
contents: read
14+
security-events: write
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
20+
- name: Initialize CodeQL
21+
uses: github/codeql-action/init@v2
22+
with:
23+
languages: "javascript"
24+
25+
- name: Perform CodeQL Analysis
26+
uses: github/codeql-action/analyze@v2

docs/.github/workflows/spellcheck.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: "Check spelling"
2+
on:
3+
push:
4+
pull_request:
5+
branches-ignore:
6+
- "dependabot/**"
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
spellcheck:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: streetsidesoftware/cspell-action@v5
17+
with:
18+
check_dot_files: false
19+
files: content/**/*.md
20+
incremental_files_only: true
21+
inline: warning
22+
strict: false
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Super Linter
2+
3+
on:
4+
workflow_dispatch:
5+
6+
permissions:
7+
contents: read # to fetch code (actions/checkout)
8+
9+
jobs:
10+
build:
11+
permissions:
12+
contents: read # to fetch code (actions/checkout)
13+
statuses: write # to mark status of each linter run (github/super-linter/slim)
14+
15+
name: Lint Code Base
16+
runs-on: ubuntu-latest
17+
if: ${{ github.actor != 'dependabot[bot]' }}
18+
19+
steps:
20+
- name: Checkout Code
21+
uses: actions/checkout@v4
22+
23+
- name: Lint Code Base
24+
uses: super-linter/super-linter/slim@v5
25+
env:
26+
DEFAULT_BRANCH: master
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
IGNORE_GITIGNORED_FILES: true
29+
LINTER_RULES_PATH: /
30+
LOG_LEVEL: NOTICE
31+
MARKDOWN_CONFIG_FILE: .markdownlint.yaml
32+
SUPPRESS_POSSUM: true
33+
VALIDATE_CSS: false
34+
VALIDATE_EDITORCONFIG: false
35+
VALIDATE_GITLEAKS: false
36+
VALIDATE_HTML: false
37+
VALIDATE_JAVASCRIPT_STANDARD: false
38+
VALIDATE_JSCPD: false
39+
VALIDATE_NATURAL_LANGUAGE: false
40+
VALIDATE_SHELL_SHFMT: false
41+
VALIDATE_XML: false

docs/.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/.idea
2+
/.vscode
3+
/public
4+
/dist
5+
node_modules
6+
nohup.out
7+
.DS_Store
8+
trace.out
9+
.hugo_build.lock
10+
resources/_gen/images/

docs/.markdownlint.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md
2+
3+
MD001: false
4+
MD002: false
5+
MD003: false
6+
MD004: false
7+
MD007: false
8+
MD012:
9+
maximum: 2
10+
MD013: false
11+
MD014: false
12+
MD022: false
13+
MD024: false
14+
MD031: false
15+
MD032: false
16+
MD033: false
17+
MD034: false
18+
MD036: false
19+
MD037: false
20+
MD038: false
21+
MD041: false
22+
MD046: false
23+
MD049: false
24+
MD050: false
25+
MD053: false

docs/.markdownlintignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
**/commands/**
2+
**/functions/**
3+
**/news/**
4+
**/showcase/**
5+
**/zh/**
6+
**/license.md

0 commit comments

Comments
 (0)