diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | compiler/ldgallery.1.md | 4 | ||||
-rw-r--r-- | viewer/ldgallery-viewer.7.md | 45 |
3 files changed, 41 insertions, 10 deletions
@@ -1 +1,3 @@ | |||
1 | # compiled man pages | ||
1 | *.1 | 2 | *.1 |
3 | *.7 | ||
diff --git a/compiler/ldgallery.1.md b/compiler/ldgallery.1.md index 7d1dd77..1d42eff 100644 --- a/compiler/ldgallery.1.md +++ b/compiler/ldgallery.1.md | |||
@@ -1,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | pagetitle: User manual - ldgallery | 2 | pagetitle: Compiler user manual - ldgallery |
3 | title: LDGALLERY(1) ldgallery user manual | 3 | title: LDGALLERY(1) ldgallery |
4 | author: Pacien TRAN-GIRARD, Guillaume FOUET | 4 | author: Pacien TRAN-GIRARD, Guillaume FOUET |
5 | date: 2020-02-15 (v0.1.0.0-SNAPSHOT) | 5 | date: 2020-02-15 (v0.1.0.0-SNAPSHOT) |
6 | --- | 6 | --- |
diff --git a/viewer/ldgallery-viewer.7.md b/viewer/ldgallery-viewer.7.md index 0711496..da3be76 100644 --- a/viewer/ldgallery-viewer.7.md +++ b/viewer/ldgallery-viewer.7.md | |||
@@ -1,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | pagetitle: Viewer user manual - ldgallery | 2 | pagetitle: Viewer user manual - ldgallery |
3 | title: LDGALLERY-VIEWER(7) ldgallery viewer | 3 | title: LDGALLERY-VIEWER(7) ldgallery |
4 | author: Pacien TRAN-GIRARD, Guillaume FOUET | 4 | author: Pacien TRAN-GIRARD, Guillaume FOUET |
5 | date: 2020-02-16 (v0.1.0.0-SNAPSHOT) | 5 | date: 2020-02-16 (v0.1.0.0-SNAPSHOT) |
6 | --- | 6 | --- |
@@ -8,30 +8,59 @@ date: 2020-02-16 (v0.1.0.0-SNAPSHOT) | |||
8 | 8 | ||
9 | # NAME | 9 | # NAME |
10 | 10 | ||
11 | ldgallery viewer - a static web gallery with tags | 11 | ldgallery viewer - a static web gallery viewer with tags |
12 | 12 | ||
13 | 13 | ||
14 | # DESCRIPTION | 14 | # DESCRIPTION |
15 | 15 | ||
16 | TODO | 16 | The ldgallery viewer is a web application that allows users to browse, search through and view items in galleries generated by the ldgallery(1) compiler. |
17 | |||
18 | The web application runs in a JavaScript-enabled web browser and does not require any special software on the server's side. Its responsiveness allows it to be used from either a desktop browser or some mobile device. | ||
17 | 19 | ||
18 | 20 | ||
19 | # USER INTERFACE | 21 | # USER INTERFACE |
20 | 22 | ||
21 | TODO | 23 | The viewer's user interface is split into a main item view and a side search panel, which can be opened by using the appropriate button in the toolbar at the top-left corner. |
24 | |||
25 | The main view displays the gallery's directories and items as a thumbnail grid. | ||
26 | |||
27 | The side panel allows the user to interactively enter filtering queries to search through the gallery's content. This panel features a list of relevant tags that can be used to build the search query. | ||
28 | |||
29 | Picture items can be opened and visualised within the application. Other types of elements are either downloaded or displayed in the same window depending on the user's web browser supported media types. | ||
22 | 30 | ||
23 | 31 | ||
24 | # SEARCH QUERIES | 32 | # SEARCH QUERIES |
25 | 33 | ||
26 | TODO | 34 | Items can be filtered based on their tags. |
35 | Adding tags to the search query restricts the search results to items having those tags. | ||
36 | |||
37 | The following modifiers can be used in queries as prefixes of tags: | ||
38 | |||
39 | `+` | ||
40 | : Include all items having the associated tag, | ||
41 | independently of simple tag restrictions. | ||
42 | |||
43 | `-` | ||
44 | : Exclude all items having the associated tag, | ||
45 | independently of simple tag restrictions and inclusions. | ||
46 | |||
47 | |||
48 | <!-- TODO: document tag groups and disambiguation once they're fully implemented (#29) --> | ||
27 | 49 | ||
28 | 50 | ||
29 | # VIEWER CONFIGURATION | 51 | # VIEWER CONFIGURATION |
30 | 52 | ||
31 | TODO | 53 | The viewer itself can be configured through a JSON file named `config.json` and placed in the web viewer's directory. |
54 | |||
55 | galleryRoot | ||
56 | : Absolute or relative path to the root of the gallery to display. | ||
57 | |||
58 | |||
59 | # PROGRESSIVE WEB APPLICATION | ||
60 | |||
61 | This web application can be "installed" on some user's mobile device as a progressive web application, i.e. a shortcut giving the web page the appearance of a native application. | ||
32 | 62 | ||
33 | key.key | 63 | This feature can be enabled by adding a PWA manifest in the viewer's directory when deployed. An example of such manifest and an associated icon are available in the example folder packaged with the viewer. |
34 | : Details | ||
35 | 64 | ||
36 | 65 | ||
37 | # SEE ALSO | 66 | # SEE ALSO |