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 119b725525a8430b32ee7a6e6009b4ece544e39b.

* 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 Adapt documentation to renamed ENABLE_SWAGGER option (#5811) 2019-01-23 20:09:18 +00:00
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 Fix translation errors in doc advanced part (zh-cn) (#5112) 2018-12-23 18:57:49 +08:00
external-renderers.en-us.md Copyedit docs (#6275) 2019-03-09 16:15:45 -05:00
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 ZH-CN translation of Advanced part (#5090) 2018-10-17 14:21:20 +03:00
logging-documentation.en-us.md Stop colorizing files by default (#6949) 2019-05-15 22:37:06 +01:00
make.en-us.md General documentation cleanup (#3317) 2018-01-08 23:48:42 +01:00
make.fr-fr.md General documentation cleanup (#3317) 2018-01-08 23:48:42 +01:00
make.zh-cn.md ZH-CN translation of Advanced part (#5090) 2018-10-17 14:21:20 +03:00
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 Copyedit docs (#6275) 2019-03-09 16:15:45 -05:00
specific-variables.zh-cn.md ZH-CN translation of Advanced part (#5090) 2018-10-17 14:21:20 +03:00
third-party-tools.en-us.md Update third-party-tools.en-us.md (#6301) 2019-03-11 19:35:18 +08:00