Skip to content

Commit

Permalink
cSpell config update (#1700)
Browse files Browse the repository at this point in the history
  • Loading branch information
coliff committed Apr 8, 2022
1 parent 9df788b commit 4c5edac
Show file tree
Hide file tree
Showing 11 changed files with 75 additions and 19 deletions.
66 changes: 63 additions & 3 deletions .cspell.json
Expand Up @@ -6,6 +6,8 @@
"aabba",
"aabbaa",
"aabbaabb",
"aabbaabbab",
"abbaa",
"abourget",
"absurl",
"adoc",
Expand All @@ -18,7 +20,11 @@
"attrlink",
"azblob",
"baseof",
"bbaa",
"bcde",
"bcdef",
"beevelop",
"Bergevin",
"bibtex",
"Bjørn",
"blackfriday",
Expand All @@ -31,6 +37,7 @@
"canonify",
"Catmull",
"Catwoman",
"changefreq",
"Cheatsheet",
"choco",
"chromastyles",
Expand All @@ -42,12 +49,15 @@
"Coen",
"Commento",
"Cond",
"contentdir",
"Contentful",
"Copr",
"copyrighthtml",
"corejs",
"countrunes",
"countwords",
"crossreferences",
"daftaupe",
"datatable",
"DATOCMS",
"debugconfig",
Expand All @@ -60,6 +70,8 @@
"dokuwiki",
"dpkg",
"DRING",
"Eiqc",
"Eliott",
"Emojify",
"Enwrite",
"eopkg",
Expand All @@ -68,6 +80,7 @@
"erroridf",
"Evernote",
"exitwp",
"expirydate",
"Feminella",
"firstpost",
"Formspree",
Expand Down Expand Up @@ -95,7 +108,9 @@
"Grayscale",
"Gruber",
"gtag",
"gvfs",
"hidecaption",
"hmac",
"Hokus",
"hola",
"hügó",
Expand All @@ -121,6 +136,7 @@
"Isset",
"Isso",
"Jaco",
"JIRN",
"johnpatitucci",
"Joomla",
"JRBR",
Expand All @@ -142,10 +158,13 @@
"mathjax",
"mdhender",
"mdshortcode",
"MENUENTRY",
"mercredi",
"Milli",
"Mittwoch",
"mkdir",
"mmark",
"modh",
"monokai",
"Morling",
"mspowerpoint",
Expand All @@ -155,17 +174,20 @@
"mydeployment",
"myindex",
"mylayout",
"mylogin",
"mypage",
"mypartials",
"mypost",
"mysite",
"myspa",
"mystyle",
"mytextpartial",
"mytheme",
"NDJSON",
"needsexample",
"Netravali",
"newparam",
"Nichlas",
"Nikhil",
"Njjy",
"nlist",
Expand All @@ -176,6 +198,7 @@
"NOSQL",
"notoc",
"novembre",
"numfmt",
"NUMWORKERMULTIPLIER",
"Obhu",
"octohug",
Expand All @@ -191,35 +214,47 @@
"PCRE",
"peaceiris",
"Pedersen",
"Pekka",
"permalinkable",
"plainify",
"POSIX",
"postprocess",
"Poupin",
"prerender",
"println",
"publishdate",
"Pygments",
"qref",
"querify",
"QVOMC",
"Racic",
"Rclone",
"rdwatters",
"readfile",
"rebinded",
"recommendedby",
"REDIR",
"reftext",
"relatedfuncs",
"relref",
"relurl",
"remarkjs",
"rgba",
"Riku",
"rlimit",
"roboto",
"rssxml",
"rwxrwxrwx",
"RYUGV",
"safehtml",
"safejs",
"Samsa",
"schemaorg",
"Shekhar",
"Shortcode",
"Shortcodes",
"signup",
"Silvola",
"Sindre",
"sitemapindex",
"sitemapxml",
Expand All @@ -231,24 +266,33 @@
"struct",
"structs",
"subdir",
"svgs",
"symdiff",
"Talkyard",
"taxo",
"taxonomyname",
"tbody",
"tdewolff",
"testshortcodes",
"thead",
"Thinkful",
"Tknx",
"TLDR",
"TMPDIR",
"TOCSS",
"todos",
"tojson",
"Tomango",
"topologix",
"Torikian",
"totoml",
"toyaml",
"twitteruser",
"Unmarshal",
"Unmarshal",
"urlize",
"urlset",
"utimestamp",
"vendored",
"vimrc",
"wanghc",
"Wappalyzer",
Expand All @@ -258,19 +302,35 @@
"wibble",
"wordcount",
"workson",
"wpxr",
"Xbaabbab",
"xvzf",
"yoyoyo",
"Zgotmpl",
"zzbbaabb"
"zzbbaabb",
"مدونتي"
],
"language": "en,en-GB,en-US,de,fr",
"allowCompoundWords": true,
"files": [
"**/*.md"
],
"ignoreRegExpList": [
"<!-- prettier-ignore -->\\n(`{3,})\\w*\\n[\\s\\S]+?\\1",
"\\[(\\*{2})?@\\w+?\\1\\]",
"\\[`\\w+`\\]",
"ve{2,}r{2,}y",
"ve+r+y+long\\w*",
"\\/.*?\\/",
"\\_\\w+",
"\\#\\w+"
],
"ignorePaths": [
".cspell.json",
"**/node_modules/**",
"*.min.*"
"*.min.*",
"**/news/*",
"**/showcase/*"
],
"useGitignore": true
}
1 change: 0 additions & 1 deletion content/en/functions/cond.md
Expand Up @@ -11,7 +11,6 @@ hugoversion: 0.27
relatedfuncs: [default]
toc: false
draft: false
needsexamples: false
---

`cond` returns *VAR1* if *CONTROL* is true, or *VAR2* if it is not.
Expand Down
1 change: 0 additions & 1 deletion content/en/functions/default.md
Expand Up @@ -18,7 +18,6 @@ relatedfuncs: []
deprecated: false
draft: false
aliases: []
needsexamples: false
---

`default` checks whether a given value is set and returns a default value if it is not. *Set* in this context means different things depending on the data type:
Expand Down
1 change: 0 additions & 1 deletion content/en/functions/uniq.md
Expand Up @@ -16,7 +16,6 @@ hugoversion:
relatedfuncs: []
deprecated: false
aliases: []
needsexamples: false
---

```
Expand Down
8 changes: 5 additions & 3 deletions content/en/getting-started/configuration.md
Expand Up @@ -46,7 +46,7 @@ In addition to using a single site config file, one can use the `configDir` dire

- Each file represents a configuration root object, such as `params.toml` for `[Params]`, `menu(s).toml` for `[Menu]`, `languages.toml` for `[Languages]` etc...
- Each file's content must be top-level, for example:

{{< code-toggle file="config" >}}
[Params]
foo = "bar"
Expand Down Expand Up @@ -220,7 +220,7 @@ Disable automatic live reloading of browser window.

: Do not convert the url/path to lowercase.

### enableEmoji
### enableEmoji

**Default value:** false

Expand Down Expand Up @@ -267,6 +267,7 @@ Google Analytics tracking ID.
If true, auto-detect Chinese/Japanese/Korean Languages in the content. This will make `.Summary` and `.WordCount` behave correctly for CJK languages.

### imaging

See [Image Processing Config](/content-management/image-processing/#image-processing-config).

### languageCode
Expand All @@ -276,6 +277,7 @@ See [Image Processing Config](/content-management/image-processing/#image-proces
A language tag as defined by [RFC 5646](https://datatracker.ietf.org/doc/html/rfc5646). The internal [RSS template](https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/_default/rss.xml) populates its `<language>` element with this value. The value is not used elsewhere.

### languages

See [Configure Languages](/content-management/multilingual/#configure-languages).

### disableLanguages
Expand Down Expand Up @@ -318,7 +320,7 @@ Don't sync modification time of files.
### outputFormats
See [Configure Output Formats](#configure-additional-output-formats).

### paginate
### paginate

**Default value:** 10

Expand Down
4 changes: 2 additions & 2 deletions content/en/hosting-and-deployment/hosting-on-keycdn.md
Expand Up @@ -83,11 +83,11 @@ The Zone ID and API key are used to purge your zone – it’s not strictly need
Now it’s time to push the newly created repository to GitLab:

```
git remote add origin git@gitlab.com:youruser/ciexample.git
git remote add origin git@gitlab.com:youruser/ci-example.git
git push -u origin master
```

You can watch the progress and CI job output in your Gitlab project under “Pipelines”.
You can watch the progress and CI job output in your Gitlab project under “Pipelines”.

After verifying your CI job ran without issues, first check that your GitLab page shows up under `https://youruser.gitlab.io/reponame/` (it might look broken depending on your browser settings as all links point to your KeyCDN zone – don’t worry about that) and then by heading to whatever Zone alias / Zone URL you defined.

Expand Down
2 changes: 0 additions & 2 deletions content/en/hosting-and-deployment/hosting-on-render.md
Expand Up @@ -4,7 +4,6 @@ linktitle: Host on Render
description: Host your Hugo site for free with Render's global CDN, fully-managed SSL and auto deploys from GitHub.
date: 2019-06-06
publishdate: 2019-06-06
lastmod: 2020-01-01
categories: [hosting and deployment]
keywords: [hosting,deployment]
authors: [Anurag Goel]
Expand Down Expand Up @@ -88,5 +87,4 @@ Render automatically downloads all Git submodules defined in your Git repo on ev

Chat with Render developers at https://render.com/chat or email `support@render.com` if you need help.


[Quick Start]: /getting-started/quick-start/
2 changes: 1 addition & 1 deletion content/en/hugo-modules/configuration.md
Expand Up @@ -46,7 +46,7 @@ workspace {{< new-in "0.83.0" >}}
: The workspace file to use. This enables Go workspace mode. Note that this can also be set via OS env, e.g. `export HUGO_MODULE_WORKSPACE=/my/hugo.work` This only works with Go 1.18+.

replacements {{< new-in "0.77.0" >}}
: A comma separated (or a slice) list of module path to directory replacement mapping, e.g. `github.com/bep/myprettytheme -> ../..,github.com/bep/shortcodes -> /some/path`. This is mostly useful for temporary locally development of a module, and then it makes sense to set it as an OS environment variable, e.g: `env HUGO_MODULE_REPLACEMENTS="github.com/bep/myprettytheme -> ../.."`. Any relative path is relate to [themesDir](https://gohugo.io/getting-started/configuration/#all-configuration-settings), and absolute paths are allowed.
: A comma separated (or a slice) list of module path to directory replacement mapping, e.g. `github.com/bep/my-theme -> ../..,github.com/bep/shortcodes -> /some/path`. This is mostly useful for temporary locally development of a module, and then it makes sense to set it as an OS environment variable, e.g: `env HUGO_MODULE_REPLACEMENTS="github.com/bep/my-theme -> ../.."`. Any relative path is relate to [themesDir](https://gohugo.io/getting-started/configuration/#all-configuration-settings), and absolute paths are allowed.

Note that the above terms maps directly to their counterparts in Go Modules. Some of these setting may be natural to set as OS environment variables. To set the proxy server to use, as an example:

Expand Down
3 changes: 1 addition & 2 deletions content/en/showcase/hapticmedia/index.md
Expand Up @@ -18,7 +18,7 @@ Hugo addresses all these needs, coupled with [Forestry.io](https://forestry.io/)
- The **multilingual** content support, especially simple to setup.
- The **multiple environments** support (develop, staging, test, production, ...).
- Although a hard start with the Go language, the power of the **Hugo's templating**.
- The **partial layouts**, including the `internals` (e.g. social metas).
- The **partial layouts**, including the `internals` (e.g. social meta tags).
- The **build time**, unbeatable ⚡️⚡️⚡️.


Expand All @@ -30,4 +30,3 @@ Hugo addresses all these needs, coupled with [Forestry.io](https://forestry.io/)
- **[Forestry.io](https://forestry.io)** for the content management.

**All of these tools allow our editor to manage the blog's content without having to worry about its technical aspect, which is managed by the developers.**

4 changes: 2 additions & 2 deletions content/en/templates/ordering-and-grouping.md
@@ -1,5 +1,5 @@
---
title: Ordere and Grouping Hugo Lists
title: Ordering and Grouping Hugo Lists
linktitle: List Ordering and Grouping
description: You can group or order your content in both your templating and content front matter.
date: 2017-02-01
Expand All @@ -19,7 +19,7 @@ toc: true
notes: This was originally going to be a separate page on the new docs site but it now makes more sense to keep everything within the templates/lists page. - rdwatters, 2017-03-12.
---

In Hugo, A list template is any template that will be used to render multiple pieces of content in a single HTML page.
In Hugo, a list template is any template that will be used to render multiple pieces of content in a single HTML page.

## Example List Templates

Expand Down
2 changes: 1 addition & 1 deletion layouts/maintenance/list.html
Expand Up @@ -15,7 +15,7 @@
<div class="w-100">
{{ $byLastMod := .Site.RegularPages.ByLastmod }}
{{ $recent := ($byLastMod | last 30).Reverse }}
{{ $leastRecent := $byLastMod | first 10 }}
{{ $leastRecent := $byLastMod | first 10 }}
<h2 id="last-updated">Last Updated</h2>
{{ partial "maintenance-pages-table.html" $recent }}
<h2 id="least-recently-updated">Least Recently Updated</h2>
Expand Down

0 comments on commit 4c5edac

Please sign in to comment.