mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 11:05:56 +02:00
43b6d42719
This major update changes the behaviour of the docviewer module to use a cached manifest rather than on demand. This allows us to simplify the URL matching and store 'nice' URL configuration rather than altering handleAction().
24 lines
711 B
Markdown
24 lines
711 B
Markdown
title: Publishing Static Files
|
|
|
|
# HTML Publishing
|
|
|
|
If you wish to generate a truly static version of your documentation after it
|
|
has been rendered through the website, add the [Static Publisher](https://github.com/silverstripe-labs/silverstripe-staticpublisher)
|
|
module to your documentation project and set the following configuration in your
|
|
applications config.yml:
|
|
|
|
```
|
|
StaticExporter:
|
|
extensions:
|
|
- DocumentationStaticPublisherExtension
|
|
```
|
|
|
|
If you don't plan on using static publisher for anything else and you have the
|
|
cms module installed, make sure you disable the CMS from being published.
|
|
|
|
Again, in your applications config.yml file
|
|
|
|
```
|
|
StaticExporter:
|
|
disable_sitetree_export: true
|
|
``` |