forked from zaclys/searxng
0275f0f5ad
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> |
||
---|---|---|
.. | ||
css | ||
fonts | ||
img | ||
js | ||
src | ||
.gitignore | ||
README.rst | ||
gruntfile.js | ||
package.json |
README.rst
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 packageleaflet.min.css
: minimized version ofleaflet.css
(see gruntfile.js)logicodev.*
: compiled fromsrc/less/logicodev
logicodev-dark*
: compiled fromsrc/less/logicodev-dark
pointhi*
: compiled fromsrc/less/pointhi
images
: leaflet NPM package
font directory
- from bootstrap NPM package
js directory
searx.*
: compiled fromsrc/js
- other files are from NPM packages
img directory
- images for the oscar theme