guide/nanoc.yaml
# A list of file extensions that Nanoc will consider to be textual rather than
# binary. If an item with an extension not in this list is found, the file
# will be considered as binary.
text_extensions: ['slim', 'js', 'css', 'sass', 'scss', 'erb', 'html', 'md', 'xml']
prune:
auto_prune: true
data_sources:
- type: filesystem
encoding: utf-8
checks:
external_links:
exclude:
# ruby doc sometimes fails because the docs are built when the request is
# made which nano reports as failure (202)
- '^https?://www.rubydoc.info/'
base_url: https://govuk-components.netlify.app