@eox/pages-theme-eox 2.0.0-alpha.6 → 2.0.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,6 @@
1
1
  import fs from "node:fs";
2
2
  import path from "node:path";
3
+ import { resolveLlms } from "./llms/index.js";
3
4
 
4
5
  function copyThemePages() {
5
6
  try {
@@ -93,6 +94,7 @@ function getBlogRewrites() {
93
94
  */
94
95
  export const generate = (brandConfig) => {
95
96
  copyThemePages();
97
+ const llmsResult = resolveLlms(brandConfig.llms, brandConfig);
96
98
  const config = {
97
99
  appearance: false,
98
100
  cleanUrls: true,
@@ -191,6 +193,9 @@ export const generate = (brandConfig) => {
191
193
  themeConfig: {
192
194
  outline: "deep",
193
195
  siteTitle: false,
196
+ llms: {
197
+ copyButtons: llmsResult.copyButtons,
198
+ },
194
199
  theme: {
195
200
  primaryColor: brandConfig.theme?.primary_color,
196
201
  secondaryColor:
@@ -223,6 +228,7 @@ export const generate = (brandConfig) => {
223
228
  optimizeDeps: {
224
229
  exclude: ["@eox/pages-theme-eox"],
225
230
  },
231
+ plugins: [...llmsResult.plugins],
226
232
  },
227
233
  vue: {
228
234
  template: {