Editorial nits #2

Merged
kiara merged 7 commits from fricklerhandwerk/fedi-goals:rewrite-edits into rewrite 2025-06-11 18:38:29 +02:00
4 changed files with 38 additions and 21 deletions
Showing only changes of commit ac3b9c9c30 - Show all commits

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
result
*.err
*.odt
*.html

View file

@ -1,11 +1,11 @@
# fediversity proposal
# Fediversity project proposal
## usage
Build a PDF:
```sh
nix-shell
pandoc architecture.md -o architecture.html
pandoc architecture.html -o architecture.pdf
pandoc --filter pandoc-include fediversity.md -o fediversity.html
pandoc fediversity.html -o fediversity.pdf
> **Note**
>
> It will take a while to download dependencies!
```bash
nix-build -A pdf
```

28
default.nix Normal file
View file

@ -0,0 +1,28 @@
{
pkgs ? import <nixpkgs> { },
}:
{
shell = pkgs.mkShellNoCC {
packages = with pkgs; [
pandoc
pandoc-include
texliveMedium
librsvg
];
};
pdf =
pkgs.runCommand "fediversity"
{
buildInputs = with pkgs; [
pandoc
pandoc-include
texliveMedium
librsvg
];
}
''
mkdir -p $out
pandoc ${./architecture.md} -o $out/architecture.pdf
pandoc --filter pandoc-include ${./fediversity.md} -o $out/fediversity.pdf
'';
}

View file

@ -1,13 +1 @@
{
pkgs ? import <nixpkgs> { },
}:
{
shell = pkgs.mkShellNoCC {
packages = with pkgs; [
pandoc
pandoc-include
texliveMedium
librsvg
];
};
}
(import ./. { }).shell