blob: 2779dd73de72268018fffa5d5a8c87a3bfb13582 [file] [log] [blame] [view]
David Pursehouse240fbff2016-08-25 09:58:15 +09001# Configuration
2
3The `gitiles.config` file supporting the site contains several configuration
4options.
5
6[TOC]
7
8## Markdown
9
10### Disabling markdown
11
12Markdown can be completely disabled by setting render to false.
13
14```
15[markdown]
16 render = false
17```
18
19### Markdown size
20
21Markdown files are limited by default to 5 MiB of input text
22per file. This limit is configurable, but should not be raised
23beyond available memory.
24
25```
26[markdown]
27 inputLimit = 5M
28```
29
30### Image size
31
32Referenced [images are inlined](#Images) as base64 encoded URIs.
33The image limit places an upper bound on the byte size of input.
34
35```
36[markdown]
37 imageLimit = 256K
38```
39
40## Google Analytics
41
42[Google Analytics](https://www.google.com/analytics/) can be
43enabled on every rendered markdown page by adding the Property ID
44to the configuration file:
45
46```
47[google]
48 analyticsId = UA-XXXX-Y
49```