mirror of
https://github.com/searxng/searxng.git
synced 2025-07-23 13:19:17 +02:00
[web-client] integrate the migrated theme in the development workflows
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
1a3543d4b2
commit
2bf77f5d2d
11 changed files with 69 additions and 116 deletions
|
@ -44,7 +44,7 @@
|
|||
``center_alignment`` : default ``false``
|
||||
When enabled, the results are centered instead of being in the left (or RTL)
|
||||
side of the screen. This setting only affects the *desktop layout*
|
||||
(:origin:`min-width: @tablet <searx/static/themes/simple/src/less/definitions.less>`)
|
||||
(:origin:`min-width: @tablet <client/simple/src/less/definitions.less>`)
|
||||
|
||||
.. cache_url:
|
||||
|
||||
|
|
|
@ -197,7 +197,7 @@ html_sidebars = {
|
|||
],
|
||||
}
|
||||
singlehtml_sidebars = {"index": ["project.html", "localtoc.html"]}
|
||||
html_logo = "../src/brand/searxng-wordmark.svg"
|
||||
html_logo = "../client/simple/src/brand/searxng-wordmark.svg"
|
||||
html_title = "SearXNG Documentation ({})".format(VERSION_STRING)
|
||||
html_show_sourcelink = True
|
||||
|
||||
|
|
|
@ -180,10 +180,13 @@ sources of the theme need to be rebuild. You can do that by running::
|
|||
|
||||
$ make themes.all
|
||||
|
||||
Alternatively to ``themes.all`` you can run *live builds* of the theme you are
|
||||
modify (:ref:`make themes`)::
|
||||
..
|
||||
ToDo: vite server is not implemented yet / will be done in a follow up PR
|
||||
|
||||
$ LIVE_THEME=simple make run
|
||||
Alternatively to ``themes.all`` you can run *live builds* of the theme you are
|
||||
modify (:ref:`make themes`)::
|
||||
|
||||
$ LIVE_THEME=simple make run
|
||||
|
||||
.. _make format.python:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue