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

Commit

Permalink
Added types
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinAlavik authored Oct 20, 2023
1 parent 6cfccdb commit 96e9a22
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/script/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ const sidebarItems = [
{ text: 'Defining Functions', href: 'functions.html#defining-functions' },
{ text: 'Using Functions', href: 'functions.html#using-functions' }
] },
{ text: 'Types', href: 'types.html', subitems: [
{ text: 'Built in types', href: 'types.html#built-in-types' },
] },
{ text: 'Examples', href: 'examples.html', subitems: [
{ text: 'Fizz Buzz', href: 'examples.html#fizz-buzz' },
{ text: 'Simple HTTP Server', href: 'examples.html#http-server' },
Expand Down
50 changes: 50 additions & 0 deletions src/types.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Plang Documents - Types</title>
<link rel="stylesheet" href="css/colors.css" />
<link rel="stylesheet" href="css/main.css" />
<meta name="description" content="Type Documentation">
<meta name="keywords" content="p, p docs, plang, plang docs, p programming lang, p programming language, p-programming-language">
<meta name="author" content="Plang">
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN"
crossorigin="anonymous"
/>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"
></script>
</head>
<body>
<div class="body">
<div class="side-bar">
<a href="index.html">
<img
class="icon"
src="https://avatars.githubusercontent.com/u/146694713?s=400&u=4e01b5afefbf7e40641702e5cbdf785ff183fe35&v=4"
alt="P Icon"
/></a>
<ul></ul>
</div>
<div class="page-content">
<h1 class="page-title">Types</h1>
<p>The documentation for types and custom types</p>
<h2 id="built-in-types">Built in types</h2>
<ul>
<li>string</li>
<li>int</li>
<li>float</li>
<li>bool</li>
</ul>
</div>
</div>
<footer class="webfooter">&copy; Plang 2023</footer>
<script src="script/main.js"></script>
</body>
</html>

0 comments on commit 96e9a22

Please sign in to comment.