Skip to content

Commit

Permalink
move site to hugo (#26)
Browse files Browse the repository at this point in the history
* move site to hugo

* fix: remove file for testing markdown appearance

* fix: hide the fact that i copied an old flake

* fix: update baseURL

* feat: add link for submissions

* feat: add a little descriptive text for submissions page

* fix: ensure older links point to the same paths

* feat: set default bg for code blocks with no syntax

* fix: make sure body doesn't overflow

* chore: use the same license as original for the theme

* feat: add caret indicator for current page in menu
  • Loading branch information
lavafroth authored Aug 28, 2024
1 parent cc9460c commit 28473af
Show file tree
Hide file tree
Showing 59 changed files with 2,953 additions and 3,241 deletions.
10 changes: 0 additions & 10 deletions .eleventy.js

This file was deleted.

20 changes: 7 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,20 @@ on:
jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
node-version: ${{ matrix.node-version }}
hugo-version: 'latest'
extended: true

- name: Install dependencies & build
run: |
npm install @11ty/eleventy
npm run build
- name: Build
run: hugo -D --minify

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: ./_site
publish_dir: ./public
github_token: ${{ secrets.GITHUB_TOKEN }}
8 changes: 2 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
_site/
.sass-cache/
.jekyll-cache/
.jekyll-metadata
node_modules/
/.direnv
.direnv
public
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# [waycrate.github.io](https://waycrate.github.io/)
### Getting Started

The site for the Waycrate organization, built with the
[Eleventy](https://www.11ty.dev/) static site generator.
- Install hugo (or use the flake)

## Development steps:
```sh
hugo serve -D
```

```git clone [email protected]:waycrate/waycrate.github.io.git```
Additionally, run the following to watch any style changes with tailwindcss:

```cd waycrate.github.io```

```npm install```

```npm run serve```
```sh
tailwindcss watch -i ./themes/waycrate/assets/css/input.css -o ./themes/waycrate/assets/css/main.css
```
62 changes: 0 additions & 62 deletions _includes/layout.njk

This file was deleted.

5 changes: 5 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++
Binary file removed bun.lockb
Binary file not shown.
23 changes: 23 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Welcome to Waycrate
We write easy-to-use, simple, and powerful open source software to further the adoption of the wayland protocol.

# Assets
The Waycrate logo has been designed by [Raj Chaudhary](https://github.com/RajChaudhary01) and is licensed under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/deed.en)

# Contributing
We are accepting more contributors to our organization. If you are interested, get in touch with us via [Discord](https://discord.gg/KKZRDYrRYW) or Matrix.

# Our Supporters
We are proudly supported by [Source Hut](https://sr.ht/), who has given us free hosting for our projects.

# Our Team

{{< member name="Shinyzenith" url="https://aakash.is-a.dev/" avatar="https://avatars.githubusercontent.com/u/60808802?s=300" >}}
{{< member name="Decodetalkers" url="https://github.com/decodetalkers" avatar="https://avatars.githubusercontent.com/u/60290287?v=4" >}}
{{< member name="Alexis" url="https://github.com/ajanon" avatar="https://avatars.githubusercontent.com/u/98706738?v=4" >}}
{{< member name="Eden" url="http://edenqwq.netlify.app/" avatar="https://avatars.githubusercontent.com/u/62473844?s=300" >}}
{{< member name="Zubair" url="https://zubairmh.xyz/" avatar="https://avatars.githubusercontent.com/u/116816535?v=4" >}}
{{< member name="Kolunmi" url="https://github.com/kolunmi" avatar="https://avatars.githubusercontent.com/u/113054217?s=300" >}}
{{< member name="Angelo-F" url="https://angelo.fallaria.com/" avatar="https://avatars.githubusercontent.com/u/39676098?s=300" >}}
{{< member name="Vainiovano" url="https://github.com/vainiovano" avatar="https://avatars.githubusercontent.com/u/16741932?s=300" >}}
{{< member name="Uncomfy" altname="Uncomfyhalomacro" url="https://github.com/uncomfyhalomacro" avatar="https://avatars.githubusercontent.com/u/66054069?v=4" >}}
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
layout: layout.njk
title: Contributor guidance
title: Contributor proposal guidance
---

# Contributor proposal guidance:

Hi! Thank you for considering to contribute to the Waycrate organization!

This page will document the general structure of your GSoC proposal.
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
layout: layout.njk
title: Idea List
title: GSoC 2024 cohort idea list
---

# GSoC 2024 cohort idea list

## Idea 1: Introduce [DMA-BUF backend](https://wayland.app/protocols/wlr-export-dmabuf-unstable-v1) in Wayshot for high performance screen capture

### Possible Mentor(s)
Expand Down
5 changes: 5 additions & 0 deletions content/outreach/gsoc/2024/submissions/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: 2024 Submissions
---

The following are the write-ups that describe how our contributors have brought their projects to fruition:
9 changes: 9 additions & 0 deletions content/outreach/gsoc/2024/submissions/project-1-sooraj.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Project 1 - Introduce DMA-BUF backend in Wayshot for high performance screen capture
---

Mentor: Zubair Mohammed
Student: Sooraj S

Original writeup is hosted at https://cheerfulpianissimo.github.io/notes/GSOC/GSOC.html

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: Project 3 - Formalize SWHKD parser using regular grammar notation
layout: layout.njk
---

# Overview
Expand All @@ -22,7 +21,7 @@ spent in modelling the architecture of the syntax tree for our domain specific l

Here's a simplified syntax tree of the grammar parser.

![A flowchart showing the working of the abstract syntax tree](/assets/img/sweet-architecture.svg)
![A flowchart showing the working of the abstract syntax tree](/img/sweet-architecture.svg)

One of the most helpful design choices was to have an acyclic dependency graph which enabled composing
expressions into larger blocks.
Expand Down Expand Up @@ -78,7 +77,7 @@ brace as a confirmation for the end of a shorthand.
The new parser disallows this behavior. When using multiple modifiers, one must simply place an concatenator after the shorthand ends.
The above example then turns into the following:

```
```text
{super, control} + a
notify-send {'hello', 'goodbye'}
```
Expand All @@ -92,7 +91,7 @@ Now there's at most one way to do shorthands correct:
A good comparison would be bash or Rust macro expansions. Here's an animation as to how we perform
a "compilation".

![An animation showing a cartesian product of shorthands](/assets/img/sweet-macro-compilation.gif)
![An animation showing a cartesian product of shorthands](/img/sweet-macro-compilation.gif)

The new parser simply keeps track of shorthand values including ranges and slices as long as it is
ingesting newer content. These shorthands are lazily evaluated in the end when all files, including
Expand All @@ -104,7 +103,7 @@ One of the most difficult ways to get a working config for a tool like SWHKD is
errors. The new parser addresses most of these issues. With the pest crate, we have been able to
provide rich contextual errors. Here's an example:

```text
```
Error: unable to parse config file
Caused by:
Expand Down
23 changes: 23 additions & 0 deletions content/posts/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Welcome to Waycrate
We write easy-to-use, simple, and powerful open source software to further the adoption of the wayland protocol.

# Assets
The Waycrate logo has been designed by [Raj Chaudhary](https://github.com/RajChaudhary01) and is licensed under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/deed.en)

# Contributing
We are accepting more contributors to our organization. If you are interested, get in touch with us via [Discord](https://discord.gg/KKZRDYrRYW) or Matrix.

# Our Supporters
We are proudly supported by [Source Hut](https://sr.ht/), who has given us free hosting for our projects.

# Our Team

{{< member name="Shinyzenith" url="https://aakash.is-a.dev/" avatar="https://avatars.githubusercontent.com/u/60808802?s=300" >}}
{{< member name="Decodetalkers" url="https://github.com/decodetalkers" avatar="https://avatars.githubusercontent.com/u/60290287?v=4" >}}
{{< member name="Alexis" url="https://github.com/ajanon" avatar="https://avatars.githubusercontent.com/u/98706738?v=4" >}}
{{< member name="Eden" url="http://edenqwq.netlify.app/" avatar="https://avatars.githubusercontent.com/u/62473844?s=300" >}}
{{< member name="Zubair" url="https://zubairmh.xyz/" avatar="https://avatars.githubusercontent.com/u/116816535?v=4" >}}
{{< member name="Kolunmi" url="https://github.com/kolunmi" avatar="https://avatars.githubusercontent.com/u/113054217?s=300" >}}
{{< member name="Angelo-F" url="https://angelo.fallaria.com/" avatar="https://avatars.githubusercontent.com/u/39676098?s=300" >}}
{{< member name="Vainiovano" url="https://github.com/vainiovano" avatar="https://avatars.githubusercontent.com/u/16741932?s=300" >}}
{{< member name="Uncomfy" altname="Uncomfyhalomacro" url="https://github.com/uncomfyhalomacro" avatar="https://avatars.githubusercontent.com/u/66054069?v=4" >}}
Loading

0 comments on commit 28473af

Please sign in to comment.