From 86c5c0dc9903eaa01dede9296a8927a1973cec81 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Sun, 25 Mar 2018 12:56:05 -0300 Subject: [PATCH] Doc: added splitting/reconstruct instructions to the offline doc scrits readme --- src/Tools/offlinedoc/README | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Tools/offlinedoc/README b/src/Tools/offlinedoc/README index 8ffe61dfdb..216a9eb869 100644 --- a/src/Tools/offlinedoc/README +++ b/src/Tools/offlinedoc/README @@ -26,3 +26,13 @@ download and another to actually download the files. since the stored revision ID. The script is meant to run twice, one to get a list of pages that have changed, and another one to download the changed pages (and all their dependencies) again. + +8) To split the generated freecad.qch into parts that are smaller than 50Mb + (github limit): split -d --byte=49M localwiki/freecad.qch localwiki/freecad.qch.part + +9) To join the parts again (for testing): cat localwiki/freecad.qch.part* >> test.qch + Then check that test.qch has the same md5 number than localwiki/freecad.qch + +10) To test: assistant -collectionFile localwiki/freecad.qhc + +