Skip to content

Commit

Permalink
Major docs overhaul
Browse files Browse the repository at this point in the history
We finally have (hopefully) helpful docs! 🎉

Closes: #5
Closes: #78

Co-authored-by: Simon Ruderich <simon@ruderich.org>
  • Loading branch information
F30 and rudis committed Dec 2, 2023
1 parent 209af33 commit c51614c
Show file tree
Hide file tree
Showing 23 changed files with 398 additions and 1,037 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ EXT_DIR ?= $(WEB_DIR)/static/ext
DEV_MANAGE ?= src/dev_manage.py
TESTS_DIR ?= tests

.PHONY: dev build ext migrations run_web test lint clean
.PHONY: dev build ext migrations run_web test lint run_docs clean
.INTERMEDIATE: bootstrap.zip

dev: $(WEB_DIR)/dev-db.sqlite3 ext
Expand Down Expand Up @@ -49,6 +49,9 @@ lint:
pycodestyle $(SOURCE_DIR) $(TESTS_DIR)
bandit --ini bandit.ini -r $(SOURCE_DIR)

run_docs:
mkdocs serve

docs_site: mkdocs.yml $(wildcard docs/* docs/*/*)
mkdocs build --strict

Expand Down
3 changes: 0 additions & 3 deletions doc/controller/scoring.sql → conf/controller/scoring.sql
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,3 @@ NATURAL FULL OUTER JOIN defense
NATURAL FULL OUTER JOIN sla
NATURAL INNER JOIN fill
ORDER BY team_id, service_id;

ALTER MATERIALIZED VIEW scoring_scoreboard OWNER TO gameserver_controller;
GRANT SELECT on TABLE scoring_scoreboard TO gameserver_web;
1 change: 0 additions & 1 deletion doc/.gitignore

This file was deleted.

193 changes: 0 additions & 193 deletions doc/Makefile

This file was deleted.

38 changes: 0 additions & 38 deletions doc/flag.adoc

This file was deleted.

107 changes: 0 additions & 107 deletions doc/source/checker.rst

This file was deleted.

Loading

0 comments on commit c51614c

Please sign in to comment.