kicad-doc-devs team mailing list archive
-
kicad-doc-devs team
-
Mailing list archive
-
Message #00025
[PATCH] Decrease the duplicated image data for HTML documentation
From: Carsten Schoenert <c.schoenert@xxxxxxxxxxx>
While working on a update of the Debian packages for the latest KiCad stable
release the de-duplication tool [1] was again mentioning the lots of duplicated
data [2] in the HTML documentation.
I created a patch to decrease this duplication for the Debian packaging.
Unfortunately not completely but at least to not copy every time for all
targets the whole images folder again and again.
The best solution in my eyes would be to copy the images from the English
"mother" to the respective /share/doc/kicad/help/$LANG/images/ folder. The
files for $LANG than should be placed in
/share/doc/kicad/help/$LANG/images/$LANG like already done now. By this every
single language is in itself some kind of closed and has no other dependencies.
On the other hand all $LANG packages can be symlinked to
/share/doc/kicad/help/en/images and the data can be de-duplicated by this. But
this would need to change every language.
The commit message is mentioning also another possibility. Place every time all
images in and only in /share/doc/kicad/help/$LANG/images/ folder.
I haven't looked into the M$ and Apple world, so maybe my intention is breaking
there. Any thoughts how to improve teh situation here, this way or some other way?
[1] https://wiki.debian.org/dedup.debian.net
[2] https://dedup.debian.net/compare/kicad-doc-en/kicad-doc-es
Carsten Schoenert (1):
KiCadDocumentation.cmake: fix install target for HTML docu
CMakeModules/KiCadDocumentation.cmake | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
--
2.9.3
Follow ups