aboutsummaryrefslogtreecommitdiffstats
path: root/docs/dergods_style_v0.1.ms
blob: 37d0217f8a0458a5e720d6e24b422e4d594123c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
.nr PS 12p
.nr PO 1.0i
.nr LL 6.5i
.defcolor blue    rgb 0.1f 0.1f 1.0f
.defcolor bsdred  rgb #9d2121
.defcolor codered rgb #900000
.defcolor grey    rgb #aaaaaa
.defcolor black   rgb #000000
.color
.de bsdr
.gcolor bsdred
..
.de endc
.gcolor
..
.de xa
.XA \\$1
.ps 12p
.B "\m[bsdred]\\$2\m[]" \\$3 \\$4
..
.de b
.B "\m[bsdred]\\$1\m[]" \\$2 \\$3
..
.de nh
.gcolor bsdred
.NH \\$1
.ps 14p
\\$2
.gcolor
..
.
.
.
.
.gcolor black
.bsdr
.TL
.LG
.ps 17p
Dergods' Style and good practices for C/C++ projects
.endc
.AU
.ps 15p
Joe

.ps 12p
v0.1
.DA


.XS 1
.ps 12p
.b "1. Introduction"
.xa 1 "2. Projects and version control"
.xa 1 "	2.1 Directories"
.XE
.PX


.nh 1 "Introduction"
.PP
The following is a description of
.b "Dergods' Style"
code and project
formatting to put in use if you work on Dergods' Realm-related code or if you
just need a personal good-looking norm to improve your code readablity. It
is heavily inspired by
.b FreeBSD® 's
.pdfhref W -D \
https://www.freebsd.org/cgi/man.cgi?query=style&apropos=0&sektion=0&\
manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html \
-A \m[black],\m[] \
\f(CW\m[codered]style(9)\m[]\f[]
.gcolor
with some changes.
.nh 1 "Projects and version control"
.nh 2 "Directories"