Repository navigation
Conversation
|
Fixed the prettier CI failure — the |
The "Start a site from scratch" Hugo-module guide in Signed-off-by: anish k <[email protected]>
… snippet Signed-off-by: anish k <[email protected]>
d83e0d0 to
1500994
Compare
|
Thanks for the contribution. This was a correct fix against the docs as they stood when #1718 was filed, but it's been superseded: since Docsy 0.16.0, PostCSS is opt-in -- Docsy only runs it for RTL languages or when the site provides a project-root For sites that do want PostCSS, the setup steps live in Installation prerequisites § Install PostCSS (optional). The start-from-scratch guide has also since been rewritten for the 0.17.0 Dart Sass flow, so this branch no longer applies cleanly. Closing as superseded, alongside #1718. Thanks again. |
The "Start a site from scratch" Hugo-module guide in
docsy.dev/content/en/docs/get-started/docsy-as-module/start-from-scratch.mdwas missing the PostCSS installation step and
postcss.config.jscreation,causing users to hit a
Cannot find module autoprefixererror when runninghugo serveron a freshly created site.The TL;DR command blocks (both Unix and Windows) now include
npm install -D autoprefixer postcss-cli postcssand the creation ofpostcss.config.jswith the autoprefixer plugin configuration. A new"Install PostCSS" subsection was also added to the Detailed Setup instructions
with the same commands and a cross-reference to the
installation prerequisites page.
Fixes #1718