|
| 1 | +# 🗂️ Help project structure |
| 2 | + |
| 3 | +## Directories |
| 4 | + |
| 5 | +In repository you will see this structure: |
| 6 | +``` |
| 7 | +├───.github |
| 8 | +│ └───workflows |
| 9 | +├───cs |
| 10 | +└───en |
| 11 | +``` |
| 12 | + |
| 13 | +## Structure |
| 14 | + |
| 15 | +Meaning of these is: |
| 16 | + |
| 17 | +| File / path | Meaning | |
| 18 | +|---|---| |
| 19 | +| .github/workflows/publish.yml | CI script, which does [help file build][build]. Results of it is Release with these attachments: **Help-(language short code).zip** a **Help-.zip** with data of directory **_base** | |
| 20 | +| README.md | Base project description (update according to your needs) | |
| 21 | +| LICENSE | License text (update according to your needs) | |
| 22 | +| CHANGELOG.md | Change log document. This file is a source for change notes attached to releases which you will publish | |
| 23 | +| _base | Usually it is not defined or exists. You can overwrite [HelpViewer UI][cusui] here | |
| 24 | +| _invariant | Shared data over all language version of help. During publishing when there is equality in file names in language version, the _invariant file will overwrite that equally named file in language directory. | |
| 25 | +| directories cs, en, ... | 🌐 [Language version][newLang] of help file. When you will create new directory herem then you have created new language of your help. | |
| 26 | + |
| 27 | +## Language version files |
| 28 | + |
| 29 | +Subdirectory en/ : |
| 30 | + |
| 31 | +| File / path | Meaning | |
| 32 | +|---|---| |
| 33 | +| _config.txt | [Help file configuration][configDesc] | |
| 34 | +| files.lst | [File list][Dfiles.lst] with relative paths and heading for dictionaries/lists and backup headings to chapters. | |
| 35 | +| fts-keywords.lst | 🔎 If this file exists, then publishing process will prepare also [fulltext index][Dfts-keywords.lst]. If you will delete this file, then you will deactivate this feature. Keep file empty in content. | |
| 36 | +| keywords.lst | 📇 [Keywords and synonyms][Dkeywords.lst] list. You have to fill this file manually. In case this file will not exists or it will be empty, then this feature will be deactivated. | |
| 37 | +| keywords-files.lst | Relation between [keywords and files][Dkeywords-files.lst] | |
| 38 | +| tree.lst | 📖 Definition of table of contents ([TOC][Dtree.lst]). In case this file will not exists or it will be empty, then this feature will be deactivated. | |
| 39 | +| README.md | 🏡 Help main page. It will be automatically opened as first. Button on left bottom panel is directly pointing to this page. | |
| 40 | + |
| 41 | +- In language subdir you can freely create new subdirs as you want. |
| 42 | +- Hyperlinks between chapters keep in relative paths between source and target file. |
| 43 | + |
| 44 | +[Dfiles.lst]: mdata/files.lst.md "files.lst" |
| 45 | +[Dkeywords.lst]: mdata/keywords.lst.md "keywords.lst" |
| 46 | +[Dtree.lst]: mdata/tree.lst.md "tree.lst" |
| 47 | +[Dfts-keywords.lst]: fulltextIndex.md "fts-keywords.lst" |
| 48 | +[configDesc]: helpCfg.md "" |
| 49 | +[Dkeywords-files.lst]: mdata/keywords-files.lst.md "keywords-files.lst" |
| 50 | +[newLang]: newLang.md "" |
| 51 | +[build]: publish.md "" |
| 52 | +[cusui]: customUI.md "UI customization" |
0 commit comments