fediverse-devnet / fedidevs.org

Documentation for the Fediverse
https://fedidevs.org/
Creative Commons Attribution Share Alike 4.0 International
17 stars 5 forks source link
activitypub community documentation fediverse resources webfinger

Fedidevs.org

This is the content of fedidevs.org.

It is built with the Hugo static site generator, plus some Python scripts that generate a few of the pages.

Contributions welcome; file a pull request.

Software requirements

Install Git and Git-LFS, and initialize it:

$ brew install git
$ brew install git-lfs
$ git lfs install

Install Hugo, e.g. on macOS:

$ brew install hugo

To run the website locally

Get the content:

$ git clone --recurse-submodules https://github.com/fediverse-devnet/fedidevs.org.git
$ cd fedidevs.org

Note that the theme is a submodule, so you need to use --recurse-submodules to get it. If you do not, you'll likely see an error related to shortcode templates when you try to run the site.

Run:

$ hugo serve

Then go to http://localhost:1313/ (actual port will be printed to the terminal).

Making changes

If you are not familiar with Hugo, leave all files and directories alone except for what's in the content/ directory. There, you'll find the Markup files that make up the content of the site.

By and large, there are two kinds of content files:

Intended structure of the site

This describes files below content/.

Other directories