@healthcatalyst/catalyst-docfx-template 1.0.53 → 1.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{healthcatalyst-catalyst-docfx-template-1.0.53.tgz → healthcatalyst-catalyst-docfx-template-1.0.56.tgz} +0 -0
- package/layout/_master.tmpl +2 -2
- package/package.json +1 -1
- package/partials/{sql-server.tmpl.partial → dosClassic.tmpl.partial} +1 -1
- package/partials/{snowflake.tmpl.partial → dosCloud.tmpl.partial} +1 -1
- package/partials/dosVersion.tmpl.partial +7 -0
- package/partials/head.tmpl.partial +9 -9
- package/partials/scripts.tmpl.partial +7 -7
- package/styles/main.js +49 -31
- package/partials/version.tmpl.partial +0 -7
|
Binary file
|
package/layout/_master.tmpl
CHANGED
package/package.json
CHANGED
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
<meta name="title" content="{{#title}}{{title}}{{/title}}{{^title}}{{>partials/title}}{{/title}} {{#_appTitle}}| {{_appTitle}} {{/_appTitle}}">
|
|
9
9
|
<meta name="generator" content="docfx {{_docfxVersion}}">
|
|
10
10
|
{{#_description}}<meta name="description" content="{{_description}}">{{/_description}}
|
|
11
|
-
<link rel="shortcut icon" href="{{_rel}}{{{_appFaviconPath}}}{{^_appFaviconPath}}favicon.ico{{/_appFaviconPath}}">
|
|
12
|
-
<link rel="stylesheet" href="{{_rel}}styles/docfx.vendor.css">
|
|
13
|
-
<link rel="stylesheet" href="{{_rel}}styles/docfx.css">
|
|
14
|
-
<link rel="stylesheet" href="{{_rel}}styles/font-awesome.min.css">
|
|
15
|
-
<link rel="stylesheet" href="{{_rel}}styles/hcicons.css">
|
|
16
|
-
<link rel="stylesheet" href="{{_rel}}styles/lightbox.min.css">
|
|
17
|
-
<link rel="stylesheet" href="{{_rel}}open-sans.css">
|
|
18
|
-
<link rel="stylesheet" href="{{_rel}}styles/main.css">
|
|
19
|
-
<link rel="stylesheet" href="{{_rel}}product-styles/product.css">
|
|
11
|
+
<link rel="shortcut icon" href="{{_rel}}{{_stylesPath}}{{{_appFaviconPath}}}{{^_appFaviconPath}}favicon.ico{{/_appFaviconPath}}">
|
|
12
|
+
<link rel="stylesheet" href="{{_rel}}{{_stylesPath}}styles/docfx.vendor.css">
|
|
13
|
+
<link rel="stylesheet" href="{{_rel}}{{_stylesPath}}styles/docfx.css">
|
|
14
|
+
<link rel="stylesheet" href="{{_rel}}{{_stylesPath}}styles/font-awesome.min.css">
|
|
15
|
+
<link rel="stylesheet" href="{{_rel}}{{_stylesPath}}styles/hcicons.css">
|
|
16
|
+
<link rel="stylesheet" href="{{_rel}}{{_stylesPath}}styles/lightbox.min.css">
|
|
17
|
+
<link rel="stylesheet" href="{{_rel}}{{_stylesPath}}open-sans.css">
|
|
18
|
+
<link rel="stylesheet" href="{{_rel}}{{_stylesPath}}styles/main.css">
|
|
19
|
+
<link rel="stylesheet" href="{{_rel}}{{_stylesPath}}product-styles/product.css">
|
|
20
20
|
<meta property="docfx:navrel" content="{{_navRel}}">
|
|
21
21
|
<meta property="docfx:tocrel" content="{{_tocRel}}">
|
|
22
22
|
{{#_noindex}}<meta name="searchOption" content="noindex">{{/_noindex}}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{{!Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.}}
|
|
2
2
|
|
|
3
|
-
<script type="text/javascript" src="{{_rel}}styles/docfx.vendor.js"></script>
|
|
4
|
-
<script type="text/javascript" src="{{_rel}}styles/docfx.js"></script>
|
|
5
|
-
<script type="text/javascript" src="{{_rel}}styles/clipboard.min.js"></script>
|
|
6
|
-
<script type="text/javascript" src="{{_rel}}styles/lightbox.min.js"></script>
|
|
7
|
-
<script type="text/javascript" src="{{_rel}}styles/main.js"></script>
|
|
8
|
-
<script type="text/javascript" src="{{_rel}}styles/docs-navbar.js"></script>
|
|
9
|
-
<script type="text/javascript" src="{{_rel}}product-styles/product.js"></script>
|
|
3
|
+
<script type="text/javascript" src="{{_rel}}{{_stylesPath}}styles/docfx.vendor.js"></script>
|
|
4
|
+
<script type="text/javascript" src="{{_rel}}{{_stylesPath}}styles/docfx.js"></script>
|
|
5
|
+
<script type="text/javascript" src="{{_rel}}{{_stylesPath}}styles/clipboard.min.js"></script>
|
|
6
|
+
<script type="text/javascript" src="{{_rel}}{{_stylesPath}}styles/lightbox.min.js"></script>
|
|
7
|
+
<script type="text/javascript" src="{{_rel}}{{_stylesPath}}styles/main.js"></script>
|
|
8
|
+
<script type="text/javascript" src="{{_rel}}{{_stylesPath}}styles/docs-navbar.js"></script>
|
|
9
|
+
<script type="text/javascript" src="{{_rel}}{{_stylesPath}}product-styles/product.js"></script>
|
|
10
10
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-105743506-1"></script><script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-105743506-1');</script>
|
|
11
11
|
<script type="text/javascript">
|
|
12
12
|
!function(T,l,y){var S=T.location,k="script",D="instrumentationKey",C="ingestionendpoint",I="disableExceptionTracking",E="ai.device.",b="toLowerCase",w="crossOrigin",N="POST",e="appInsightsSDK",t=y.name||"appInsights";(y.name||T[e])&&(T[e]=t);var n=T[t]||function(d){var g=!1,f=!1,m={initialize:!0,queue:[],sv:"5",version:2,config:d};function v(e,t){var n={},a="Browser";return n[E+"id"]=a[b](),n[E+"type"]=a,n["ai.operation.name"]=S&&S.pathname||"_unknown_",n["ai.internal.sdkVersion"]="javascript:snippet_"+(m.sv||m.version),{time:function(){var e=new Date;function t(e){var t=""+e;return 1===t.length&&(t="0"+t),t}return e.getUTCFullYear()+"-"+t(1+e.getUTCMonth())+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+((e.getUTCMilliseconds()/1e3).toFixed(3)+"").slice(2,5)+"Z"}(),iKey:e,name:"Microsoft.ApplicationInsights."+e.replace(/-/g,"")+"."+t,sampleRate:100,tags:n,data:{baseData:{ver:2}}}}var h=d.url||y.src;if(h){function a(e){var t,n,a,i,r,o,s,c,u,p,l;g=!0,m.queue=[],f||(f=!0,t=h,s=function(){var e={},t=d.connectionString;if(t)for(var n=t.split(";"),a=0;a<n.length;a++){var i=n[a].split("=");2===i.length&&(e[i[0][b]()]=i[1])}if(!e[C]){var r=e.endpointsuffix,o=r?e.location:null;e[C]="https://"+(o?o+".":"")+"dc."+(r||"services.visualstudio.com")}return e}(),c=s[D]||d[D]||"",u=s[C],p=u?u+"/v2/track":d.endpointUrl,(l=[]).push((n="SDK LOAD Failure: Failed to load Application Insights SDK script (See stack for details)",a=t,i=p,(o=(r=v(c,"Exception")).data).baseType="ExceptionData",o.baseData.exceptions=[{typeName:"SDKLoadFailed",message:n.replace(/\./g,"-"),hasFullStack:!1,stack:n+"\nSnippet failed to load ["+a+"] -- Telemetry is disabled\nHelp Link: https://go.microsoft.com/fwlink/?linkid=2128109\nHost: "+(S&&S.pathname||"_unknown_")+"\nEndpoint: "+i,parsedStack:[]}],r)),l.push(function(e,t,n,a){var i=v(c,"Message"),r=i.data;r.baseType="MessageData";var o=r.baseData;return o.message='AI (Internal): 99 message:"'+("SDK LOAD Failure: Failed to load Application Insights SDK script (See stack for details) ("+n+")").replace(/\"/g,"")+'"',o.properties={endpoint:a},i}(0,0,t,p)),function(e,t){if(JSON){var n=T.fetch;if(n&&!y.useXhr)n(t,{method:N,body:JSON.stringify(e),mode:"cors"});else if(XMLHttpRequest){var a=new XMLHttpRequest;a.open(N,t),a.setRequestHeader("Content-type","application/json"),a.send(JSON.stringify(e))}}}(l,p))}function i(e,t){f||setTimeout(function(){!t&&m.core||a()},500)}var e=function(){var n=l.createElement(k);n.src=h;var e=y[w];return!e&&""!==e||"undefined"==n[w]||(n[w]=e),n.onload=i,n.onerror=a,n.onreadystatechange=function(e,t){"loaded"!==n.readyState&&"complete"!==n.readyState||i(0,t)},n}();y.ld<0?l.getElementsByTagName("head")[0].appendChild(e):setTimeout(function(){l.getElementsByTagName(k)[0].parentNode.appendChild(e)},y.ld||0)}try{m.cookie=l.cookie}catch(p){}function t(e){for(;e.length;)!function(t){m[t]=function(){var e=arguments;g||m.queue.push(function(){m[t].apply(m,e)})}}(e.pop())}var n="track",r="TrackPage",o="TrackEvent";t([n+"Event",n+"PageView",n+"Exception",n+"Trace",n+"DependencyData",n+"Metric",n+"PageViewPerformance","start"+r,"stop"+r,"start"+o,"stop"+o,"addTelemetryInitializer","setAuthenticatedUserContext","clearAuthenticatedUserContext","flush"]),m.SeverityLevel={Verbose:0,Information:1,Warning:2,Error:3,Critical:4};var s=(d.extensionConfig||{}).ApplicationInsightsAnalytics||{};if(!0!==d[I]&&!0!==s[I]){var c="onerror";t(["_"+c]);var u=T[c];T[c]=function(e,t,n,a,i){var r=u&&u(e,t,n,a,i);return!0!==r&&m["_"+c]({message:e,url:t,lineNumber:n,columnNumber:a,error:i}),r},d.autoExceptionInstrumented=!0}return m}(y.cfg);function a(){y.onInit&&y.onInit(n)}(T[t]=n).queue&&0===n.queue.length?(n.queue.push(a),n.trackPageView({})):a()}(window,document,{
|
package/styles/main.js
CHANGED
|
@@ -136,46 +136,64 @@ copyCode.on('success', function(event) {
|
|
|
136
136
|
|
|
137
137
|
// Replace {{ keys }} with plain-text values in sourcedContent/terms.json at directory root
|
|
138
138
|
|
|
139
|
-
var terms = (function() {
|
|
139
|
+
var terms = (function () {
|
|
140
140
|
var json = null;
|
|
141
|
+
var baseUrl = window.location.origin;
|
|
142
|
+
console.log(baseUrl);
|
|
141
143
|
$.ajax({
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
144
|
+
async: false,
|
|
145
|
+
global: false,
|
|
146
|
+
url: baseUrl + "/sourcedContent/terms.json",
|
|
147
|
+
dataType: "json",
|
|
148
|
+
success: function (data) {
|
|
149
|
+
json = data;
|
|
150
|
+
},
|
|
149
151
|
});
|
|
152
|
+
|
|
150
153
|
for (let [key, value] of Object.entries(json)) {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
154
|
+
console.log(`${key}: ${value}`);
|
|
155
|
+
var toReplace = "{{ " + key + " }}";
|
|
156
|
+
var replaceWith = value;
|
|
157
|
+
document.body.innerHTML = document.body.innerHTML.replace(
|
|
158
|
+
toReplace,
|
|
159
|
+
replaceWith
|
|
160
|
+
);
|
|
155
161
|
}
|
|
156
162
|
return terms;
|
|
157
|
-
})();
|
|
158
|
-
|
|
159
|
-
// Replace {{ keys }} with icon and message banner from sourcedContent/messages.json at directory root
|
|
160
|
-
|
|
161
|
-
var messages = (function() {
|
|
163
|
+
})();
|
|
164
|
+
|
|
165
|
+
// Replace {{ keys }} with icon and message banner from sourcedContent/messages.json at directory root
|
|
166
|
+
|
|
167
|
+
var messages = (function () {
|
|
162
168
|
var json = null;
|
|
169
|
+
var baseUrl = window.location.origin;
|
|
170
|
+
console.log(baseUrl)
|
|
163
171
|
$.ajax({
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
172
|
+
async: false,
|
|
173
|
+
global: false,
|
|
174
|
+
url: baseUrl + "/sourcedContent/messages.json",
|
|
175
|
+
dataType: "json",
|
|
176
|
+
success: function (data) {
|
|
177
|
+
json = data;
|
|
178
|
+
},
|
|
171
179
|
});
|
|
172
180
|
for (var k in json) {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
181
|
+
var o = json[k];
|
|
182
|
+
// console.log(o.message);
|
|
183
|
+
// console.log(o.icon);
|
|
184
|
+
var toReplace = "{{ " + k + " }}";
|
|
185
|
+
var replaceWith =
|
|
186
|
+
'<p class="message">' +
|
|
187
|
+
'<i class="fa ' +
|
|
188
|
+
o.icon +
|
|
189
|
+
'"></i>' +
|
|
190
|
+
o.message +
|
|
191
|
+
"</p>";
|
|
192
|
+
document.body.innerHTML = document.body.innerHTML.replace(
|
|
193
|
+
toReplace,
|
|
194
|
+
replaceWith
|
|
195
|
+
);
|
|
179
196
|
}
|
|
180
197
|
return messages;
|
|
181
|
-
})();
|
|
198
|
+
})();
|
|
199
|
+
|