Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit 96e9a22

Browse files
authored
Added types
1 parent 6cfccdb commit 96e9a22

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

src/script/main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ const sidebarItems = [
1313
{ text: 'Defining Functions', href: 'functions.html#defining-functions' },
1414
{ text: 'Using Functions', href: 'functions.html#using-functions' }
1515
] },
16+
{ text: 'Types', href: 'types.html', subitems: [
17+
{ text: 'Built in types', href: 'types.html#built-in-types' },
18+
] },
1619
{ text: 'Examples', href: 'examples.html', subitems: [
1720
{ text: 'Fizz Buzz', href: 'examples.html#fizz-buzz' },
1821
{ text: 'Simple HTTP Server', href: 'examples.html#http-server' },

src/types.html

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Plang Documents - Types</title>
7+
<link rel="stylesheet" href="css/colors.css" />
8+
<link rel="stylesheet" href="css/main.css" />
9+
<meta name="description" content="Type Documentation">
10+
<meta name="keywords" content="p, p docs, plang, plang docs, p programming lang, p programming language, p-programming-language">
11+
<meta name="author" content="Plang">
12+
<link
13+
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
14+
rel="stylesheet"
15+
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN"
16+
crossorigin="anonymous"
17+
/>
18+
<script
19+
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
20+
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
21+
crossorigin="anonymous"
22+
></script>
23+
</head>
24+
<body>
25+
<div class="body">
26+
<div class="side-bar">
27+
<a href="index.html">
28+
<img
29+
class="icon"
30+
src="https://avatars.githubusercontent.com/u/146694713?s=400&u=4e01b5afefbf7e40641702e5cbdf785ff183fe35&v=4"
31+
alt="P Icon"
32+
/></a>
33+
<ul></ul>
34+
</div>
35+
<div class="page-content">
36+
<h1 class="page-title">Types</h1>
37+
<p>The documentation for types and custom types</p>
38+
<h2 id="built-in-types">Built in types</h2>
39+
<ul>
40+
<li>string</li>
41+
<li>int</li>
42+
<li>float</li>
43+
<li>bool</li>
44+
</ul>
45+
</div>
46+
</div>
47+
<footer class="webfooter">&copy; Plang 2023</footer>
48+
<script src="script/main.js"></script>
49+
</body>
50+
</html>

0 commit comments

Comments
 (0)