Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resources.PostProcess has no alias but documentation disagrees #1400

Closed
RalphCorderoy opened this issue Jan 20, 2021 · 1 comment · Fixed by #2296
Closed

resources.PostProcess has no alias but documentation disagrees #1400

RalphCorderoy opened this issue Jan 20, 2021 · 1 comment · Fixed by #2296

Comments

@RalphCorderoy
Copy link

https://gohugo.io/hugo-pipes/introduction/#method-aliases explains that every resources transformation has an alias except for those explicitly listed, e.g. resources.FromString. PostProcess isn't listed but doesn't have an alias. AFAIK tpl/resources/init.go defines the aliases as fingerprint, minify, toCSS, postCSS, and babel.

Either an alias should be added or the list of exceptions updated. (I think it's wrong to have an exception list in the documentation. Instead, it could say aliases exist for some of them and they're each documented on the individual page for the transform. Otherwise, when reading about PostCSS, I don't know there's an alias.)

@davidsneighbour
Copy link
Contributor

That documentation was probably written before PostProcess was introduced. Feel free to add a PR to gohugoio/hugoDocs (which is the official documentation repo and will be merged back here on each release).

@jmooring jmooring transferred this issue from gohugoio/hugo Apr 2, 2021
jmooring added a commit to jmooring/hugo-docs that referenced this issue Oct 15, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Oct 16, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Oct 19, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Oct 19, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Oct 20, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Oct 24, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Oct 27, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Oct 30, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 1, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 2, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 2, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 2, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 2, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 2, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 2, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 3, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 3, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 3, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 3, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 4, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 4, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants