Skip to content

Commit

Permalink
feat: lots of docs work
Browse files Browse the repository at this point in the history
- feat: add analytics via gtag
- chore: marquee masthead image
- chore: welcome content
  • Loading branch information
sgammon committed May 14, 2024
1 parent 31ee457 commit a708d5d
Show file tree
Hide file tree
Showing 17 changed files with 104 additions and 50 deletions.
Binary file added Creative/images/media/elide-marquee.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions Writerside/cfg/analytics_head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<script type="text/javascript">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-MJRGMMMX');</script>
1 change: 1 addition & 0 deletions Writerside/cfg/analytics_tail.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MJRGMMMX" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
29 changes: 29 additions & 0 deletions Writerside/cfg/buildprofiles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,31 @@
<custom-favicons>mark-e-favicon-r2.svg</custom-favicons>
<header-logo>mark-e-gray.png</header-logo>

<!-- Analytics -->
<analytics-head-script-file>analytics_head.html</analytics-head-script-file>
<analytics-body-html-file>analytics_tail.html</analytics-body-html-file>

<!-- Browser Edits -->
<enable-browser-edits>true</enable-browser-edits>
<browser-edits-url>https://github.com/elide-dev/docs/edit/main/Writerside/topics/</browser-edits-url>

<!-- Feedback Widget -->
<feedback-widget>true</feedback-widget>
<feedbackRequireEmail>false</feedbackRequireEmail>
<feedback-url>https://help.elide.dev</feedback-url>
<feedback-support>https://help.elide.dev</feedback-support>

<!-- SEO -->
<generate-canonicals>true</generate-canonicals>
<noindex-content>false</noindex-content>
<og-twitter>https://twitter.com/elide_dev</og-twitter>
<!-- <og-image></og-image> -->

<!-- HTML Snippets -->
<!-- <include-in-head></include-in-head> -->
<!-- <include-before-body></include-before-body> -->
<!-- <include-after-body></include-after-body> -->

<!-- Versions -->
<!--<versions-comparison></versions-comparison>-->
<!--<versions-switcher></versions-switcher>-->
Expand All @@ -24,6 +49,10 @@
<download-title>Downloads</download-title>
<download-page>https://alpha.docs.elide.dev/installation.html</download-page>
<showDownloadButton>true</showDownloadButton>

<!-- General Settings -->
<webmaster>[email protected]</webmaster>
<write-help-state-file>true</write-help-state-file>
</variables>

<sitemap priority="0.35" change-frequency="monthly"/>
Expand Down
99 changes: 54 additions & 45 deletions Writerside/e.tree
Original file line number Diff line number Diff line change
Expand Up @@ -15,53 +15,62 @@
<toc-element topic="101-Environment.md"/>
<toc-element topic="101-Filesystem.md"/>
</toc-element>
<toc-element topic="JavaScript.md">
<toc-element topic="Node-API.md">
<toc-element topic="node-assert.md"/>
<toc-element toc-title="Async Hooks" />
<toc-element toc-title="Buffer" />
<toc-element toc-title="Child Process" />
<toc-element toc-title="Crypto" />
<toc-element toc-title="DNS" />
<toc-element topic="node-events.md"/>
<toc-element topic="node-fs.md"/>
<toc-element toc-title="HTTP" />
<toc-element toc-title="HTTP/2" />
<toc-element toc-title="HTTPS" />
<toc-element toc-title="Inspector" />
<toc-element toc-title="Modules" />
<toc-element toc-title="Net" />
<toc-element topic="node-os.md"/>
<toc-element topic="node-path.md"/>
<toc-element toc-title="Performance Hooks" />
<toc-element toc-title="Query strings" />
<toc-element toc-title="Readline" />
<toc-element toc-title="Stream" />
<toc-element toc-title="String decoder" />
<toc-element toc-title="Test runner" />
<toc-element toc-title="Timers" />
<toc-element toc-title="TLS/SSL" />
<toc-element toc-title="TTY" />
<toc-element toc-title="UDP/Datagram" />
<toc-element topic="node-url.md"/>
<toc-element toc-title="Utilities" />
<toc-element toc-title="V8" />
<toc-element toc-title="VM" />
<toc-element toc-title="WASI" />
<toc-element toc-title="Worker threads" />
<toc-element toc-title="Zlib" />
</toc-element>
<toc-element toc-title="Web APIs">
<toc-element toc-title="Fetch API" />
<toc-element toc-title="URL API" />
<toc-element toc-title="Web Crypto API" />
<toc-element toc-title="Web Streams API" />
<toc-element toc-title="Guides by Topic">
<toc-element toc-title="Run" />
<toc-element toc-title="Test" />
<toc-element toc-title="Debug" />
<toc-element toc-title="Profile" />
<toc-element toc-title="Deploy" />
</toc-element>
<toc-element toc-title="Guides by Language">
<toc-element topic="JavaScript.md">
<toc-element topic="Node-API.md">
<toc-element topic="node-assert.md"/>
<toc-element toc-title="Async Hooks" />
<toc-element toc-title="Buffer" />
<toc-element toc-title="Child Process" />
<toc-element toc-title="Crypto" />
<toc-element toc-title="DNS" />
<toc-element topic="node-events.md"/>
<toc-element topic="node-fs.md"/>
<toc-element toc-title="HTTP" />
<toc-element toc-title="HTTP/2" />
<toc-element toc-title="HTTPS" />
<toc-element toc-title="Inspector" />
<toc-element toc-title="Modules" />
<toc-element toc-title="Net" />
<toc-element topic="node-os.md"/>
<toc-element topic="node-path.md"/>
<toc-element toc-title="Performance Hooks" />
<toc-element toc-title="Query strings" />
<toc-element toc-title="Readline" />
<toc-element toc-title="Stream" />
<toc-element toc-title="String decoder" />
<toc-element toc-title="Test runner" />
<toc-element toc-title="Timers" />
<toc-element toc-title="TLS/SSL" />
<toc-element toc-title="TTY" />
<toc-element toc-title="UDP/Datagram" />
<toc-element topic="node-url.md"/>
<toc-element toc-title="Utilities" />
<toc-element toc-title="V8" />
<toc-element toc-title="VM" />
<toc-element toc-title="WASI" />
<toc-element toc-title="Worker threads" />
<toc-element toc-title="Zlib" />
</toc-element>
<toc-element toc-title="Web APIs">
<toc-element toc-title="Fetch API" />
<toc-element toc-title="URL API" />
<toc-element toc-title="Web Crypto API" />
<toc-element toc-title="Web Streams API" />
</toc-element>
</toc-element>
<toc-element topic="TypeScript.md"/>
<toc-element topic="Python.md"/>
<toc-element topic="Ruby.md"/>
<toc-element topic="Experimental.md"/>
</toc-element>
<toc-element topic="TypeScript.md"/>
<toc-element topic="Python.md"/>
<toc-element topic="Ruby.md"/>
<toc-element topic="Experimental.md"/>
</toc-element>
<toc-element topic="Elide-Framework.md">
<toc-element topic="Framework-Samples.md"/>
Expand Down
Binary file modified Writerside/images/arch-v1-grid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Writerside/images/arch-v1-grid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Writerside/images/arch-v1-grid_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Writerside/images/arch-v1-tx.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Writerside/images/arch-v1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Writerside/images/arch-v1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Writerside/images/arch-v1_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Writerside/images/arch-v1_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Writerside/images/elide-marquee.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Writerside/images/launch-cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Writerside/images/mark-e.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions Writerside/topics/Welcome.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
# Welcome

<img src="elide-marquee.png" alt="%product%" />

Welcome to the main [Elide](https://elide.dev) documentation site. Here you can find reference docs,
[guides](Polyglot.md), [code samples](Framework-Samples.md), and more.

<br />

## %product% is in alpha

Check out our alpha event launch video, which comes with sample code and demonstrates what %product% can do for your
workflow

<video src="https://youtu.be/Txl9ryfbCw4" preview-src="launch-cover.png" />

<br />
<br />

<seealso style="cards">
<category ref="gettingStarted">
<a summary="Setup and test %product% on your machine" href="Installation.md">Installing %product%</a>
Expand Down

0 comments on commit a708d5d

Please sign in to comment.