-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.rdfpub
99 lines (90 loc) · 4.52 KB
/
.rdfpub
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# This is the configuration file for an rdfpub site. It is a YAML file that
# specifies various settings for the site it belongs to.
### BaseURI ###
# Specifies the base URI that relative URI's throughout the site are resolved
# against. For instance, /foo/bar is a relative URI that would be resolved
# against http://example.com as http://example.com/foo/bar.
#
# It is also the value that will be used to set the server name in the site's
# Nginx (OpenResty) config.
#
# This is a required string value that must be a valid HTTP or HTTPS URL.
BaseURI: https://rdf.pub
### DefaultLanguage ###
# Specifies the default language of the site. This value is used to specify the
# language of index files that aren't tagged with their own language, and it's
# used as the preferred language of a resource that is served by default if no
# other language can be idenfied during content negotiation.
#
# This is a required string value that must be an IETF language code, such as
# 'en' for English or 'es' for Spanish.
DefaultLanguage: en-us
### SPARQLEndpoint ###
# Specifies the path of the site's SPARQL endpoint. The path is given special
# treatment during the site build process in that it cannot have explicit RDF
# files (it serves a SPARQL service description instead) and it responds to
# SPARQL query requests.
#
# This is a required string value that defaults to '/sparql' if not specified.
SPARQLEndpoint: "/tutorial/sparql"
### Prefixes ###
# Specifies global prefixes that are made available to all RDF formats that
# support prefixes without having to declare them in each individual RDF file.
# These prefixes are a map of a prefix name to a prefix URI.
Prefixes:
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs: http://www.w3.org/2000/01/rdf-schema#
dcterms: http://purl.org/dc/terms/
owl: http://www.w3.org/2002/07/owl#
tutorial: /tutorial/vocab#
### FileTypes ###
# Specifies additional associations between file extensions and MIME types.
# While humans are typically used to file extensions for identifying file
# types, such as .gif for GIF images or .txt for plain text files, web browsers
# rely on MIME types to decide how to handle files served from websites. rdfpub
# includes a good majority of file types that are common on the web by default,
# but you can specify additional types or override existing types using this
# optional configuration option.
#
# The value is a map of file extensions to MIME types.
#FileTypes: the tutorial site doesn't use this value
### CompressFiles ###
# Specifies file patterns for static files that are to be compressed in the
# site output. Compression can significantly reduce the size of many kinds of
# files, especially text-based files such as CSS files, which in turn will
# greatly speed up your site's delivery. Compression is generally not
# recommended for images or binary files as these types of files do not
# compress well and may process more slowly with the overhead of compression.
#
# All files matching any of the specified patterns will be compressed
# with both gzip and brotli compression algorithms and will support content
# negotiation for either encoding. All resource RDF and HTML files are
# automatically compressed and do not need to be listed.
CompressFiles:
- '\.css$'
### ExcludeFiles ###
# Specifies file patterns that are to be excluded from the site build. This is
# useful to exclude certain files, such as Markdown files, that are useful as
# site metadata but aren't meant to be published to the web. This value is a
# list of regular expression patterns that match a file path (including the
# file name).
ExcludeFiles:
- '.+\.md'
- LICENSE
### IncludeFiles ###
# Specifies file patterns that are to be explicitly included in the site build.
# This is especially useful for 'dot files' -- files and directories that start
# with a '.' -- which are normally excluded from a site build by default. This
# value is a list of regular expression patterns that match a file path
# (including the file name).
#IncludeFiles: the tutorial site doesn't use this value
### CleanOutputDirectory ###
# Specifies whether or not the output directory for the site should be deleted
# before a build. Setting this value to `true` is potentially dangerous as it
# will delete any output directory that it's able to delete which can cause
# accidental data loss if it's pointed at the wrong directory.
#
# This value defaults to `false` and is safer to leave at its default value.
# It's mostly intended for local testing of the site init process when fast
# testing cycles are wanted.
CleanOutputDirectory: false