Skip to content

Commit 473f739

Browse files
committed
EN, CZ : README : links to mini HTTP server mentioned as an alternative to CORS
1 parent 7109a82 commit 473f739

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

cs/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ je moderní a rychlý nástroj pro prohlížení dokumentace Markdown a HTML př
55
## Jak to funguje
66

77
1. Stáhněte si balíček <span id="linkhereI"></span> a rozbalte jej.
8-
2. Pro správné zobrazení spusťte prohlížeč bez [CORS omezení][bypassCORS]. Jinak se zobrazí stránka se zprávou a budete muset ručně vybrat soubory s nápovědou a daty.
8+
2. Pro správné zobrazení spusťte prohlížeč bez [CORS omezení][bypassCORS]. Jinak se zobrazí stránka se zprávou a budete muset ručně vybrat soubory s nápovědou a daty.
9+
Další možností, pokud nechcete zasahovat do CORS, je stažení lokálního HTTP serveru pro [Linux][SLinux] (Go/musl libc) nebo [Windows][SWindows], založení složky **www** v umístění serveru a rozbalení instalace **HelpViewer** do této složky a spuštění serveru localhost:8080 v prohlížeči.
910
3. Otevřete **index.html** v prohlížeči.
1011
4. Nastavte URL parametr **?d=X**, kde **X** bude cesta k ZIP souboru s nápovědou nebo bude končit **/**, pokud má být čten obsah adresáře.
1112
Pokud toto neuděláte, **./hlp/Help-{vybraný jazyk prohlížeče}.zip** bude určeno jako výchozí.
@@ -28,3 +29,5 @@ je moderní a rychlý nástroj pro prohlížení dokumentace Markdown a HTML př
2829
[bypassCORS]: corsPolicy.md "Prohlížeč může blokovat přístup k místním souborům (file://) kvůli CORS politikám"
2930
[userdoc]: ?d=hlp-user/Help-__.zip "Rychlá příručka pro uživatele"
3031
[Prism]: https://prismjs.com/ "Prism - zvýraznění syntaxe výpisů kódu"
32+
[SLinux]: https://github.com/HelpViewer/MiniHTTPServer/releases/download/20260206/main "Místní server (Linux)"
33+
[SWindows]: https://github.com/HelpViewer/MiniHTTPServer/releases/download/20260206/main.exe "Místní server (Windows)"

en/README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ is a modern, portable and fast tool for viewing Markdown and HTML documentation
55
## How it works
66

77
1. Download the deployment package from <span id="linkhereI"></span> and unzip it.
8-
2. For correct display, launch the browser without [CORS restrictions][bypassCORS]. Otherwise, you will see a page with message and have to manually select help and data files.
9-
3. Open the **index.html** file in your browser.
10-
4. Set the URL parameter **?d=X**, where **X** is the path to your ZIP file or you can define path ending with **/** if you want to read a directory.
8+
2. For correct display, launch the browser without [CORS restrictions][bypassCORS]. Otherwise, you will see a page with message and have to manually select help and data files.
9+
Alternatively, if you don't want to interfere with CORS, is to download a local HTTP server for [Linux][SLinux] (Go/musl libc) or [Windows][SWindows], create a **www** folder in the server location, extract the **HelpViewer** installation into this folder, and start the server on localhost:8080 in your browser.
10+
1. Open the **index.html** file in your browser.
11+
2. Set the URL parameter **?d=X**, where **X** is the path to your ZIP file or you can define path ending with **/** if you want to read a directory.
1112
If you skip this step, **./hlp/Help-{current language}.zip** will be used by default.
12-
5. You will see e.g. the [user documentation][userdoc] directly in HelpViewer, just like you are seeing this web page.
13+
3. You will see e.g. the [user documentation][userdoc] directly in HelpViewer, just like you are seeing this web page.
1314

1415
<script>
1516
insertDownloadLink('linkhereI');
@@ -28,3 +29,5 @@ is a modern, portable and fast tool for viewing Markdown and HTML documentation
2829
[bypassCORS]: corsPolicy.md "Browser possibly blocking local file access (file://) due to CORS policy restrictions"
2930
[userdoc]: ?d=hlp-user/Help-__.zip "User quick guide"
3031
[Prism]: https://prismjs.com/ "Prism - syntax highlighting"
32+
[SLinux]: https://github.com/HelpViewer/MiniHTTPServer/releases/download/20260206/main "Local server (Linux)"
33+
[SWindows]: https://github.com/HelpViewer/MiniHTTPServer/releases/download/20260206/main.exe "Local server (Windows)"

0 commit comments

Comments
 (0)