config.mjs 870 B

12345678910111213141516171819202122232425262728
  1. import { defineUserConfig } from "vuepress/cli";
  2. import { defaultTheme } from "@vuepress/theme-default";
  3. import { viteBundler } from "@vuepress/bundler-vite";
  4. import { seoPlugin } from "@vuepress/plugin-seo";
  5. import { sitemapPlugin } from "@vuepress/plugin-sitemap";
  6. import rootPkgJson from "../../../package.json";
  7. export default defineUserConfig({
  8. lang: "en-US",
  9. base: "/v2/docs/",
  10. title: "geniURL",
  11. description: "A simple JSON and XML REST API to search for song metadata, the lyrics URL and lyrics translations on genius.com",
  12. theme: defaultTheme({
  13. logo: "https://vuejs.press/images/hero.png",
  14. navbar: ["/", "/get-started"],
  15. }),
  16. bundler: viteBundler(),
  17. plugins: [
  18. seoPlugin({
  19. hostname: "https://api.sv443.net",
  20. author: rootPkgJson.author,
  21. }),
  22. sitemapPlugin({
  23. hostname: "https://api.sv443.net",
  24. }),
  25. ]
  26. });