mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
Consistently use "edition" when referring to standard, extended, etc.
This commit is contained in:
@@ -161,7 +161,7 @@ Step 10
|
|||||||
|
|
||||||
## Building from source
|
## Building from source
|
||||||
|
|
||||||
You can build, install, and test Hugo at any point in its development history. The examples below build and install the extended version of Hugo.
|
You can build, install, and test Hugo at any point in its development history. The examples below build and install the extended edition of Hugo.
|
||||||
|
|
||||||
To build and install the latest release:
|
To build and install the latest release:
|
||||||
|
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ silenceDeprecations
|
|||||||
|
|
||||||
## Dart Sass
|
## Dart Sass
|
||||||
|
|
||||||
The extended version of Hugo includes [LibSass] to transpile Sass to CSS. In 2020, the Sass team deprecated LibSass in favor of [Dart Sass].
|
Hugo's extended and extended/deploy editions include [LibSass] to transpile Sass to CSS. In 2020, the Sass team deprecated LibSass in favor of [Dart Sass].
|
||||||
|
|
||||||
Use the latest features of the Sass language by installing Dart Sass in your development and production environments.
|
Use the latest features of the Sass language by installing Dart Sass in your development and production environments.
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: hugo.IsExtended
|
title: hugo.IsExtended
|
||||||
description: Reports whether the Hugo binary is the extended version.
|
description: Reports whether the Hugo binary is either the extended or extended/deploy edition.
|
||||||
categories: []
|
categories: []
|
||||||
keywords: []
|
keywords: []
|
||||||
action:
|
action:
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ includePaths
|
|||||||
|
|
||||||
## Dart Sass
|
## Dart Sass
|
||||||
|
|
||||||
The extended version of Hugo includes [LibSass] to transpile Sass to CSS. In 2020, the Sass team deprecated LibSass in favor of [Dart Sass].
|
Hugo's extended and extended/deploy editions include [LibSass] to transpile Sass to CSS. In 2020, the Sass team deprecated LibSass in favor of [Dart Sass].
|
||||||
|
|
||||||
Use the latest features of the Sass language by installing Dart Sass in your development and production environments.
|
Use the latest features of the Sass language by installing Dart Sass in your development and production environments.
|
||||||
|
|
||||||
|
|||||||
@@ -16,21 +16,21 @@ The `build` configuration section contains global build-related configuration op
|
|||||||
|
|
||||||
{{< code-toggle config=build />}}
|
{{< code-toggle config=build />}}
|
||||||
|
|
||||||
#### buildStats
|
###### buildStats
|
||||||
|
|
||||||
See [Configure buildStats](#configure-build-stats).
|
See [Configure buildStats](#configure-build-stats).
|
||||||
|
|
||||||
#### cachebusters
|
###### cachebusters
|
||||||
|
|
||||||
See [Configure Cache Busters](#configure-cache-busters).
|
See [Configure Cache Busters](#configure-cache-busters).
|
||||||
|
|
||||||
#### noJSConfigInAssets
|
###### noJSConfigInAssets
|
||||||
|
|
||||||
(`bool`) If `true`, turns off writing a `jsconfig.json` into your `assets` directory with mapping of imports from running [js.Build](/hugo-pipes/js). This file is intended to help with intellisense/navigation inside code editors such as [VS Code](https://code.visualstudio.com/). Note that if you do not use `js.Build`, no file will be written.
|
(`bool`) If `true`, turns off writing a `jsconfig.json` into your `assets` directory with mapping of imports from running [js.Build](/hugo-pipes/js). This file is intended to help with intellisense/navigation inside code editors such as [VS Code](https://code.visualstudio.com/). Note that if you do not use `js.Build`, no file will be written.
|
||||||
|
|
||||||
#### useResourceCacheWhen
|
###### useResourceCacheWhen
|
||||||
|
|
||||||
(`string`) When to use the cached resources in `/resources/_gen` for PostCSS and ToCSS. Valid values are `never`, `always` and `fallback`. The last value means that the cache will be tried if PostCSS/extended version is not available.
|
(`string`) When to use the resource file cache, one of `never`, `fallback`, or `always`. Applicable when transpiling Sass to CSS. Default is `fallback`.
|
||||||
|
|
||||||
## Configure cache busters
|
## Configure cache busters
|
||||||
|
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ max
|
|||||||
: (`string`) The maximum Hugo version supported, e.g. `0.55.0`
|
: (`string`) The maximum Hugo version supported, e.g. `0.55.0`
|
||||||
|
|
||||||
extended
|
extended
|
||||||
: (`bool`) Whether the extended version of Hugo is required.
|
: (`bool`) Whether the extended edition of Hugo is required, satisfied by installing either the extended or extended/deploy edition.
|
||||||
|
|
||||||
## Module configuration: imports
|
## Module configuration: imports
|
||||||
|
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ includePaths
|
|||||||
|
|
||||||
## Dart Sass
|
## Dart Sass
|
||||||
|
|
||||||
The extended version of Hugo includes [LibSass] to transpile Sass to CSS. In 2020, the Sass team deprecated LibSass in favor of [Dart Sass].
|
Hugo's extended and extended/deploy editions include [LibSass] to transpile Sass to CSS. In 2020, the Sass team deprecated LibSass in favor of [Dart Sass].
|
||||||
|
|
||||||
Use the latest features of the Sass language by installing Dart Sass in your development and production environments.
|
Use the latest features of the Sass language by installing Dart Sass in your development and production environments.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user