Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the GitHub pages site #148

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Deploy to GitHub Pages

on:
# Trigger the workflow every time you push to the `main` branch
# Using a different branch name? Replace `main` with your branch’s name
push:
branches: [docs-site]
# Allows you to run this workflow manually from the Actions tab on GitHub.
workflow_dispatch:

# Allow this job to clone the repo and create a page deployment
permissions:
contents: read
pages: write
id-token: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v3
- name: Install, build, and upload your site output
uses: withastro/action@v0
with:
path: /site # The root location of your Astro project inside the repository. (optional)
node-version: 16 # The specific version of Node that should be used to build your site. Defaults to 16. (optional)
# package-manager: yarn # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
# resolve-dep-from-path: false # If the dependency file should be resolved from the root location of your Astro project. Defaults to `true`. (optional)

deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# editor directories / files
.vscode
.idea

# dependencies
site/node_modules

# astro
site/.astro

# OS specific files
.DS_Store
19 changes: 12 additions & 7 deletions docs/canvas.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
---
title: Canvas
slug: canvas
---

# Thunno 2 Canvas

<sup><sub><i>(Inspired by [05AB1E's](https://codegolf.stackexchange.com/a/175520/114446)
<sup><sub><i>(Inspired by [05AB1E's](https://codegolf.stackexchange.com/a/175520/114446)
and [Vyxal's](https://github.com/Vyxal/Vyxal/blob/main/documents/specs/Canvas.md) canvases.)</i></sup></sub>

The Canvas takes a string of text and a list of directions. These are the directions:
Expand All @@ -18,18 +23,18 @@ $$
<sup><sub><i>(MathJax stolen from [this answer](https://codegolf.stackexchange.com/a/181844/114446)
on Code Golf Stack Exchange)</i></sup></sub>

* The canvas is essentially a list of lines of text. It starts out empty, but expands as needed.
- The canvas is essentially a list of lines of text. It starts out empty, but expands as needed.

* For each character, you provide a direction to move before adding that character to the canvas.
- For each character, you provide a direction to move before adding that character to the canvas.

* There is one global canvas. You can add to it with the `øv` command, and clear it with the `ø^` command.
- There is one global canvas. You can add to it with the `øv` command, and clear it with the `ø^` command.

* You can also write to a blank canvas using the `øV` command.
- You can also write to a blank canvas using the `øV` command.

The canvas commands (`øv` and `øV`) take two arguments:

* a string of text
* a list of integer directions \
- a string of text
- a list of integer directions \
(this can also be an integer which is interpreted as a digit list)

They return a string of text representing the canvas after drawing the text onto it.
41 changes: 23 additions & 18 deletions docs/codepage.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
---
title: Codepage
slug: codepage
---

# Thunno 2 Codepage

Note: this is the same as the [Jelly codepage](https://github.com/DennisMitchell/jellylanguage/wiki/Code-page). Just like with Jelly, `¶` and the linefeed character are interchangeable.

| |\_0|\_1|\_2|\_3|\_4|\_5|\_6|\_7|\_8|\_9|\_A|\_B|\_C|\_D|\_E|\_F|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|**0\_**|`¡`|`¢`|`£`|`¤`|`¥`|`¦`|`©`|`¬`|`®`|`µ`|`½`|`¿`|`€`|`Æ`|`Ç`|`Ð`|
|**1\_**|`Ñ`|`×`|`Ø`|`Œ`|`Þ`|`ß`|`æ`|`ç`|`ð`|`ı`|`ȷ`|`ñ`|`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`|`Ṅ`|`Ȯ`|`Ṗ`|`Ṙ`|`Ṡ`|`Ṫ`|`Ẇ`|
|**D\_**|`Ẋ`|`Ẏ`|`Ż`|`ạ`|`ḅ`|`ḍ`|`ẹ`|`ḥ`|`ị`|`ḳ`|`ḷ`|`ṃ`|`ṇ`|`ọ`|`ṛ`|`ṣ`|
|**E\_**|`ṭ`|`§`|`Ä`|`ẉ`|`ỵ`|`ẓ`|`ȧ`|`ḃ`|`ċ`|`ḋ`|`ė`|`ḟ`|`ġ`|`ḣ`|`ŀ`|`ṁ`|
|**F\_**|`ṅ`|`ȯ`|`ṗ`|`ṙ`|`ṡ`|`ṫ`|`ẇ`|`ẋ`|`ẏ`|`ż`|`«`|`»`|`‘`|`’`|`“`|`”`|
| | \_0 | \_1 | \_2 | \_3 | \_4 | \_5 | \_6 | \_7 | \_8 | \_9 | \_A | \_B | \_C | \_D | \_E | \_F |
| ------- | ------------------- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---- | --- | --- | --- |
| **0\_** | `¡` | `¢` | `£` | `¤` | `¥` | `¦` | `©` | `¬` | `®` | `µ` | `½` | `¿` | `€` | `Æ` | `Ç` | `Ð` |
| **1\_** | `Ñ` | `×` | `Ø` | `Œ` | `Þ` | `ß` | `æ` | `ç` | `ð` | `ı` | `ȷ` | `ñ` | `÷` | `ø` | `œ` | `þ` |
| **2\_** | <code>&nbsp;</code> | `!` | `"` | `#` | `$` | `%` | `&` | `'` | `(` | `)` | `*` | `+` | `,` | `-` | `.` | `/` |
| **3\_** | `0` | `1` | `2` | `3` | `4` | `5` | `6` | `7` | `8` | `9` | `:` | `;` | `<` | `=` | `>` | `?` |
| **4\_** | `@` | `A` | `B` | `C` | `D` | `E` | `F` | `G` | `H` | `I` | `J` | `K` | `L` | `M` | `N` | `O` |
| **5\_** | `P` | `Q` | `R` | `S` | `T` | `U` | `V` | `W` | `X` | `Y` | `Z` | `[` | `\` | `]` | `^` | `_` |
| **6\_** | <code>`</code> | `a` | `b` | `c` | `d` | `e` | `f` | `g` | `h` | `i` | `j` | `k` | `l` | `m` | `n` | `o` |
| **7\_** | `p` | `q` | `r` | `s` | `t` | `u` | `v` | `w` | `x` | `y` | `z` | `{` | `\|` | `}` | `~` | `¶` |
| **8\_** | `°` | `¹` | `²` | `³` | `⁴` | `⁵` | `⁶` | `⁷` | `⁸` | `⁹` | `⁺` | `⁻` | `⁼` | `⁽` | `⁾` | `Ɓ` |
| **9\_** | `Ƈ` | `Ɗ` | `Ƒ` | `Ɠ` | `Ƙ` | `Ɱ` | `Ɲ` | `Ƥ` | `Ƭ` | `Ʋ` | `Ȥ` | `ɓ` | `ƈ` | `ɗ` | `ƒ` | `ɠ` |
| **A\_** | `ɦ` | `ƙ` | `ɱ` | `ɲ` | `ƥ` | `ʠ` | `ɼ` | `ʂ` | `ƭ` | `ʋ` | `ȥ` | `Ạ` | `Ḅ` | `Ḍ` | `Ẹ` | `Ḥ` |
| **B\_** | `Ị` | `Ḳ` | `Ḷ` | `Ṃ` | `Ṇ` | `Ọ` | `Ṛ` | `Ṣ` | `Ṭ` | `Ụ` | `Ṿ` | `Ẉ` | `Ỵ` | `Ẓ` | `Ȧ` | `Ḃ` |
| **C\_** | `Ċ` | `Ḋ` | `Ė` | `Ḟ` | `Ġ` | `Ḣ` | `İ` | `Ŀ` | `Ṁ` | `Ṅ` | `Ȯ` | `Ṗ` | `Ṙ` | `Ṡ` | `Ṫ` | `Ẇ` |
| **D\_** | `Ẋ` | `Ẏ` | `Ż` | `ạ` | `ḅ` | `ḍ` | `ẹ` | `ḥ` | `ị` | `ḳ` | `ḷ` | `ṃ` | `ṇ` | `ọ` | `ṛ` | `ṣ` |
| **E\_** | `ṭ` | `§` | `Ä` | `ẉ` | `ỵ` | `ẓ` | `ȧ` | `ḃ` | `ċ` | `ḋ` | `ė` | `ḟ` | `ġ` | `ḣ` | `ŀ` | `ṁ` |
| **F\_** | `ṅ` | `ȯ` | `ṗ` | `ṙ` | `ṡ` | `ṫ` | `ẇ` | `ẋ` | `ẏ` | `ż` | `«` | `»` | `‘` | `’` | `“` | `”` |
Loading
Loading