You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: git stash if material changes have not been made
45
45
# When considering whether it's worth making a PR, ignore the following:
46
-
# - The dataset-site-template version number updating within the template in DatasetSiteMustacheTemplate.cs (affects one line)
46
+
# - The dataset-site-template version number updating within the template in DatasetSiteMustacheTemplate.cs (affects four lines)
47
+
# - The dataset-site-template version number updating within the template in README.md (affects three lines)
47
48
# - Any updates to the package.json or package-lock.json files in OpenActive.DatasetSite.NET.Generator (not worth creating a PR JUST for these if the new version did not have any implications)
48
49
# git stashing if no material changes allows the next step to close the PR if one is already open
49
-
run: if [ "$(git diff --numstat | grep -vc '^1\s.*DatasetSiteMustacheTemplate\.cs\|.*package\.json\|.*package-lock\.json$')" -eq "0" ]; then git stash; else echo "Material changes found"; fi
50
+
run: if [ "$(git diff --numstat | grep -vc '^4\s.*DatasetSiteMustacheTemplate\.cs\|3\s.*README\.md\|.*package\.json\|.*package-lock\.json$')" -eq "0" ]; then git stash; else echo "Material changes found"; fi
OrganisationPlainTextDescription="Established in 1993, GLL is the largest UK-based charitable social enterprise delivering leisure, health and community services. Under the consumer facing brand Better, we operate 258 public Sports and Leisure facilities, 88 libraries, 10 children�s centres and 5 adventure playgrounds in partnership with 50 local councils, public agencies and sporting organisations. Better leisure facilities enjoy 46 million visitors a year and have more than 650,000 members.",
OrganisationPlainTextDescription="Established in 1993, GLL is the largest UK-based charitable social enterprise delivering leisure, health and community services. Under the consumer facing brand Better, we operate 258 public Sports and Leisure facilities, 88 libraries, 10 children�s centres and 5 adventure playgrounds in partnership with 50 local councils, public agencies and sporting organisations. Better leisure facilities enjoy 46 million visitors a year and have more than 650,000 members.",
Copy file name to clipboardExpand all lines: OpenActive.DatasetSite.NET/DatasetSiteGenerator.cs
+21-7Lines changed: 21 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -16,8 +16,9 @@ public static class DatasetSiteGenerator
16
16
/// </summary>
17
17
/// <param name="settings">Configuration settings for the dataset site</param>
18
18
/// <param name="supportedFeedTypes">The supplied list auto-generates the metadata associated which each feed using best-practice values.</param>
19
+
/// <param name="staticAssetsPathUrl">A relative or absolute URI path of the directory containing the self-hosted static asset files for the CSP-compatible template. If set, the CSP-compatible template will be used.</param>
19
20
/// <returns>String containing human readable list</returns>
@@ -64,8 +65,9 @@ public static string ToHumanisedList(this List<string> list)
64
65
/// <param name="settings">Configuration settings for the dataset site</param>
65
66
/// <param name="dataDownloads">A list of DataDownload objects which each describe an available open data feed</param>
66
67
/// <param name="dataFeedDescriptions">A list of strings that each describe the dataset</param>
68
+
/// <param name="staticAssetsPathUrl">A relative or absolute URI path of the directory containing the self-hosted static asset files for the CSP-compatible template. If set, the CSP-compatible template will be used.</param>
67
69
/// <returns>Returns a string corresponding to the compiled HTML</returns>
/// Returns a string corresponding to the compiled HTML, based on an embedded version of `datasetsite.mustache`, and the provided `dataset`.
154
156
/// </summary>
155
157
/// <param name="dataset">The an object containing the properties required to render the dataset site</param>
158
+
/// <param name="staticAssetsPathUrl">A relative or absolute URI path of the directory containing the self-hosted static asset files for the CSP-compatible template. If set, the CSP-compatible template will be used.</param>
156
159
/// <returns>Returns a string corresponding to the compiled HTML</returns>
/// Returns a string corresponding to the compiled HTML, based on the supplied content of `datasetsite.mustache`, and the provided `dataset`.
164
171
/// </summary>
165
172
/// <param name="dataset">The an object containing the properties required to render the dataset site</param>
166
173
/// <param name="mustacheTemplate">A string containing the contents of a potentially customised version of datasetsite.mustache</param>
174
+
/// <param name="staticAssetsPathUrl">A relative or absolute URI path of the directory containing the self-hosted static asset files for the CSP-compatible template. If set, the CSP-compatible template will be used.</param>
167
175
/// <returns>Returns a string corresponding to the compiled HTML</returns>
0 commit comments