_config.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. # NOTE:
  2. # some of the settings in this file get overwritten in later config
  3. # files like _prod.yml, _dev.yml, and _defaults.yml
  4. # =======
  5. # Site settings
  6. # =======
  7. title: Cordova 中文网
  8. title_suffix: "Cordova 中文网"
  9. url: "https://cordova.apache.org" # the base hostname & protocol
  10. baseurl: "" # the subpath of the site, e.g. /blog; NOTE: no trailing slash
  11. rss_path: /feed.xml
  12. description: >
  13. Apache Cordova是一组设备api,允许web移动应用程序开发人员通过JavaScript访问本机设备功能。
  14. excerpt_separator: <!--more-->
  15. # the version to which /latest/ points
  16. # NOTE:
  17. # this value gets overwritten in _version.yml, which is a generated file
  18. latest_docs_version: dev
  19. # the docs version that is shown by default when clicking on docs links on the site
  20. default_linked_docs_version: latest
  21. # the language that serves as the source for the translations
  22. src_language: zh-cn
  23. # NOTE:
  24. # this value _might_ get overwritten on some pages;
  25. # see _defaults.yml, which is a generated file
  26. language: zh-cn
  27. # NOTE:
  28. # this value gets overwritten in _defaults.yml, which is a generated file
  29. defaults:
  30. # =======
  31. # Build settings
  32. # =======
  33. source: www
  34. destination: build-dev
  35. # don't erase these files in the output directory
  36. keep_files: [".git", ".svn", "wiki-images", "images", "downloads"]
  37. lsi: false # don't produce an index for related posts
  38. safe: false # disables plugins
  39. markdown: redcarpet
  40. redcarpet:
  41. extensions:
  42. # this enables code blocks denoted by backticks, like in GFM
  43. # NOTE:
  44. # this is turned on by default by Jekyll, but is still
  45. # specified explicitly here in case the defaults change
  46. - fenced_code_blocks
  47. # this allows code blocks and HTML blocks to
  48. # not have a leading or trailing newline
  49. - lax_spacing
  50. # allows tables
  51. - tables
  52. # surrounds highlighted text with <mark>s
  53. - highlight
  54. highlighter: rouge
  55. kramdown:
  56. input: GFM
  57. hard_wrap: false
  58. syntax_highlighter: rouge
  59. # exclude these directories from the build
  60. exclude:
  61. - static/css-src
  62. algolia_api_key: "0a916ab198bd93d031aa70611271e42e"