Skip to content

Commit da82853

Browse files
committed
add onboarding
1 parent 68123db commit da82853

File tree

5 files changed

+79
-17
lines changed

5 files changed

+79
-17
lines changed

readme.md

Lines changed: 79 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,85 @@
1-
# Example Static Content Repo For Wiki Instances
2-
![Arcetypal Repo](archetypal-heading.jpg)
3-
1. Sync Markdown content into `content` directory to be consumed by private Wiki Instance.
4-
2. Markdown can be Frontmatter decorated.
5-
3. Ensure Repo emits `dispatch.yml` to trigger workflow in order to rebuild site once content updates.
6-
* create repo secret: `REPO_PAT` : `paste in org PAT - github_pat_***`
7-
* requires Organisaztion PAT
8-
* Read access to metadata
9-
* Read & Write to Contents
10-
* create repo variable: `REPO`: `owner/wiki-content--example`
11-
* create repo variable: `EVENT` and use value: `TRIGGER_BUILD`
12-
4. Connect workflows with other REPO by having a consuming end:
13-
*workflow*
1+
![Arcetypal Repo](static/archetypal-heading.jpg)
2+
3+
# Onboarding
4+
5+
_Please deprecate this process once setup!_
6+
7+
> We are aligning so we can keep track of the cards in codecks, and acknowledge **who is accountable** to which site and its **priority**
8+
9+
**Dashboard**
10+
https://microsites-dashboard.fly.dev/
11+
12+
![](static/microsite-thumb-nfo.jpg)
13+
14+
### Github repo naming convention
15+
16+
Finding a repo can be hard when there's so many. We use this BEM naming convention so we can navigate URLs easily.
17+
18+
`[organisation]/[site-type]-[repo-type]--[project]`
19+
20+
- site-type: `wiki | press | site`
21+
- repo-type: `host | content`
22+
- project: `offgrid | etc`
23+
24+
> _For this **content** context, you will probably only need to use content type_
25+
26+
`semaeopus/wiki-content--offgrid`
27+
28+
### Content
29+
30+
Offgrid Wiki - can we use https://codebeautify.org/html-to-markdown
31+
32+
Make changes to the content repo, and the site rebuilds.
33+
34+
### Issues & Feature requests
35+
36+
Report them to the Discord `#wiki-making` channel.
37+
38+
---
39+
40+
## Onboarding Checklist
41+
42+
- Github Account
43+
- Get added to Semaeopus Team on Github
44+
- Use [Desktop](https://desktop.github.com/download/) app for sync
45+
- Use [Obsidan](https://obsidian.md/) for markdown content
46+
- Pull a `content` site (using GH app)
47+
- Connect repo to Obsidian vault
48+
49+
Strategy for Obsidian
50+
51+
![](static/obsid-nfo.jpg)
52+
53+
You will want to open the vault at the **root** of the repo.
54+
This will contain the following:
55+
1456
```
15-
on:
16-
repository_dispatch:
17-
types:
18-
- TRIGGER_BUILD
57+
readme.md
58+
static/
59+
content/
60+
attachments/
61+
Your Content.md
1962
```
63+
64+
plus some hidden files
65+
66+
_The plan was_ to open the vault at `content` itself, but Obsidian renames the `content` directory as the respective `vault` name, which then screws publication.
67+
68+
> There is a way around this whereby we name the content as the preferred vault name and pass this to the _build step_ as a **Github variable**.
69+
70+
### images
71+
72+
You can drag in from your machine ... but we need to sync them too!
73+
So we set up the Obsidian vault to use the `attachments` directory.
74+
75+
We also **disable** wikilinks, so file paths are maintained.
76+
77+
![](static/settings.jpg)
78+
2079
### Frontmatter
80+
2181
Current available fields:
82+
2283
```
2384
---
2485
description: SEO powers for wiki specific page
@@ -29,6 +90,7 @@ tags: ['blog']
2990
```
3091

3192
---
93+
3294
## Welcome to Community content
3395

3496
This would be a community facing **public** repo.
File renamed without changes.

static/microsite-thumb-nfo.jpg

44.3 KB
Loading

static/obsid-nfo.jpg

35.9 KB
Loading

static/settings.jpg

59.7 KB
Loading

0 commit comments

Comments
 (0)