metadata.json.tpl 2.1 KB

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