Skip to content

Commit b6a2b9b

Browse files
authored
Merge pull request #22 from OleksiyPuzikov/main
2 parents 2df2733 + 69009a5 commit b6a2b9b

27 files changed

+292
-6
lines changed

doc_build/doc_builder.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ def build_docs(self, args):
102102
subtitle = self.get_subtitle(spec)
103103

104104
fontpath = (Path(__file__).resolve().parent / "front_page").as_posix() + "/"
105+
dejavufontpath = (Path(__file__).resolve().parent / "fonts").as_posix() + "/"
105106

106107
# Set the cwd to the artifacts dir because it's easier for some filters to work relatively to it
107108
os.chdir(self.get_artifacts_dir(args.output))
@@ -125,6 +126,8 @@ def build_docs(self, args):
125126
"-V",
126127
f"fontpath={fontpath}",
127128
"-V",
129+
f"dejavufontpath={dejavufontpath}",
130+
"-V",
128131
f"subtitle={subtitle}",
129132
"-V",
130133
"geometry:margin=1in",
@@ -135,10 +138,10 @@ def build_docs(self, args):
135138
"linestretch=1.25",
136139
"-V",
137140
"fontsize=10pt",
138-
"-V",
139-
"mainfont=DejaVu Serif",
140-
"-V",
141-
"monofont=DejaVu Sans Mono",
141+
# "-V",
142+
# "mainfont=DejaVu Serif",
143+
# "-V",
144+
# "monofont=DejaVu Sans Mono",
142145
# "-V",
143146
# "monofontoptions=Scale=0.8", # scale down a bit for better sizing of listings and PEG
144147
"-V",
564 KB
Binary file not shown.
689 KB
Binary file not shown.
628 KB
Binary file not shown.
347 KB
Binary file not shown.
621 KB
Binary file not shown.

doc_build/fonts/DejaVuSans.ttf

739 KB
Binary file not shown.
649 KB
Binary file not shown.
597 KB
Binary file not shown.
585 KB
Binary file not shown.

0 commit comments

Comments
 (0)