metadata.json.tpl 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. "sharing": {
  25. "all": ["facebook", "google", "twitter", "weibo", "instapaper"],
  26. "facebook": true,
  27. "google": false,
  28. "instapaper": false,
  29. "twitter": true,
  30. "vk": false,
  31. "weibo": false
  32. },
  33. "theme-default": {
  34. "showLevel": false,
  35. "styles": {
  36. "ebook": "styles/ebook.css",
  37. "epub": "styles/epub.css",
  38. "mobi": "styles/mobi.css",
  39. "pdf": "styles/pdf.css",
  40. "print": "styles/print.css",
  41. "website": "styles/website.css"
  42. }
  43. }
  44. },
  45. "theme": "default",
  46. "author": "Tao He",
  47. "pdf": {
  48. "pageNumbers": true,
  49. "fontSize": 12,
  50. "fontFamily": "Arial",
  51. "paperSize": "a4",
  52. "chapterMark": "pagebreak",
  53. "pageBreaksBefore": "/",
  54. "margin": {
  55. "right": 62,
  56. "left": 62,
  57. "top": 56,
  58. "bottom": 56
  59. }
  60. },
  61. "structure": {
  62. "langs": "LANGS.md",
  63. "readme": "README.md",
  64. },
  65. "variables": {},
  66. "title": "{{site.title}}",
  67. "language": "en",
  68. "gitbook": "*"
  69. },
  70. "file": {
  71. "path": "{{ page.path }}",
  72. "mtime": "{{ page.date }}",
  73. "type": "markdown"
  74. },
  75. "gitbook": {
  76. "version": "{{site.gitbook_version}}",
  77. "time": "{{site.time}}"
  78. },
  79. "basePath": "{{site.baseurl}}",
  80. "book": {
  81. "language": ""
  82. }