Skip to content

Commit c53f05e

Browse files
committed
Use Zensical configuration
1 parent aefbd3f commit c53f05e

13 files changed

Lines changed: 90 additions & 161 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy MkDocs website
1+
name: Deploy Zensical site
22

33
on:
44
push:
@@ -20,14 +20,13 @@ jobs:
2020
- name: Set up Python
2121
uses: actions/setup-python@v5
2222
with:
23-
python-version: '3.11'
23+
python-version: "3.11"
2424

25-
- name: Install dependencies
26-
run: |
27-
pip install -r requirements.txt
25+
- name: Install Zensical
26+
run: pip install zensical
2827

2928
- name: Build site
30-
run: mkdocs build --strict
29+
run: zensical build
3130

3231
- name: Upload artifact
3332
uses: actions/upload-pages-artifact@v3
@@ -42,4 +41,4 @@ jobs:
4241
steps:
4342
- name: Deploy
4443
id: deployment
45-
uses: actions/deploy-pages@v4
44+
uses: actions/deploy-pages@v4

README.md

Lines changed: 24 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,33 @@
11
# HiDef Textíll – Website
2-
A bilingual (IS/EN) static site built with MkDocs + Material.
3-
This repository contains the source code for the HiDef Textíll project website.
2+
A single-language Icelandic site using the hi.css color scheme.
43

5-
The site is:
6-
- Bilingual (Icelandic + English)
7-
- Built with MkDocs + Material
8-
- Uses a simple language‑toggle system with both languages in the same file
9-
- Deployed automatically using GitHub Actions → GitHub Pages
4+
This workspace is configured with:
5+
- Zensical (see `requirements.txt`)
6+
- Pages under `docs/` (Icelandic)
107

11-
The goal is to provide an accessible, flexible, and lightweight documentation‑style site for presenting the HiDef Textíll project, its research outputs, tools, and public engagement activity.
8+
Local quickstart
129

13-
# Folder Structure
14-
The repository is organized to be clear, minimal, and easy to extend.
10+
1. Create and activate a virtual environment:
1511

12+
```bash
13+
python -m venv .venv
14+
.\.venv\Scripts\activate
15+
```
16+
17+
2. Install Python dependencies from `requirements.txt`:
1618

19+
```bash
20+
python -m pip install --upgrade pip
21+
python -m pip install -r requirements.txt
1722
```
18-
hidef-textill-site/
19-
├─ docs/
20-
│ ├─ index.md
21-
│ ├─ stylesheets/
22-
│ │ └─ extra.css
23-
│ ├─ javascripts/
24-
│ │ └─ lang-toggle.js
25-
│ ├─ assets/
26-
│ │ └─ images/
27-
│ │ └─ placeholder-logo.png
28-
├─ mkdocs.yml
29-
├─ .gitignore
30-
├─ requirements.txt
31-
└─ .github/
32-
└─ workflows/
33-
└─ deploy.yml
23+
24+
3. Build and serve the site with Zensical:
25+
26+
```bash
27+
python -m zensical build
28+
python -m zensical serve
3429
```
3530

31+
Files of interest:
32+
- `zensical.toml` – site config and global CSS/JS includes
33+
- `docs/` – content pages (Icelandic)

docs/en/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
- [JBT Marel](https://jbtmarel.com/)
1818
- and others
1919

20-
> This page is a work-in-progress. If you spot something to improve, please let us know via the contact page.
20+
> This page is a work-in-progress. If you spot something to improve, please let us know via the contact page.

docs/en/index.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
# Home (English - in development)
2-
1+
# Home
2+
33
This site is currently under development. English content will be added after the Icelandic implementation is complete.
44

55
Please visit the Icelandic site for the primary content: [Heim](../is/)
66

77
- [About](about.md)
88
- [Research](research.md)
99
- [Contact](contact.md)
10-

docs/index.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

docs/is/about.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
1+
---
2+
title: Um
3+
---
4+
15
# Um
26

3-
**HiDef textíll** sameinar snjallprjón, rannsóknahugbúnað og miðlun til almennings. Markmið okkar er að tengja **sjálfbærni**, **tækni** og **íslenskan menningararf** í gegnum þverfaglegt samstarf.
7+
**HiDef textíll** sameinar snjallprjón, rannsóknahugbúnað og miðlun til almennings. Markmið okkar er
8+
að tengja **sjálfbærni**, **tækni** og **íslenskan menningararf** í gegnum þverfaglegt samstarf.
49

510
## Markmið
11+
612
- Þróa notendavænar aðferðir og verkfæri fyrir snjallprjón
713
- Miðla ferli og niðurstöðum til almennings og skólasamfélags
814
- Styðja við hagnýta nýsköpun og menntun
915

1016
## Samstarfsaðilar
17+
1118
- [Háskóli Íslands](https://www.hi.is/) (HÍ)
1219
- [Listaháskóli Íslands](https://www.lhi.is) (LHÍ)
1320
- [Textílmiðstöð Íslands](https://textilmidstod.is)
1421
- [Heimilisiðnaðarfélag Íslands](https://www.heimilisidnadur.is/en)
1522
- [Þjóðminjasafnið](https://www.thjodminjasafn.is/)
1623
- [JBT Marel](https://jbtmarel.com/)
1724

18-
> Þessi síða er í vinnslu. Ef þú sérð eitthvað sem má bæta, endilega sendu okkur ábendingu á
19-
> tengiliðasíðunni.
25+
> Þessi síða er í vinnslu. Ef þú sérð eitthvað sem má bæta, endilega sendu okkur ábendingu á tengiliðasíðunni.

docs/is/contact.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
1+
---
2+
title: Hafa samband
3+
---
4+
15
# Hafa samband
26

37
Við fögnum ábendingum, samstarfi og spurningum.
48

59
## Tengiliðir
10+
611
- **Netfang**: helgaingim[hjá]hi.is
712
- **Instagram**: [@hidefTextiles](https://www.instagram.com/hideftextiles/)
813
- **Facebook**: [@hidefTextiles](https://www.facebook.com/profile.php?id=61561112782546)
914
- **GitHub**: [HiDefTextiles](https://github.com/HiDefTextiles)
1015

1116
## Hvernig get ég tekið þátt?
17+
1218
- Sendu ábendingu eða spurningu
1319
- Taktu þátt í prófunum og stýrihópum
1420
- Komdu á opna vinnustofu og viðburði
1521

16-
> Persónuvernd: Ekki senda viðkvæmar upplýsingar í gegnum almenn form eða tölvupóst.
22+
> Persónuvernd: Ekki senda viðkvæmar upplýsingar í gegnum almenn form eða tölvupóst.

docs/is/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: Heim
3+
---
4+
15
# Heim
26

37
Velkomin á HiDef textíll — þessi síða er í vinnslu.

docs/is/research.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
title: Rannsóknir
3+
---
4+
15
# Rannsóknir
26

3-
Placeholder rannsóknir (Íslenska).
7+
Þessi síða safnar yfirliti yfir rannsóknir, hugbúnað og tækni sem tengist HiDef textíll.
8+
9+
TODO: bæta efni inn síðar.

docs/javascripts/lang-toggle.js

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)