Preheat the Oven: Set your oven to 350°F (175°C) and grease a donut pan to prevent sticking.
Mix Dry Ingredients: In a large bowl, whisk together the all-purpose flour, cocoa powder, sugar, baking powder, baking soda, and salt until well combined.
Combine Wet Ingredients: In a separate mixing bowl, combine the buttermilk, vegetable oil, egg, and vanilla extract. Mix until everything is smooth and blended.
Combine Mixtures: Gently fold the wet mixture into the dry ingredients until just blended. After that, delicately fold in the fresh raspberries.
Fill the Pan: Spoon the batter into the prepared donut pan, filling each cavity about ¾ full.
Bake Donuts: Place the pan in the oven and bake the donuts for 12-15 minutes, or until a toothpick inserted in the center comes out clean.
Cool the Donuts: Allow the baked donuts to cool in the pan for about 5 minutes before transferring them to a wire rack.
Make the Glaze: For the chocolate glaze, melt the semi-sweet chocolate chips and coconut oil in a microwave-safe bowl, using 30-second intervals and stirring until smooth.
Glaze the Donuts: Dip the tops of the cooled donuts into the melted chocolate glaze, allowing any excess to drip off.
Serve and Enjoy: Serve your donuts warm or at room temperature.