Skip to content

Commit 6132d18

Browse files
committed
EN,CZ : Export function and formats described
1 parent 8206d79 commit 6132d18

File tree

10 files changed

+160
-12
lines changed

10 files changed

+160
-12
lines changed

cs/export.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# 📥 Export
2+
3+
Tlačítko 📥 Export (napravo na horním panelu nad textem kapitoly) Vám po kliknutí nabídne export textu kapitoly do několika formátů.
4+
5+
## Formáty
6+
7+
- **HTM**
8+
Jedna [HTML][HTML5Syntax] stránka s veškerým obsahem kapitol (princip jednotné knihy)
9+
- **MD**
10+
[markdown][MDSyntax] zdrojový kód
11+
- **TEX**
12+
[LaTeX][LATEX] zdrojový kód pro následný výstup do **PDF**
13+
- **EPUB**
14+
ePub e-book formát kompatibilní s verzí ePub2 a ePub3
15+
(otestováno primárně na SW čtečkách - [EPUBReader][EPUBReader] (Chrome), dále na Android - [ReadEra][readera], [eBoox][eboox])
16+
Pokud není k dispozici seznam témat, exportní modul se jej pokusí vytvořit z **h1** nadpisů v kapitolách.
17+
- **STATIC**
18+
Sada HTML stránek, které jsou:
19+
- statické,
20+
- minifikované,
21+
- propojené mezi sebou relativními URI cestami,
22+
- doplněné o SEO metadata (og*:, description),
23+
- CSS styly a HTML struktura jsou stále kompatibilní s **HelpViewer** (znovuvyužitelné vlastní styly pro HelpViewer bez nutnosti dalších úprav),
24+
- UI prvky jsou redukovány na základní hypertextové odkazy (ikony jsou převzaty z tlačítek v době exportu),
25+
- inspirovány principy standardu přístupnosti WCAG 2.1 AA,
26+
- 💬 Texty a tooltipy na tlačítcích a dalších prvcích jsou převzaty z aktivní lokalizace v době exportu,
27+
- neobsahují JavaScript z aplikační logiky **HelpViewer** a nepotřebují aplikaci ke svému běhu,
28+
JavaScript z kapitol nápovědy, který autor do textu vložil je zahrnut.
29+
JavaScript odkazovaný v head sekci zahrnut není.
30+
- CSS styly externích komponent (Mermaid, Prism) jsou převzaty, JavaScript je vynechán.
31+
- Pokud není k dispozici seznam témat, exportní modul se jej pokusí vytvořit z prvních **h1** nadpisů jednotlivých kapitol.
32+
- Volitelně je možné zahrnout i export seznamu 📇 [klíčových slov][Dkeywords.lst] nebo seznamu pro 🔎 [fulltextové vyhledávání][fulltextIndex]
33+
- Omezení exportu:
34+
-**Úvodní obrazovka**, 💧 **Vodoznak** nejsou součástí exportu.
35+
- 🌐 Jazyky - exportována je pouze aktivní jazyková verze. Přepínání mezi jazyky nebude možné.
36+
- Podpora vlastních úprav:
37+
- Prázdný soubor **src/custom.css** Vám dovoluje doplnit si další potřebné úpravy CSS stylu po exportu.
38+
- V souborech **sitemap.xml** a **robots.txt** nahraďte **\_REMOTEHOST\_** úplnou URI Vaší cílové domény kam budete stránky nasazovat.
39+
40+
## Omezení
41+
42+
- Exporty vždy pracují pouze s viditelným textem kapitoly. Vyjímkou jsou seznamy u **STATIC** exportu.
43+
- Administrátor může nainstalovat aplikaci bez některých exportních formátů.
44+
- Administrátor může funkci zcela odebrat z instalace - tlačítko pak chybí.
45+
46+
## Součinnosti
47+
48+
- V kombinaci s funkcí 📚 Zobrazit všechny kapitoly jako **jeden dokument** (administrátor může odebrat z instalace také) můžete exportovat celou dokumentaci.
49+
Kde je to vhodné, tak proces exportu využívá zde zvolené konfigurační volby.
50+
Funkce se doplňují, ale nemusí být v aplikaci nainstalovány obě.
51+
Volba **Static: Exportovat slovníky** rozhoduje, zda budou exportovány i seznamy klíčových slov a fulltextu (export s nimi je výrazně větší).
52+
- V kombinaci s funkcí 🖨️ **Vytisknout** je možné z textu kapitol odebrat [unicode ikonky][IconPrint] tímto postupem:
53+
1. Ve funkci **jeden dokument** vyberte v **Tisk ikonek** volbu **Odebrat**
54+
2. Kliknutím na **Vytisknout** si zobrazte náhled před tiskem, který zrušte (neodesílejte na tiskárnu)
55+
3. Ikonky budou odebrány a exporty pracují s viditelným textem kapitoly.
56+
- Funkce 🖨️ **Vytisknout** běžně dovoluje v moderních prohlížečích tisk stránky do **PDF**
57+
- V kombinaci s funkcí [👀 Zobraz repozitář][viewRepo] lze číst volně dostupné externí zdroje (například volnou sadu propojených md souborů)
58+
- S použitím parametru **d** v URI ([index.html?d=index.html?d=https://helpviewer.github.io/][test]) lze číst volně dostupné externí zdroje
59+
60+
[MDSyntax]: https://www.markdownguide.org/basic-syntax/ "MD"
61+
[HTML5Syntax]: https://www.tutorialspoint.com/html5/html5_syntax.htm "HTML"
62+
[LATEX]: https://www.latex-project.org/ "LaTeX"
63+
[EPUBReader]: https://chromewebstore.google.com/detail/epubreader/jhhclmfgfllimlhabjkgkeebkbiadflb "EPUBReader"
64+
[readera]: https://play.google.com/store/apps/details?id=org.readera "ReadEra"
65+
[eboox]: https://play.google.com/store/apps/details?id=com.reader.books "eBoox"
66+
[Dkeywords.lst]: mdata/keywords.lst.md "📇 Seznam klíčových slov (keywords.lst)"
67+
[fulltextIndex]: fulltextIndex.md "🔎 Fulltextové vyhledávání (fts-keywords.lst)"
68+
[viewRepo]: :viewRepo.htm "👀 Podívejte se na svůj repozitář"
69+
[test]: ?d=https://helpviewer.github.io/
70+
[IconPrint]: texts.md#h-2-0 "Unicode ikonky"

cs/files.lst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ https://discord.gg/J2SjcmqHSZ|Uživatelská skupina
3232
-|-
3333
sectionList.md|Seznam částí
3434
print.md|Tisk
35+
export.md|Export

cs/keywords-files.lst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
0;1;3;25;26
2-
1;2
1+
0;1;3;25;26;34
2+
1;2;34
33
2;6;13;22;25
44
3;6;7;11;10;21;26
55
3
@@ -8,10 +8,10 @@
88
5;10;11;12
99
5
1010
6
11-
7
11+
7;34
1212
5
1313
8;16
14-
9
14+
9;34
1515
10;11
1616
11;21
1717
10
@@ -20,11 +20,12 @@
2020
14;15;25;26
2121
15;10
2222
16
23-
21
23+
21;34
2424
22;26
2525
23;25;26
2626
24
27-
25
27+
25;34
2828
26
2929
27;28;29;30
3030
26
31+
34

cs/keywords.lst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ Integrace;Slučitelnost;Kompatibilita
2828
HelpViewer
2929
Odkaz
3030
Identita;Branding;Vizuál
31+
Export

cs/tree.lst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Indexace|Indexace kapitoly a popis metadat||indexing.md
2626
🏷️ Vizuální identita|Vlastní vizuální identita||branding.md
2727
Vydání verze nápovědy|Vydání verze nápovědy||publish.md
2828
🔑 Token|GitHub token||token.md
29+
📥 Export|Export||export.md
2930
🌐 Nový jazyk|Nový jazyk||newLang.md
3031
🤝 Integrace s aplikacemi|Integrace s aplikacemi||integration.md
3132
💬 Uživatelská skupina|Uživatelská skupina Discord||https://discord.gg/J2SjcmqHSZ

en/export.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# 📥 Export
2+
3+
The 📥 Export button (on the right side of the top panel above the chapter text) allows you to export the chapter text into several formats.
4+
5+
## Formats
6+
7+
- **HTM**
8+
One [HTML][HTML5Syntax] page with all chapter content (single book principle)
9+
- **MD**
10+
[markdown][MDSyntax] source code
11+
- **TEX**
12+
[LaTeX][LATEX] source code for subsequent output to **PDF**
13+
- **EPUB**
14+
ePub e-book format compatible with ePub2 and ePub3
15+
(tested primarily on SW readers - [EPUBReader][EPUBReader] (Chrome), also on Android - [ReadEra][readera], [eBoox][eboox])
16+
If no list of topics is available, the export module will attempt to create one from the **h1** headings in the chapters.
17+
- **STATIC**
18+
A set of HTML pages that are:
19+
- static,
20+
- minified,
21+
- linked to each other by relative URI paths,
22+
- supplemented with SEO metadata (og*:, description),
23+
- CSS styles and HTML structure are still compatible with **HelpViewer** (reusable custom styles for HelpViewer without the need for further modifications),
24+
- UI elements are reduced to basic hyperlinks (icons are taken from buttons at the time of export),
25+
- inspired by the principles of the WCAG 2.1 AA accessibility standard,
26+
- 💬 Texts and tooltips on buttons and other elements are taken from the active localization at the time of export,
27+
- do not contain JavaScript from the **HelpViewer** application logic and do not require the application to run,
28+
JavaScript from the help chapters that the author has inserted into the text is included.
29+
JavaScript referenced in the head section is not included.
30+
- CSS styles of external components (Mermaid, Prism) are included, JavaScript is omitted.
31+
- If no list of topics is available, the export module will attempt to create one from the first **h1** headings of each chapter.
32+
- Optionally, it is also possible to include the export of the list of 📇 [keywords][Dkeywords.lst] or the list for 🔎 [full-text search][fulltextIndex]
33+
- Export limitations:
34+
-**Intro screen**, 💧 **Watermark** are not included in the export.
35+
- 🌐 Languages - only the active language version is exported. Switching between languages will not be possible.
36+
- Support for custom modifications:
37+
- The empty **src/custom.css** file allows you to add any necessary CSS style modifications after export.
38+
- In the **sitemap.xml** and **robots.txt** files, replace **\_REMOTEHOST\_** with the full URI of your target domain where you will deploy the pages.
39+
40+
## Limitations
41+
42+
- Exports always work only with the visible text of the chapter. The exception is lists in **STATIC** exports.
43+
- The administrator can install the application without some export formats.
44+
- The administrator can completely remove the function from the installation - the button will then be missing.
45+
46+
## Synergies
47+
48+
- In combination with the 📚 Display all chapters as **one document** function (the administrator can also remove this from the installation), you can export the entire documentation.
49+
Where appropriate, the export process uses the configuration options selected here.
50+
The functions complement each other, but both do not need to be installed in the application.
51+
The **Static: Export dictionaries** option determines whether keyword and full-text lists will also be exported (exporting them significantly increases the file size).
52+
- In combination with the 🖨️ **Print** function, it is possible to remove [unicode icons][IconPrint] from the text of chapters using the following procedure:
53+
1. In the **single document** function, select the **Remove** option in **Print icons**.
54+
2. Click **Print** to display a preview before printing, which you should cancel (do not send to the printer).
55+
3. The icons will be removed and the exports will work with the visible text of the chapter.
56+
- The 🖨️ **Print** function normally allows you to print a page to **PDF** in modern browsers.
57+
- In combination with the [👀 View Repository][viewRepo] function, you can read freely available external sources (for example, a free set of linked md files).
58+
- Using the **d** parameter in the URI ([index.html?d=index.html?d=https://helpviewer.github.io/][test]), freely available external resources can be read.
59+
60+
[MDSyntax]: https://www.markdownguide.org/basic-syntax/ "MD"
61+
[HTML5Syntax]: https://www.tutorialspoint.com/html5/html5_syntax.htm "HTML"
62+
[LATEX]: https://www.latex-project.org/ "LaTeX"
63+
[EPUBReader]: https://chromewebstore.google.com/detail/epubreader/jhhclmfgfllimlhabjkgkeebkbiadflb "EPUBReader"
64+
[readera]: https://play.google.com/store/apps/details?id=org.readera "ReadEra"
65+
[eboox]: https://play.google.com/store/apps/details?id=com.reader.books "eBoox"
66+
[Dkeywords.lst]: mdata/keywords.lst.md "📇 Keywords list (keywords.lst)"
67+
[fulltextIndex]: fulltextIndex.md "🔎 Fulltext search (fts-keywords.lst)"
68+
[viewRepo]: :viewRepo.htm "👀 View your repository"
69+
[test]: ?d=https://helpviewer.github.io/
70+
[IconPrint]: texts.md#h-2-0 "Unicode icons"

en/files.lst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ https://discord.gg/J2SjcmqHSZ|User group
3232
-|-
3333
sectionList.md|Sections list
3434
print.md|Print
35+
export.md|Export

en/keywords-files.lst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
0;1;3;25;26
2-
1;2
1+
0;1;3;25;26;34
2+
1;2;34
33
2;6;13;22;25
44
3;6;7;11;10;21;26
55
3
@@ -8,10 +8,10 @@
88
5;10;11;12
99
5
1010
6
11-
7
11+
7;34
1212
5
1313
8;16
14-
9
14+
9;34
1515
10;11
1616
11;21
1717
10
@@ -20,11 +20,12 @@
2020
14;15;25;26
2121
15;10
2222
16
23-
21
23+
21;34
2424
22;26
2525
23;25;26
2626
24
27-
25
27+
25;34
2828
26
2929
27;28;29;30
3030
26
31+
34

en/keywords.lst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ Integration;Compatibility
2828
HelpViewer
2929
Link;Hyperlink
3030
Branding;Visual;Brand;Identity
31+
Export

en/tree.lst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Indexation|Chapter indexation and metadata description||indexing.md
2626
🏷️ Branding|Branding your help file||branding.md
2727
Publishing of help|Publishing of help||publish.md
2828
🔑 Token|GitHub PAT token||token.md
29+
📥 Export|Export||export.md
2930
🌐 New language|New language||newLang.md
3031
🤝 Integration with application|Integration with application||integration.md
3132
💬 User group|Discord user group||https://discord.gg/J2SjcmqHSZ

0 commit comments

Comments
 (0)