diff --git a/data/doc/documentation.xml b/data/doc/documentation.xml index a41a0a86..ed0804c8 100644 --- a/data/doc/documentation.xml +++ b/data/doc/documentation.xml @@ -4483,8 +4483,16 @@ declare function config:collection-config($collection as xs:string?, $docUri as Replace modules/lib Check expath-pkg.xml for changed dependencies + + Have a look at the other XQuery files in modules: new releases + may introduce new files here, which should be copied. Also check if any of the other files + here were updated, e.g. facets.xql, nlp-config + etc. Make sure to keep your own changes. + Build your app and try to install it. This may result in errors to fix (e.g. variables/functions missing in modules/config.xqm. - Once the app starts and is functionally working, you can look into replacing other files, e.g. the global CSS file in resources/css/theme.css + Once the app starts and is functionally working, you can look into replacing other files, e.g. + the global CSS file in resources/css/theme.css or the javascript + utility files in resources/scripts. For apps created with TEI Publisher 6 updating to 7 or 8 requires only small modifications. @@ -4497,10 +4505,13 @@ declare function config:collection-config($collection as xs:string?, $docUri as configuration module (modules/config.xqm). While this is unproblematic in most environments, it causes a silent failure in windows when compiling an ODD. The underlying reason is that config.xqm itself imports a large number of other modules, leading to recursive imports, which eXist-db is currently unable to resolve properly on Windows. - In general, importing all of config.xqm into the ODD generated code is usually unnecessary as most of the settings are not needed and creates an - overhead. Version 4.0.1 of tei-publisher-lib therefore no longer imports config.xqm by default. Instead, you can configure the modules to be made - available via odd/configuration.xml (or resources/odd/configuration.xml). By default, TEI Publisher 9.1 imports the dedicated - modules/odd-global.xqm. + In general, importing all of config.xqm into the ODD generated code + is usually unnecessary as most of the settings are not needed. This creates an overhead. + Version 4.0.1 of tei-publisher-lib therefore no longer imports + config.xqm by default. Instead, you can configure the modules to be + made available via odd/configuration.xml (or + resources/odd/configuration.xml). By default, TEI Publisher 9.1 + imports the dedicated modules/odd-global.xqm. To update follow the generic instructions above.