diff options
author | John Olheiser <42128690+jolheiser@users.noreply.github.com> | 2019-02-20 13:56:40 -0600 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2019-02-20 19:56:40 +0000 |
commit | eaf9ded18201d8ad2587860ed98763ca040f0b71 (patch) | |
tree | bea069efc098a3e7d4beeffb9abaaf26c09f47f3 /docs | |
parent | eea1155afe0fa3b1bbafe91504c9342f9a69245a (diff) | |
download | gitea-eaf9ded18201d8ad2587860ed98763ca040f0b71.tar.gz gitea-eaf9ded18201d8ad2587860ed98763ca040f0b71.zip |
Makefile changes for Windows and easier development (#6103)
* Added Go Path and node_modules to PATH
* Uses npx now for generate-stylesheets
* Uses `go env GOPATH` to calculate adding GOPATH/bin to PATH
* Added note about installing Node 8.0+ to generate stylesheets
* Added preferred Node version to CONTRIBUTING.md
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/doc/advanced/hacking-on-gitea.en-us.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/content/doc/advanced/hacking-on-gitea.en-us.md b/docs/content/doc/advanced/hacking-on-gitea.en-us.md index bbb1cb6584..ee2dc00fd9 100644 --- a/docs/content/doc/advanced/hacking-on-gitea.en-us.md +++ b/docs/content/doc/advanced/hacking-on-gitea.en-us.md @@ -138,6 +138,8 @@ make vet lint misspell-check ### Updating the stylesheets +To generate the stylsheets, you will need [Node.js](https://nodejs.org/) at version 8.0 or above. + At present we use [less](http://lesscss.org/) and [postcss](https://postcss.org) to generate our stylesheets. Do **not** edit the files in `public/css/` directly as they are generated from `lessc` from the files in `public/less/`. |