The General process of CE marking
1.
The development team shall evaluate what regulations that is applicable to its product.The CE directives (i.e. Machinery Directive 2006/42/EC and others ) are provided in the link to EU commission below.
https://single-market-economy.ec.europa.eu/single-market/goods/new-legislative-framework_en
When you can not identify any definition in any of the CE marking directives or regulations you need to conform to the General Product Safety Directive
REGULATION (EU) 2023/988 OF THE EUROPEAN PARLIAMENT AND OF THE COUNCIL of 10 May 2023 on general product safety, amending
Other regulation without the legal document Declaration of Conformity that might apply are REACH
https://www.kemi.se/en/rules-and-regulations/the-reach-regulation
or Food Contact Regulation 10/2011
Write in your CEDOC file under technical Documentation under "Other Directive" what directive you have applied to the product.