Skip to content
Merged
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
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ jobs:
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: pnpm run build
env:
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
- name: Upload artifact
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # ratchet:actions/upload-pages-artifact@v5
with:
Expand Down
5 changes: 1 addition & 4 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ src/
static/ # Static assets served at site root
svelte.config.js # SvelteKit + mdsvex configuration
eslint.config.js # ESLint flat config (primary)
remark-custom-emojis.js # Custom remark plugin for Slack emojis
build-rss.js # RSS feed generator (runs post-build)
```

Expand Down Expand Up @@ -117,7 +116,7 @@ build-rss.js # RSS feed generator (runs post-build)
| CSS class names | kebab-case preferred | `.main-menu-toggle`, `.byline` |
| Blog post dirs | kebab-case | `otel-from-0-to-100/` |
| Log post files | `YYYY-MM-DD-kebab-slug.md` | `2026-02-24-bedre-navn.md` |
| Config/plugin files | kebab-case | `remark-custom-emojis.js` |
| Config/plugin files | kebab-case | `build-rss.js` |

### Imports

Expand Down Expand Up @@ -169,7 +168,6 @@ Use SvelteKit path aliases: `$lib/...`, `$app/...`. Use relative paths for same-
layout: log
---
```
- Custom Slack emojis can be used inline (`:naisely-done:`, `:texas:`)
- RSS feed auto-generated at build time by `build-rss.js`

### Dates
Expand All @@ -195,5 +193,4 @@ From `.github/copilot_instructions.md` — applies to all content and documentat
- mdsvex processes `.svelte`, `.svx`, `.md` extensions
- Shiki syntax highlighting with `github-dark` theme (JS, TS, YAML, Bash, Elm, Shell, Kotlin, JSON)
- `@nais` npm packages come from Google Artifact Registry (configured in `.npmrc`)
- The `SLACK_TOKEN` env var is needed at build time for custom emoji resolution (optional — degrades gracefully)
- Build produces RSS at `build/log/rss.xml` via post-build `build-rss.js` step
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@ Dette repoet blir publisert på nais.io via Github Pages.

## Lokal utvikling

### Prerequisites

Må legges til som collaborator på [`nais-announcements`-slackbot](https://app.slack.com/app-settings/T5LNAMWNA/A081P9QLH7D/collaborators) for å få tilgang til å hente emoticons.

Legg til SLACK_TOKEN i en lokal .env-fil.
Token hentes på api.slack.com -> your apps -> nais-announcements -> install app

Kjør:

```
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,8 @@
},
"dependencies": {
"@nais/ds-svelte-community": "2.0.0-next.8",
"@slack/web-api": "7.16.0",
"date-fns": "4.4.0",
"feed": "5.2.1",
"mdast-util-find-and-replace": "3.0.2",
"node-emoji": "2.2.0",
"parse-md": "3.0.3",
"shiki": "4.2.0",
"svelte-preprocess": "6.0.5",
Expand Down
Loading