Add play.html page for playground

This commit is contained in:
Pete Gonzalez 2020-11-29 15:12:25 -08:00
Родитель 55974d3f30
Коммит 65d191566f
2 изменённых файлов: 19 добавлений и 0 удалений

Просмотреть файл

@ -4,6 +4,8 @@
<head>
{% include base/meta.html %}
{{ page.head_content }}
{% if page.title %}
<title>TSDoc: {{ page.title }}</title>
{% else %}

17
permalinks/play.html Normal file
Просмотреть файл

@ -0,0 +1,17 @@
---
layout: default
permalink: /play.html
head_content: |-
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
---
<div class="container-fluid docsite-main">
<div id="root"></div>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/react/16.4.2/umd/react.production.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.4.2/umd/react-dom.production.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.5.1/umd/react-dom-server.browser.production.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.14.3/min/vs/loader.js"></script>
<script type="text/javascript" src="https://microsoft.github.io/tsdoc/tsdoc-playground.js"></script>
</div>