metadata.json.tpl 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. "config": {
  2. "plugins": ["fontsettings", "highlight", "livereload", "lunr", "search", "sharing", "theme-default", "livereload"],
  3. "styles": {
  4. "ebook": "styles/ebook.css",
  5. "epub": "styles/epub.css",
  6. "mobi": "styles/mobi.css",
  7. "pdf": "styles/pdf.css",
  8. "print": "styles/print.css",
  9. "website": "styles/website.css"
  10. },
  11. "pluginsConfig": {
  12. "fontsettings": {
  13. "family": "sans",
  14. "size": 2,
  15. "theme": "white"
  16. },
  17. "highlight": {},
  18. "livereload": {},
  19. "lunr": {
  20. "ignoreSpecialCharacters": false,
  21. "maxIndexSize": 1000000
  22. },
  23. "search": {},
  24. {%- include gitbook-sharing.json.tpl -%}
  25. "theme-default": {
  26. "showLevel": false,
  27. "styles": {
  28. "ebook": "styles/ebook.css",
  29. "epub": "styles/epub.css",
  30. "mobi": "styles/mobi.css",
  31. "pdf": "styles/pdf.css",
  32. "print": "styles/print.css",
  33. "website": "styles/website.css"
  34. }
  35. }
  36. },
  37. "theme": "default",
  38. "author": "Tao He",
  39. "pdf": {
  40. "pageNumbers": true,
  41. "fontSize": 12,
  42. "fontFamily": "Arial",
  43. "paperSize": "a4",
  44. "chapterMark": "pagebreak",
  45. "pageBreaksBefore": "/",
  46. "margin": {
  47. "right": 62,
  48. "left": 62,
  49. "top": 56,
  50. "bottom": 56
  51. }
  52. },
  53. "structure": {
  54. "langs": "LANGS.md",
  55. "readme": "README.md",
  56. },
  57. "variables": {},
  58. "title": "{{site.title}}",
  59. "language": "en",
  60. "gitbook": "*"
  61. },
  62. "file": {
  63. "path": "{{ page.path }}",
  64. "mtime": "{{ page.date }}",
  65. "type": "markdown"
  66. },
  67. "gitbook": {
  68. "version": "{{site.gitbook_version}}",
  69. "time": "{{site.time}}"
  70. },
  71. "basePath": "{{site.baseurl}}",
  72. "book": {
  73. "language": ""
  74. }