searxng/docs/dev
Ivan Gabaldon 0b913053a7 [mod] theme/simple: migrate codebase to TypeScript
TypeScript is a superset of JavaScript, converting the entire theme to
TypeScript allows us to receive much more feedback on possible issues made in
package updates or our own typos, furthermore, it allows to transpile properly
to lower specs. This PR couldn't be done in smaller commits, a lot of work
needed to make everything *work properly*:

- A browser baseline has been set that requires minimum **Chromium 93, Firefox
  92 and Safari 15** (proper visuals/operation on older browser versions is not
  guaranteed)
- LightningCSS now handles minification and prefix creation for CSS.
- All hardcoded polyfills and support for previous browser baseline versions
  have been removed.
- Convert codebase to TypeScript.
- Convert IIFE to ESM, handling globals with IIFE is cumbersome, ESM is the
  standard for virtually any use of JS nowadays.
- Vite now builds the theme without the need for `vite-plugin-static-copy`.
- `searxng.ready` now accepts an array of conditions for the callback to be
  executed.
- Replace `leaflet` with `ol` as there were some issues with proper Vite
  bundling.
- Merged `head` with `main` script, as head was too small now.
- Add `assertElement` to properly check the existence of critical DOM elements.
- `searxng.on` renamed to `searxng.listen` with some handling improvements.
2025-08-18 16:38:32 +02:00
..
answerers [refactor] typification of SearXNG (initial) / result items (part 1) 2025-01-28 07:07:08 +01:00
engines [feat] engines: add Marginalia (#5087) 2025-08-09 08:38:11 +02:00
plugins [refactor] typification of SearXNG (initial) / result items (part 1) 2025-01-28 07:07:08 +01:00
result_types [mod] typification of SearXNG: add new result type KeyValue 2025-03-15 10:36:33 +01:00
searxng_extra [refactor] typification of SearXNG (initial) / result items (part 1) 2025-01-28 07:07:08 +01:00
commits.rst [doc] add chapter on the purpose of (git) commits (#4729) 2025-05-12 08:27:16 +02:00
contribution_guide.rst [doc] add chapter on the purpose of (git) commits (#4729) 2025-05-12 08:27:16 +02:00
csv_table.txt docs: reST-primer describe table markup (WIP) 2019-12-20 20:39:14 +01:00
extended_types.rst [refactor] typification of SearXNG (initial) / result items (part 1) 2025-01-28 07:07:08 +01:00
hello.dot doc: add content to reST primer (WIP) // linuxdoc 2019-12-19 23:36:53 +01:00
index.rst [chore] overdue maintenance of shell scripts 2025-07-28 12:53:26 +02:00
makefile.rst [mod] theme/simple: migrate codebase to TypeScript 2025-08-18 16:38:32 +02:00
quickstart.rst [doc] Development Quickstart: debug with the Python Debugger pdb (#5100) 2025-08-09 12:16:19 +02:00
reST.rst [fix] remove twine from requirements-dev 2024-02-16 18:29:40 +01:00
rtm_asdf.rst [dev] manage runtime versions with asdf 2023-11-12 20:54:57 +01:00
search_api.rst [feat] hostname replace plugin: possibility to prioritize certain websites 2024-06-07 14:42:52 +02:00
svg_image.svg doc: add content to reST primer (WIP) // linuxdoc 2019-12-19 23:36:53 +01:00
templates.rst [fix] docs: typo in templates dev doc developerat -> developer at 2025-04-17 16:47:52 +02:00
translation.rst [fix] typos in documentation & messages 2023-08-13 08:50:29 +02:00
translation.svg [fix] translation: lock weblate only when there is an actual change of messages.pot 2021-09-06 17:16:51 +02:00