| 37 | === Configuration === |
| 38 | Configuration options are made in `trac\environment\path\conf\trac.ini` and the parameters are in the `[pagetodoc]` section (which you will need to add as documented in the installation instructions). |
| 39 | |
| 40 | || `xsltfile` || '''(Required)''' The path to the XSLT file to use for transforming the wiki HTML output. Specify the filepath of `html_filtered.xslt` shipped with PageToDocIntegration || |
| 41 | || `tidypath` || ''(Optional)'' Path to tidy. If left empty then the executable search path is used. [[BR]]Added in [5406] hoping it helps to resolve issues like #4396 || |
| 42 | || `xsltprocpath` || ''(Optional)'' Path to xlstproc. If left empty then the executable search path is used. [[BR]]Added in [5406] hoping it helps to resolve issues like #4396 || |
| 43 | || `replace_host` || ''(Optional)'' Two strings separated by a comma. A replace operation is performed on the image URL finding the first part and replacing with the 2nd part.[[BR]]Added in [5401] hoping it fixes #3507|| |
| 44 | || `img_max_x` || ''(Optional)'' max image width? Used to calculate if image needs to be resized. Default is 0 || |
| 45 | || `img_max_y` || ''(Optional)'' max image height? Used to calculate if image needs to be resized. Default is 0 || |
| 46 | || `dpi` || ''(Optional)'' dots per inch? Used to calculate if image needs to be resized. Default is 96|| |
| 47 | |
| 48 | {{{ |
| 49 | [pagetodoc] |
| 50 | xsltfile = /path/to/your/xsltfile |
| 51 | replace_host = man-wwl-sw, localhost |
| 52 | xsltprocpath = path/to/xsltproc |
| 53 | tidypath = /path/to/tidy |
| 54 | img_max_x = 500 |
| 55 | img_max_y = 200 |
| 56 | dpi = 96 |
| 57 | }}} |
| 58 | |