Skip to content

Commit

Permalink
Merge pull request #2 from FediMod/feat/intial-documentation-setup
Browse files Browse the repository at this point in the history
Intial website & documentation setup
  • Loading branch information
ThisIsMissEm authored Sep 17, 2024
2 parents c8c4df9 + 9c73aab commit d6ec5f7
Show file tree
Hide file tree
Showing 30 changed files with 3,694 additions and 5 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Stop the editor from looking for .editorconfig files in the parent directories
root = true

[*]
# Non-configurable Prettier behaviors
charset = utf-8
insert_final_newline = true
# Caveat: Prettier won’t trim trailing whitespace inside template strings, but your editor might.
trim_trailing_whitespace = true

# Configurable Prettier behaviors
# (change these if your Prettier config differs)
end_of_line = lf
indent_style = space
indent_size = 2
# max_line_length = 80
58 changes: 58 additions & 0 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Deploy Website

on:
push:
branches: [main]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: pages
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# with:
# fetch-depth: 0 # Not needed if lastUpdated is not enabled
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Install dependencies
run: npm ci
- name: Build with VitePress
run: npm run docs:build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/.vitepress/dist

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Vitepress

.vitepress/cache
docs/.vitepress/dist
docs/.vitepress/cache


# Logs
logs
*.log
Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
# FIRES

[![AGPL License](https://img.shields.io/badge/license-AGPL-blue.svg)](http://www.gnu.org/licenses/agpl-3.0)
[![AGPL License](https://img.shields.io/badge/license-AGPL-blue.svg)](http://www.gnu.org/licenses/agpl-3.0)

**FediMod FIRES** is a protocol and reference server implementation for storing and distributing moderation data over time for the Fediverse. It is intended to be used by teams to provide moderation recommendations and advisories, based on their research, to moderators and administrators of Fediverse servers.

**FIRES** stands for **F**ediverse **I**ntelligence **R**eplication **E**ndpoint **S**erver.

**FediMod** is project to provide a home for various Fediverse moderation tools and projects.


## Features

- **Only provides moderation advisories and recommendations**, rather than prescribing that a given action must be taken.
- **Not designed for the creation of denylists**, moderators should always make the final decision that is right for their community.
- **Embraces linked data and multiple data sources**, we borrow ideas from linked data, to ensure that all moderation advisories and recommendations are well structured and contain enough information for Moderators to make an informed decision.
- **Allows resumable retrieval of data**, instead of being push-based which requires maintaining a network connection to the FIRES server, FIRES is designed to allow clients to periodically refresh their copy of the data.


## Documentation

The documentation to FIRES is split into a few sections:
Expand All @@ -27,6 +25,11 @@ The documentation to FIRES is split into a few sections:

## Acknowledgements

[NLNet placeholder]
<a href="https://NLnet.nl" class="funder-logo" name="ack"><img src="/nlnet-logo.svg?url" alt="Logo NLnet: abstract logo of four people seen from above"></a>
<a href="https://NLnet.nl/NGI0" class="funder-logo"><img src="/NGI0Entrust_tag.svg?url" alt="Logo NGI Zero: letterlogo shaped like a tag"> </a>

This project was funded through the <a href="https://NLnet.nl/entrust">NGI0 Entrust</a> Fund, a fund established by <a href="https://nlnet.nl">NLnet</a> with financial support from the European Commission's <a href="https://ngi.eu">Next Generation Internet</a> programme, under the aegis of <a href="https://commission.europa.eu/about-european-commission/departments-and-executive-agencies/communications-networks-content-and-technology_en">DG Communications Networks, Content and Technology</a> under grant agreement N<sup>o</sup> 101069594.
<br><br><br>
<a href="https://nivenly.org" class="funder-logo"><img src="/nivenly-foundation-logo-with-text.png?url" alt="Logo: Nivenly Foundation"></a>

[Nivenly website]
The writing of the proposal outlining FIRES was funded by <a href="https://nivenly.org">Nivenly Foundation</a>.
146 changes: 146 additions & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
import { defineConfig } from "vitepress";

// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "FediMod FIRES",
description: "Fediverse moderation Intelligence Replication Endpoint Server",
themeConfig: {
footer: {
message:
'Released under the <a href="https://github.com/fedimod/fires/blob/main/LICENSE">AGPL License</a>.',
copyright:
'Copyright © 2024 <a href="/contributors">FediMod FIRES Project</a>',
},

// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: "Home", link: "/" },
{ text: "Concepts", link: "/concepts/", activeMatch: "^/concepts" },
{ text: "Protocol Reference", link: "/reference/protocol/" },
{ text: "Conformance Tests", link: "/reference/testing/" },
{
text: "Manuals",
items: [
{
text: "Reference Server",
link: "/manuals/reference-server/",
},
{
text: "Example Publisher",
link: "/manuals/example-publisher/",
},
{
text: "Example Consumer",
link: "/manuals/example-consumer/",
},
],
},
],

sidebar: {
"/concepts/": [
{
text: "Concepts",
link: "/concepts/",
items: [
{
text: "Firewall-based Federation Management",
link: "/concepts/federation-firewalls",
},
{ text: "Labelling", link: "/concepts/labels" },
{
text: "Advisories & Recommendations",
link: "/concepts/advisories-and-recommendations",
},
{ text: "Retractions", link: "/concepts/retractions" },
],
},
{
text: "Project Background",
items: [
{
text: "Introduction",
link: "/concepts/background/",
},
{
text: "Goals & Objectives",
link: "/concepts/background/goals-and-objectives",
},
{
text: "Historical Context",
link: "/concepts/background/historical-context",
},
{
text: "Prior Art",
link: "/concepts/background/prior-art",
},
{
text: "Why Not...?",
link: "/concepts/background/why-not",
},
],
},
],
"/reference/": [
{
text: "Reference",
items: [
{
text: "Conformance Tests",
link: "/reference/testing/",
},
{
text: "Protocol",
collapsed: true,
items: [
{
text: "Introduction",
link: "/reference/protocol/",
},
],
},
],
},
],

"/manuals/reference-server": [
{
text: "Reference Server",
items: [
{
text: "Introduction",
link: "/manuals/reference-server/",
},
],
},
],
"/manuals/example-publisher": [
{
text: "Example Publisher",
items: [
{
text: "Introduction",
link: "/manuals/example-publisher/",
},
],
},
],
"/manuals/example-consumer": [
{
text: "Example Consumer",
items: [
{
text: "Introduction",
link: "/manuals/example-consumer/",
},
],
},
],
},

socialLinks: [
{ icon: "github", link: "https://github.com/fedimod/fires" },
{ icon: "mastodon", link: "https://mastodon.social/@fedimod" },
],
},
});
Loading

0 comments on commit d6ec5f7

Please sign in to comment.