From 826ee8859f0ac41e9eb005e01f49573033cfa239 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Sat, 9 Apr 2011 11:29:07 -0400 Subject: [PATCH] Bug 6152: Document DOM authority index config Add a note so developers know not to edit authority-zebra-indexdefs.xsl directly but to instead edit authority-koha-indexdefs.xml and use the koha-indexdefs-to-zebra.xsl stylesheet to generate the former from the latter. Signed-off-by: Frederic Demians Signed-off-by: Ian Walls Signed-off-by: Chris Cormack (cherry picked from commit 190a4234f7e4a869498c6cc67453bbe8a256467c) Signed-off-by: Chris Nighswonger --- .../marc21/authorities/authority-koha-indexdefs.xml | 6 ++++++ .../marc21/authorities/authority-zebra-indexdefs.xsl | 8 ++++++++ .../marc21/authorities/koha-indexdefs-to-zebra.xsl | 8 ++++++++ 3 files changed, 22 insertions(+) diff --git a/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml b/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml index 8b56ad046a..7b59be31ee 100644 --- a/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml +++ b/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml @@ -1,4 +1,10 @@ + v diff --git a/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl b/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl index c05b711078..23989fc375 100644 --- a/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl +++ b/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl @@ -1,4 +1,12 @@ + diff --git a/etc/zebradb/marc_defs/marc21/authorities/koha-indexdefs-to-zebra.xsl b/etc/zebradb/marc_defs/marc21/authorities/koha-indexdefs-to-zebra.xsl index 57c632108e..edaa9d4328 100644 --- a/etc/zebradb/marc_defs/marc21/authorities/koha-indexdefs-to-zebra.xsl +++ b/etc/zebradb/marc_defs/marc21/authorities/koha-indexdefs-to-zebra.xsl @@ -18,6 +18,14 @@ + +This file has been automatically generated from a Koha index definition file +with the stylesheet koha-indexdefs-to-zebra.xsl. Do not manually edit this file, +as it may be overwritten. To regenerate, edit the appropriate Koha index +definition file (probably something like authority-koha-indexdefs.xml) and run: +`xsltproc koha-indexdefs-to-zebra.xsl authority-koha-indexdefs.xml > +authority-zebra-indexdefs.xsl` (substituting the appropriate file names). + -- 2.39.5