Source text and code for Quick BOI, a reference handbook for the Beginning of Infinity.
Published at: https://ceramic-sf.github.io/2023/10/24/quick-boi.html
Some things in the book will be imperfect. You can submit changes if you want to via a pull request
The book is markdown and contains hyperlinks to prior headings.
A python script finds hyperlinks and creates graphs showing links/hierarchies.
It generates plant UML diagrams for those links (./diagrams/complete/
).
It also inserts links in each section to the relevant diagram.
A plant UML processor converts .uml to .svg. A markdown processor
- Text in
bolq.md
is the definitive source for content. Update content, adhering to the strict formatting pattern. Table of contents can be deleted and re-generated by a markdown processor. - Delete all
.puml
files in./diagrams/complete
. - Delete all
.svg
files in.out/diagrams/complete
. - Run
scripts/make_book_with_diagrams.py
. This creates diagrams (.puml
format, usingscripts/diagram_generator.py
, saved in./diagrams/complete
) and generates a newbolq_with_diagrams.md
. - Using VS Code,
CTRL
+SHIFT
+P
to find and runPlantUML export workspace diagrams
, selectingsvg
format. New diagrams are made in./out/diagrams/complete
. This will take some time. - To preview convert to HTML or PDF using a markdown generator. E.g., Using VS Code,
CTRL
+SHIFT
+P
to find and runMarkdown PDF: Export (html)
. - Open
bolq_with_diagrams.html
using a web browser to see the content. - Do not edit content
bolq_with_diagrams.md
as it is not the definitive source and will be overwritten. Changebolq.md
and re-run./scripts/make_book_with_diagrams.py
instead.
The content is published as a blog post generated with github pages from content here:
https://github.com/ceramic-sf/ceramic-sf.github.io/blob/main/docs/_posts/2023-10-24-quick-boi.md
To update that post, copy everything in teh generated bolq_with_diagrams.md
and place below the blog post header.
---
layout: post
title: "Quick BOI: A Reference Handbook for The Beginning of Infinity"
categories:
---
[here]
The generated book (bolq_with_diagrams.md
) has diagrams with image links of the form:
![connections_for_incremental_truth](./out/diagrams/complete/bolq_diagram_incremental_truth/bolq_diagram_incremental_truth.svg)
The blog-based book links must have the following format:
![connections_for_incremental_truth](/assets/images_quick_boi/bolq_diagram_incremental_truth/bolq_diagram_incremental_truth.svg)
Select all ./out/diagrams/complete
and update to /assets/images_quick_boi/
.
Copy the images to the blog repository:
- From:
./out/diagrams/complete/
(in this repo) - To:
docs/assets/images_quick_boi/
(in blog repo github.com/ceramic-sf/ceramic-sf.github.io)
In the blog repo (https://github.com/ceramic-sf/ceramic-sf.github.io):
cd docs
bundle exec jekyll serve
Navigate to http://127.0.0.1:4000/