-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- linter should ensure our html is compliant Signed-off-by: Alexander Hansen <[email protected]>
- Loading branch information
1 parent
121c4ee
commit f43f3fc
Showing
21 changed files
with
180 additions
and
228 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,24 @@ | ||
name: W3CValidation | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'docs/**' | ||
pull_request: | ||
paths: | ||
- 'docs/**' | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
validate: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: HTML5Validator | ||
uses: Cyb3r-Jak3/html5validator-action | ||
with: | ||
root: docs/ | ||
blacklist: invalid |
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 |
---|---|---|
|
@@ -3,25 +3,22 @@ | |
<head> | ||
<meta charset="utf-8"> | ||
<title>Architecture</title> | ||
|
||
<link rel="icon" href="../img/favicon.ico"> | ||
|
||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="../css/style.css"> | ||
|
||
</head> | ||
|
||
<body> | ||
|
||
<div class="container-xl"> | ||
|
||
<div class="row nav-bg"> | ||
<div class="col"> | ||
<a href="../index.html"><h1>Home</h1></a> | ||
</div> | ||
<div class="col-2"> | ||
<a href="project-goals.html"><h1>next</h1></a> | ||
</div> | ||
</div> | ||
|
||
<h1 class="mb-3">Architecture</h1> | ||
|
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
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 |
---|---|---|
|
@@ -8,33 +8,30 @@ | |
<meta name="author" content="ESPL1000"> | ||
|
||
<link rel="icon" href="../img/favicon.ico"> | ||
|
||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="../css/style.css"> | ||
</head> | ||
|
||
<body> | ||
|
||
<div class="container-xl"> | ||
|
||
<div class="row nav-bg"> | ||
<div class="col"> | ||
<a href="../index.html"><h1>Home</h1></a> | ||
</div> | ||
<div class="col-2"> | ||
<a href="calling-convention.html"><h1>next</h1></a> | ||
</div> | ||
</div> | ||
|
||
<h1 class = "mb-3 mt-3">Flow of Control Statements</h1> | ||
|
||
|
||
|
||
<div class="col"> | ||
<h3> if / else </h3> | ||
<pre><code>fn main () ~> int { | ||
if 0 < 3 { return 8; } | ||
|
||
if 0 < 3 { return 8; } | ||
else { return 0; } | ||
return 0; | ||
} | ||
|
@@ -45,9 +42,9 @@ <h3> if / else </h3> | |
<div class="col"> | ||
<h3> for, break, continue </h3> | ||
<pre><code>fn main () ~> int { | ||
|
||
for x in 0 .. 3 { | ||
|
||
if x == 1 { continue; } | ||
if x == 2 { break; } | ||
} | ||
|
@@ -59,9 +56,9 @@ <h3> for, break, continue </h3> | |
<div class="col"> | ||
<h3> while </h3> | ||
<pre><code>fn main () ~> int { | ||
while 2 < 3 { | ||
printf("hello \n"); | ||
|
||
while 2 < 3 { | ||
printf("hello \n"); | ||
} | ||
return 0; | ||
} | ||
|
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
Oops, something went wrong.