|
| 1 | +# Hexo Configuration |
| 2 | +## Docs: https://hexo.io/docs/configuration.html |
| 3 | +## Source: https://github.com/hexojs/hexo/ |
| 4 | + |
| 5 | +# Site |
| 6 | +title: 帮助中心 |
| 7 | +subtitle: CODING |
| 8 | +description: Coding.net 是一个面向开发者的云端开发平台,提供 Git/SVN 代码托管、任务管理、在线 WebIDE、Cloud Studio、开发协作、文件管理、Wiki 管理、提供个人服务及企业版本的服务 |
| 9 | +keywords: 项目管理、需求管理、缺陷管理、Bug Tracking、Bug管理、代码托管、代码评审、Code Review、敏捷开发、看板、迭代、流水线、Wiki、DevOps、Git、SVN、持续集成、CI、Jenkins、CD、测试管理、自动构建、Pages 服务、网页搭建、任务系统、研发管理 |
| 10 | +author: CODING |
| 11 | +language: |
| 12 | +timezone: |
| 13 | + |
| 14 | +# URL |
| 15 | +## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' |
| 16 | +url: https://help.coding.net/ |
| 17 | +root: / |
| 18 | +permalink: :year/:month/:day/:title/ |
| 19 | +permalink_defaults: |
| 20 | + |
| 21 | +# Directory |
| 22 | +source_dir: source |
| 23 | +public_dir: public |
| 24 | +tag_dir: tags |
| 25 | +archive_dir: archives |
| 26 | +category_dir: categories |
| 27 | +code_dir: downloads/code |
| 28 | +i18n_dir: :lang |
| 29 | +skip_render: |
| 30 | + |
| 31 | +# Writing |
| 32 | +new_post_name: :title.md # File name of new posts |
| 33 | +default_layout: page |
| 34 | +titlecase: false # Transform title into titlecase |
| 35 | +external_link: true # Open external links in new tab |
| 36 | +filename_case: 0 |
| 37 | +render_drafts: false |
| 38 | +post_asset_folder: false |
| 39 | +relative_link: false |
| 40 | +future: true |
| 41 | +highlight: |
| 42 | + enable: true |
| 43 | + line_number: true |
| 44 | + auto_detect: false |
| 45 | + tab_replace: |
| 46 | + |
| 47 | +# Home page setting |
| 48 | +# path: Root path for your blogs index page. (default = '') |
| 49 | +# per_page: Posts displayed per page. (0 = disable pagination) |
| 50 | +# order_by: Posts order. (Order by date descending by default) |
| 51 | +index_generator: |
| 52 | + path: '' |
| 53 | + per_page: 10 |
| 54 | + order_by: -date |
| 55 | + |
| 56 | +# Category & Tag |
| 57 | +default_category: uncategorized |
| 58 | +category_map: |
| 59 | +tag_map: |
| 60 | + |
| 61 | +# Date / Time format |
| 62 | +## Hexo uses Moment.js to parse and display date |
| 63 | +## You can customize the date format as defined in |
| 64 | +## http://momentjs.com/docs/#/displaying/format/ |
| 65 | +date_format: YYYY-MM-DD |
| 66 | +time_format: HH:mm:ss |
| 67 | + |
| 68 | +# Pagination |
| 69 | +## Set per_page to 0 to disable pagination |
| 70 | +per_page: 10 |
| 71 | +pagination_dir: page |
| 72 | + |
| 73 | +# Extensions |
| 74 | +## Plugins: https://hexo.io/plugins/ |
| 75 | +## Themes: https://hexo.io/themes/ |
| 76 | +theme: coding-help |
| 77 | + |
| 78 | +autoprefixer: |
| 79 | + exclude: |
| 80 | + - '*.min.css' |
| 81 | + overrideBrowserslist: |
| 82 | + - 'last 2 versions' |
| 83 | + |
| 84 | +# Deployment |
| 85 | +## Docs: https://hexo.io/docs/deployment.html |
| 86 | +deploy: |
| 87 | + type: |
0 commit comments