mirror of
https://github.com/searxng/searxng.git
synced 2025-12-29 07:00:02 +00:00
After each update of the pygments version, we (or github action) should [1]
1. update less files:
./manage pyenv.cmd searxng_extra/update/update_pygments.py
update: static/themes/oscar/src/generated/pygments-logicodev.less
update: static/themes/oscar/src/generated/pygments-pointhi.less
update: static/themes/simple/src/generated/pygments.less
2. rebuild the static files of each themes:
make static.build.commit
[1] https://github.com/searxng/searxng/pull/2#issuecomment-826958666
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
install dependencies ~~~~~~~~~~~~~~~~~~~~ run this command in the directory ``searx/static/themes/oscar`` ``npm install`` compile sources ~~~~~~~~~~~~~~~ run this command in the directory ``searx/static/themes/oscar`` ``grunt`` or in the root directory: ``make grunt`` directory structure ~~~~~~~~~~~~~~~~~~~ see: - gruntfile.js - package.json ************* css directory ************* - ``bootstrap*``: bootstrap NPM package, - ``leaflet.*``: leaflet NPM package - ``leaflet.min.css``: minimized version of ``leaflet.css`` (see gruntfile.js) - ``logicodev.*``: compiled from ``src/less/logicodev`` - ``logicodev-dark*``: compiled from ``src/less/logicodev-dark`` - ``pointhi*``: compiled from ``src/less/pointhi`` - ``images``: leaflet NPM package ************** font directory ************** - from bootstrap NPM package ************ js directory ************ - ``searx.*``: compiled from ``src/js`` - other files are from NPM packages ************* img directory ************* - images for the oscar theme