-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed getting stated page + scaling + analytics for docs.
- Loading branch information
Showing
6 changed files
with
49 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{%- assign url = page.url -%} | ||
|
||
<p class="text-small text-grey-dk-100 mb-0">For documentation questions, please <a href="https://github.com/microsoft/onnxruntime/issues/new?labels=component:documentation&title=[Documentation%20Request]&body=%5BEnter%20feedback%20here%5D%0A%0A---%0A%23%23%23%23%20Document%20Details%0A*%20Title%3A%20{{ page.title | url_encode }}%0A*%20Page%3A%20%5B{{ url | absolute_url | url_encode }}%5D({{ url | absolute_url | url_encode }})%0A*%20Page%20Source%3A%20{{ page.name | url_encode }}" target="_blank">file an issue</a></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<meta property="og:image" content="/images/logos/onnxruntime/ORT_icon_for_light_bg.png" /> | ||
|
||
<script type="text/javascript" | ||
src="https://js.monitor.azure.com/scripts/c/ms.analytics-web-3.min.js"> | ||
</script> | ||
|
||
<script type="text/javascript"> | ||
const analytics = new oneDS.ApplicationInsights(); | ||
var config = { | ||
instrumentationKey: "360b0e675e0044398fd28c8bdf711b8e-1fe5434d-ee99-4837-99cc-a3a16462d82d-7262", | ||
channelConfiguration:{ // Post channel configuration | ||
eventsLimitInMem: 50 | ||
}, | ||
propertyConfiguration: { // Properties Plugin configuration | ||
env:"PROD" // Environment can be set to PPE or PROD as needed. | ||
}, | ||
webAnalyticsConfiguration:{ // Web Analytics Plugin configuration | ||
//urlCollectQuery:true, | ||
autoCapture: { | ||
scroll: true, | ||
pageView: true, | ||
onLoad: true, | ||
onUnload: true, | ||
click: true, | ||
resize: true, | ||
jsError: true | ||
} | ||
} | ||
}; | ||
//Initialize SDK | ||
analytics.initialize(config, []); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -158,6 +158,7 @@ | |
{/if} | ||
</div> | ||
</div> | ||
<div class="divider px-6" /> | ||
</div> | ||
|
||
<style> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters