commit ddd78b2707e98541f97d0c581e7546c4a05d92e4 Author: Malin Freeborn Date: Fri Mar 7 22:53:04 2025 +0100 init the git! diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6174b8d --- /dev/null +++ b/Makefile @@ -0,0 +1,45 @@ +vpath %.md src + +########## Variables ########## + +dependencies = lowdown + +markdown = $(wildcard src/*.md) + +pages = $(patsubst src/%.md, public/%.html, $(markdown)) + +targets += $(pages) + +ignored += public/ + +ignore_file = .git/info/exclude + +########## Build Instructions ########## + +.PHONY: help +help: ## Print the help message. + @awk 'BEGIN {FS = ":.*?## "} /^[0-9a-zA-Z._-]+:.*?## / {printf "\033[36m%s\033[0m : %s\n", $$1, $$2}' $(MAKEFILE_LIST) | \ + sort | \ + column -s ':' -t + +.PHONY: check +check: ## Check you have all dependencies. + @$(foreach dep, $(dependencies), \ + command -v $(dep) >/dev/null || { echo Install $(dep) && exit 1 ;} ;\ + ) + +.PHONY: site +site: $(targets) $(ignore_file) ## Make the website in public/. + +$(ignore_file): $(MAKEFILE_LIST) + echo $(ignored) | tr ' ' '\n' > $@ + +public/: + mkdir $@ + +$(pages): public/%.html: %.md | public/ + lowdown $< > $@ + +.PHONY: clean +clean: + $(RM) $(targets) diff --git a/README.md b/README.md new file mode 100644 index 0000000..e8476e6 --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +This is a text-copy of the current wiki. + +# Why? + +The current `wiki.js` wiki has: + +- no branches (nobody can propose a change, they can only make it), +- no version control (I have no idea how to back it up), +- no automation (we can't check if all the links work), +- `Javascript`. + +## Why Not? + +> What about a GUI for people to type into? + +- Click [here](https://gitea.dmz.rs/Decentrala/wiki/_edit/master/README.md). + +> What about the old wiki? + +- We can port it over. +- Can someone help me port it over? (I can't sign in). + +> How will it look? + +- Like [this](https://themes.gohugo.io/themes). diff --git a/src/index.md b/src/index.md new file mode 100644 index 0000000..5353bdf --- /dev/null +++ b/src/index.md @@ -0,0 +1,19 @@ +# Znanje + +Svako može držati predavanje na bilo koju temu, samo se najavite na forumu. + +Decentrala veruje da svako treba da ima pristup znanju, zbog cega su predavanja uvek besplatna i bez promocija. + +Ako zelite nesto da podelite sa drugima sto ste naucili, prijavite se da drzite jedno ili vise predavanja! + +# Akcija + +Organizovanje dogadjaja programiranja ili instalacije servisa koje pomazu u decentralizaciji Interneta. + +Organizujemo hackathone kao posebne dogadjaje na kojima se okupljamo da radimo na zajednickom cilju. + +# Druzenje + +Drustvene dogadjaje u cilju socijalizacije. + +Ako zelite da se druzite sa ljudima zainteresovanim za ravnopravnost koriscenja tehnologija, slobodnog softvera, privatnost i bezbednost, posetite neku od okupljanja Decentrale.