1
0
Fork 0
forgejo/docs/content/doc/advanced
silverwind d9dcd09340 add make targets for js and css, add js linter (#6952)
* add make targets for js,css, add javascript linter

- add `make js`, deprecating `make javascripts`
- add `make css`, deprecating `make generate-stylesheets` and
  `make stylesheets-check`
- changed the unclean css check to only run on CI
- add JS linting via eslint with basic configuration and fixed
  discovered issues
- changed autoprefixer to use official `postcss-cli` avoiding the need
  to loop in the makefile
- moved browserslist to package.json so other future tools can use it
  too.
- update documentation for new make targets and added JS section

* fix indentation

* move functions used in html to 'exported' list

* Run lessc binary without having to install anything to node_modules

* use relative paths to node bin scripts, removing npx

* Revert "use relative paths to node bin scripts, removing npx"

This reverts commit 119b725525.

* fix lessc and postcss plugins

* check for node_modules and use actual bin names
2019-05-16 08:57:47 +03:00
..
api-usage.en-us.md Add documentation for OTP/2FA header in API for basic auth (#6872) 2019-05-07 16:53:45 -04:00
api-usage.zh-cn.md
config-cheat-sheet.en-us.md Stop colorizing files by default (#6949) 2019-05-15 22:37:06 +01:00
config-cheat-sheet.zh-cn.md Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 2019-04-17 12:06:35 -04:00
customizing-gitea.en-us.md Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631) 2019-04-29 14:08:21 -04:00
customizing-gitea.zh-cn.md
external-renderers.en-us.md
hacking-on-gitea.en-us.md add make targets for js and css, add js linter (#6952) 2019-05-16 08:57:47 +03:00
hacking-on-gitea.zh-cn.md
logging-documentation.en-us.md Stop colorizing files by default (#6949) 2019-05-15 22:37:06 +01:00
make.en-us.md
make.fr-fr.md
make.zh-cn.md
migrations.en-us.md Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 2019-05-07 09:12:51 +08:00
oauth2-provider.md Add oauth2 documentation (#6604) 2019-04-14 10:42:11 +02:00
specific-variables.en-us.md
specific-variables.zh-cn.md
third-party-tools.en-us.md Update third-party-tools.en-us.md (#6301) 2019-03-11 19:35:18 +08:00