From 2600a8a2e29e01435aff17b99b26664708ad2943 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Thu, 27 Jun 2024 10:46:00 -0700 Subject: [PATCH] Miscellaneous edits --- content/en/about/features.md | 15 +++++++++------ content/en/functions/css/PostCSS.md | 6 ++---- content/en/functions/css/TailwindCSS.md | 1 + content/en/functions/js/Build.md | 2 +- content/en/functions/resources/Babel.md | 1 - content/en/functions/resources/Fingerprint.md | 9 ++++----- content/en/functions/resources/Minify.md | 8 ++++---- content/en/functions/resources/PostCSS.md | 3 +-- content/en/functions/resources/PostProcess.md | 6 ++---- content/en/functions/resources/ToCSS.md | 1 - content/en/methods/taxonomy/_index.md | 1 + 11 files changed, 25 insertions(+), 28 deletions(-) diff --git a/content/en/about/features.md b/content/en/about/features.md index ff7e9ce13..4cbfc695b 100644 --- a/content/en/about/features.md +++ b/content/en/about/features.md @@ -80,17 +80,19 @@ toc: true [URL management] : Serve any page from any path via global configuration or on a page-by-page basis. - ## Asset pipelines -[CSS bundling] -: Transpile Sass to CSS, bundle, tree shake, minify, create source maps, perform SRI hashing, and integrate with PostCSS. +[Image processing] +: Convert, resize, crop, rotate, adjust colors, apply filters, overlay text and images, and extract EXIF data. [JavaScript bundling] : Transpile TypeScript and JSX to JavaScript, bundle, tree shake, minify, create source maps, and perform SRI hashing. -[Image processing] -: Convert, resize, crop, rotate, adjust colors, apply filters, overlay text and images, and extract EXIF data. +[Sass processing] +: Transpile Sass to CSS, bundle, tree shake, minify, create source maps, perform SRI hashing, and integrate with PostCSS. + +[Tailwind CSS processing] +: Compile Tailwind CSS utility classes into standard CSS, bundle, tree shake, optimize, minify, perform SRI hashing, and integrate with PostCSS. ## Performance @@ -104,7 +106,7 @@ toc: true : Minify HTML, CSS, and JavaScript to reduce file size, bandwidth consumption, and loading times. [CCPA]: https://en.wikipedia.org/wiki/California_Consumer_Privacy_Act -[CSS bundling]: /functions/resources/tocss/ +[Sass processing]: /functions/css/Sass/ [Caching]: /functions/partials/includecached/ [CommonMark]: https://spec.commonmark.org/current/ [Content adapters]: /content-management/content-adapters/ @@ -130,6 +132,7 @@ toc: true [Segmentation]: /getting-started/configuration/#configure-segments [Shortcodes]: /content-management/shortcodes/ [Syntax highlighting]: /content-management/syntax-highlighting/ +[Tailwind CSS processing]: /functions/css/tailwindcss/ [Taxonomies]: /content-management/taxonomies/ [Templates]: templates/introduction/ [Themes]: https://themes.gohugo.io/ diff --git a/content/en/functions/css/PostCSS.md b/content/en/functions/css/PostCSS.md index ed1652d00..750971c10 100644 --- a/content/en/functions/css/PostCSS.md +++ b/content/en/functions/css/PostCSS.md @@ -6,10 +6,8 @@ keywords: [] action: aliases: [postCSS] related: - - functions/resources/Fingerprint - - functions/resources/Minify - - functions/resources/PostProcess - functions/css/Sass + - functions/css/TailwindCSS returnType: resource.Resource signatures: ['css.PostCSS [OPTIONS] RESOURCE'] toc: true @@ -128,4 +126,4 @@ module.exports = { [node.js]: https://nodejs.org/en/download [postcss plugins]: https://www.postcss.parts/ [supported file name]: https://github.com/postcss/postcss-load-config#usage -[transpile to CSS]: /functions/resources/tocss.md +[transpile to CSS]: /functions/css/sass/ diff --git a/content/en/functions/css/TailwindCSS.md b/content/en/functions/css/TailwindCSS.md index f09726fb7..143616453 100644 --- a/content/en/functions/css/TailwindCSS.md +++ b/content/en/functions/css/TailwindCSS.md @@ -8,6 +8,7 @@ action: related: - functions/resources/Fingerprint - functions/resources/Minify + - functions/css/PostCSS returnType: resource.Resource signatures: ['css.TailwindCSS [OPTIONS] RESOURCE'] toc: true diff --git a/content/en/functions/js/Build.md b/content/en/functions/js/Build.md index 7d09c05f6..2a948416e 100644 --- a/content/en/functions/js/Build.md +++ b/content/en/functions/js/Build.md @@ -6,7 +6,7 @@ keywords: [] action: aliases: [] related: - - functions/resources/Babel + - functions/js/Babel - functions/resources/Fingerprint - functions/resources/Minify returnType: resource.Resource diff --git a/content/en/functions/resources/Babel.md b/content/en/functions/resources/Babel.md index b2c46df2a..b2b51ae97 100644 --- a/content/en/functions/resources/Babel.md +++ b/content/en/functions/resources/Babel.md @@ -4,7 +4,6 @@ description: Compiles the given JavaScript resource with Babel. categories: [] keywords: [] action: - aliases: [babel] related: - functions/js/Build - functions/resources/Fingerprint diff --git a/content/en/functions/resources/Fingerprint.md b/content/en/functions/resources/Fingerprint.md index 685214f96..1fc01912d 100644 --- a/content/en/functions/resources/Fingerprint.md +++ b/content/en/functions/resources/Fingerprint.md @@ -6,12 +6,11 @@ keywords: [] action: aliases: [fingerprint] related: - - functions/js/Build - - functions/resources/Babel - functions/resources/Minify - - functions/resources/PostCSS - - functions/resources/PostProcess - - functions/resources/ToCSS + - functions/css/Sass + - functions/css/TailwindCSS + - functions/js/Build + - functions/js/Babel returnType: resource.Resource signatures: ['resources.Fingerprint [ALGORITHM] RESOURCE'] --- diff --git a/content/en/functions/resources/Minify.md b/content/en/functions/resources/Minify.md index 9749df20a..25314fd6a 100644 --- a/content/en/functions/resources/Minify.md +++ b/content/en/functions/resources/Minify.md @@ -6,11 +6,11 @@ keywords: [] action: aliases: [minify] related: - - functions/js/Build - - functions/resources/Babel - functions/resources/Fingerprint - - functions/resources/PostCSS - - functions/resources/ToCSS + - functions/css/Sass + - functions/css/TailwindCSS + - functions/js/Build + - functions/js/Babel returnType: resource.Resource signatures: [resources.Minify RESOURCE] --- diff --git a/content/en/functions/resources/PostCSS.md b/content/en/functions/resources/PostCSS.md index 9c51639cb..f495b16fe 100644 --- a/content/en/functions/resources/PostCSS.md +++ b/content/en/functions/resources/PostCSS.md @@ -4,7 +4,6 @@ description: Processes the given resource with PostCSS using any PostCSS plugin. categories: [] keywords: [] action: - aliases: [postCSS] related: - functions/resources/Fingerprint - functions/resources/Minify @@ -133,4 +132,4 @@ module.exports = { [node.js]: https://nodejs.org/en/download [postcss plugins]: https://www.postcss.parts/ [supported file name]: https://github.com/postcss/postcss-load-config#usage -[transpile to CSS]: /functions/resources/tocss.md +[transpile to CSS]: /functions/css/sass/ diff --git a/content/en/functions/resources/PostProcess.md b/content/en/functions/resources/PostProcess.md index f9192aa9f..e1f8e5f8e 100644 --- a/content/en/functions/resources/PostProcess.md +++ b/content/en/functions/resources/PostProcess.md @@ -6,10 +6,8 @@ keywords: [] action: aliases: [] related: - - functions/resources/Fingerprint - - functions/resources/Minify - - functions/resources/PostCSS - - functions/resources/ToCSS + - functions/css/PostCSS + - functions/css/Sass returnType: postpub.PostPublishedResource signatures: [resources.PostProcess RESOURCE] toc: true diff --git a/content/en/functions/resources/ToCSS.md b/content/en/functions/resources/ToCSS.md index b6f72e908..bd98dab19 100644 --- a/content/en/functions/resources/ToCSS.md +++ b/content/en/functions/resources/ToCSS.md @@ -4,7 +4,6 @@ description: Transpiles Sass to CSS. categories: [] keywords: [] action: - aliases: [toCSS] related: - functions/resources/Fingerprint - functions/resources/Minify diff --git a/content/en/methods/taxonomy/_index.md b/content/en/methods/taxonomy/_index.md index e7eb57834..18c7f12c9 100644 --- a/content/en/methods/taxonomy/_index.md +++ b/content/en/methods/taxonomy/_index.md @@ -7,6 +7,7 @@ menu: docs: identifier: parent: methods +aliases: [/variables/taxonomy/] --- Use these methods with Taxonomy objects.