book.js 707 B

12345678910111213141516171819202122232425262728293031323334
  1. var pkg = require("./package.json");
  2. module.exports = {
  3. // Documentation for GitBook is stored under "docs"
  4. root: "./docs/",
  5. title: "代码收集",
  6. // Enforce use of GitBook v3
  7. gitbook: "3.1.1",
  8. // Use the "official" theme
  9. plugins: [
  10. "theme-official@2.1.1",
  11. "-sharing",
  12. "-fontsettings",
  13. "sitemap",
  14. "-search",
  15. "search-pro",
  16. ],
  17. variables: {
  18. version: pkg.version,
  19. },
  20. pluginsConfig: {
  21. sitemap: {
  22. hostname: "https://blog.honghaitao.net/",
  23. },
  24. "search-pro": {
  25. cutWordLib: "nodejieba",
  26. defineWord: ["小需求", "基础建设"],
  27. },
  28. },
  29. };