Michael Opdenacker
662482ebce
Audio course course banner
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2024-08-05 14:20:10 +02:00
Franciszek Stachura
f5f49b6b39
Quick fix for searching identifiers with commas
...
Fixes #309 , both manual search and display in search bar.
2024-08-02 13:43:14 +02:00
Franciszek Stachura
86af364b14
Generate pretty HTML for more errors
2024-07-31 11:33:53 +02:00
Franciszek Stachura
3d34855677
Make full width of directory entry in tree template clickable
2024-07-31 11:33:49 +02:00
Franciszek Stachura
decc2680b2
Move title generation to templates
2024-07-30 15:16:11 +02:00
Franciszek Stachura
8932f26a22
Move topbar family list to web.py
2024-07-30 15:16:07 +02:00
Franciszek Stachura
4c22738687
Move ident URL generation to web.py
2024-07-30 15:11:32 +02:00
Franciszek Stachura
5c92b378ea
Create file URLs for tree in web.py
2024-07-30 14:10:51 +02:00
Franciszek Stachura
ee4ccdeb80
Provide base source and ident URLs for project and tag as variables
2024-07-30 14:10:51 +02:00
Franciszek Stachura
bf6f183189
Don't display size for directories
...
* Refactor projects list
2024-07-30 14:10:51 +02:00
Franciszek Stachura
d107fa27aa
Remove current_url template variable
...
Now that the base tag is gone it's not useful anymore
* Make line number links use relative paths
2024-07-30 14:10:51 +02:00
Franciszek Stachura
8cf71f5e62
Remove base tag and baseurl template variable
2024-07-30 14:10:51 +02:00
Franciszek Stachura
21802b3203
Make dynamic references popup use absolute paths
2024-07-30 14:10:51 +02:00
Franciszek Stachura
edce92a64c
Make url in templates and web.py absolute
...
This is a step to removing the base tag. Once everything uses absolute
URLs, base tag will be removed and some URLs will be replaced
by relative URLs.
2024-07-30 14:10:51 +02:00
Franciszek Stachura
5c6e604b9b
Generate links for versions sidebar outside of template context
...
* Replace url variable with current_url that contains the current
absolute url. This gets us a little closer to getting rid of the base
tag
2024-07-30 14:10:51 +02:00
Franciszek Stachura
dbc7191060
Change template variable names to be more descriptive
2024-07-30 14:10:51 +02:00
Franciszek Stachura
554bb11381
Refactor directory tree generation to use a namedtuple
...
* Fix #302 - Symlinks redirect to invalid paths (but only the directory
tree part)
* Move more view-related logic to the template
2024-07-30 12:49:29 +02:00
Franciszek Stachura
f08aeb7b76
Split layout into sidebar and topbar
2024-07-30 12:49:29 +02:00
Franciszek Stachura
6e0a1ad64c
Move source page generation to templates
2024-07-30 12:49:29 +02:00
Franciszek Stachura
36ae9046f4
Move ident template to a new file
2024-07-30 12:49:29 +02:00
Franciszek Stachura
aa5057264d
Move ident page HTML generation to layout template
2024-07-30 12:49:29 +02:00
Franciszek Stachura
237b4bb549
Move breadcrumb links generation to layout template
2024-07-30 12:49:29 +02:00
Franciszek Stachura
126ddae515
Move generate_versions to layout template
2024-07-30 12:49:25 +02:00
Franciszek Stachura
cb093ba2a5
Show a loading indicator if API fetch takes more than 200 milliseconds
2023-12-18 11:41:24 +01:00
Franciszek Stachura
7c595fe883
Change style.css version to force stylesheet cache reload
...
Fix documentation links rendering
2023-12-18 11:24:37 +01:00
Franciszek Stachura
5871fa6dca
Add dynamic references
...
Initial implementation of a new mode in which clicking on an
identifier creates a HTML popup instead of redirecting to a new page.
Skip popup if ctrl/shift/meta is held. Fix generateDocComments
Add ident css class to more ident links (docs, dtb, config...)
Make popup positioning more predicatble
* Attempt to move the popup if a part of it is rendered outside of the viewport
* Make popup full-width on smartphone/small tablet devices
Hide popup on escape click
Add "use strict" and fix undeclared variable errors
2023-12-15 09:00:18 +01:00
Michael Opdenacker
5d39bb2ffa
Bump version to 2.2
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2023-05-15 15:40:49 +02:00
Michael Opdenacker
cb5fc9fbdc
Update default HTML banner
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2022-11-23 14:56:39 +01:00
AlphaHot
09f37db41f
web : Add autofocus when entering a search
2020-08-19 14:57:59 +05:00
Michael Opdenacker
e8a82f675f
Bump version to 2.1
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2020-06-22 06:49:37 +02:00
Michael Opdenacker
53c160b349
Expand "description" header for better search engine results
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2020-06-12 16:15:46 +02:00
Maxime Chretien
086250fb03
web : Add autocompletion for ident search bar
...
To do that we use a slightly modified version of the script found here:
https://github.com/autocompletejs/autocomplete.js/tree/2.7
This code is under MIT licence so it's compatible with Elixir's licence
The server answers requests from the script via a new interface:
https://elixir.bootlin.com/acp?q= <query>&f=<family>&p=<project>
And this is handled by autocomplete.py
The script creates and uses a tmp file to store idents for each project
in order to reduce the time needed to answer a request.
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
2020-06-11 14:38:44 +02:00
Maxime Chretien
4dec3ee4e9
web : Add DT compatible strings support
...
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
2020-06-08 15:37:59 +02:00
Maxime Chretien
5e287d9a7e
templates/layout.html: Add tooltip on search select element
...
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
2020-05-28 11:46:05 +02:00
Maxime Chretien
0385f29296
web.py/query.py: Add option to search identifiers in all families
...
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
2020-05-28 11:37:17 +02:00
Michael Opdenacker
26dea97750
v2.0 release
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2020-05-27 09:07:35 +02:00
Maxime Chretien
962d6fb539
web interface: Add support for Kconfig and Devicetree idents
...
Keep old urls compatibility by settings family to C when nothing is
given.
Add a select element to select in which file family we want to search an
ident.
Update filters to support families and to handle Kconfig idents properly.
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
2020-05-22 10:29:24 +02:00
Chris White
f112ab0826
Regularize whitespace; add editorconfig
...
- Change the few files that use leading tabs into leading spaces.
This way they match the other files in the repo.
- Add an EditorConfig file so that supported editors will automatically
use spaces instead of tabs.
- (Extra) Add some common editor backup-file extensions to .gitignore.
2020-03-21 08:58:43 -04:00
Michael Opdenacker
3de325ca86
Improve and update website banner
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2020-02-04 10:51:24 +01:00
Michael Opdenacker
229491e7d8
Bump version number to 1.0
...
- A database rebuild is needed after some indexing changes
(aca12c5c ) and a tokenizer bug fix (dbec4df )
- This version change also shows the progress and maturity of the
project, now supporting the source code of 16 projects.
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-08 11:38:46 +02:00
Michael Opdenacker
73360d1397
Finalize banner
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-06-27 14:51:33 +02:00
Michael Opdenacker
1f3204f2b7
Further banner text reduction
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-06-27 14:39:54 +02:00
Michael Opdenacker
856362da73
Attempt to further reduce banner size
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-06-27 14:38:29 +02:00
Michael Opdenacker
f8fb7aa837
Shrink banner text
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-06-27 14:36:43 +02:00
Michael Opdenacker
cbc3f17c47
Change banner text
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-06-27 14:35:14 +02:00
Michael Opdenacker
3e69f7ddb1
Update banner hyperlink
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-03-21 11:27:24 +01:00
Michael Opdenacker
0eea6aa35f
Add a message banner and hyperlink to the header
...
- This allows to make some announcements
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-03-21 07:36:31 +01:00
Michael Opdenacker
1637e1eca6
Update icons
...
- Using Mastodon instead of GooglePlus (RIP)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-03-20 11:02:23 +01:00
Michael Opdenacker
fd81603a4e
Update URLs
...
- In particular the GitHub URL for the project
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2018-07-18 08:23:27 +02:00
Michael Opdenacker
e732c6a295
Version 0.3: support projects through rudimentary "plugins"
...
- Allows to add a project by just adding custom
definitions to projects/<project>.sh
- Except for cases that haven't been anticipated yet,
modifying common code should no longer be needed
Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
2018-04-03 15:29:08 +02:00