File tree Expand file tree Collapse file tree 5 files changed +11
-6
lines changed
Expand file tree Collapse file tree 5 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ arxiv_check_results.json
1818.claude
1919
2020# Python/uv
21+ .python-version
2122uv.lock
2223code /uv.lock
2324__pycache__ /
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -207,14 +207,14 @@ $(BUILD)/pdf/$(OUTPUT_FILENAME).pdf: $(PDF_DEPENDENCIES)
207207 $(CONTENT ) | $(CONTENT_FILTERS ) | $(PANDOC_COMMAND ) $(ARGS ) $(PDF_ARGS ) --resource-path=book -o $@
208208 $(ECHO_BUILT )
209209
210- # copy faveicon .ico to build/ and into build/c/ with bash commands
210+ # copy favicon .ico to build/ and into build/c/ with bash commands
211211# also copy from build/pdf/book.pdf into build/html/
212212# then copy images dir to build/html/chapters/
213213files :
214- test -f favicon.ico || (echo " favicon.ico not found" && exit 1)
214+ test -f book/ favicon.ico || (echo " book/ favicon.ico not found" && exit 1)
215215 mkdir -p $(BUILD ) /html/c/
216- cp favicon.ico $(BUILD ) /html/ || echo " Failed to copy to $( BUILD) /html/"
217- cp favicon.ico $(BUILD ) /html/c/ || echo " Failed to copy to $( BUILD) /html/c/"
216+ cp book/ favicon.ico $(BUILD ) /html/ || echo " Failed to copy to $( BUILD) /html/"
217+ cp book/ favicon.ico $(BUILD ) /html/c/ || echo " Failed to copy to $( BUILD) /html/c/"
218218 cp -R book/preorder $(BUILD ) /html/ || echo " Failed to copy preorder static pages"
219219 cp $(BUILD ) /pdf/book.pdf $(BUILD ) /html/ || echo " Failed to copy to $( BUILD) /html/"
220220 cp $(BUILD ) /epub/book.epub $(BUILD ) /html/ || echo " Failed to copy EPUB to $( BUILD) /html/"
File renamed without changes.
Original file line number Diff line number Diff line change 1+ # Root pyproject.toml - for diagram generation and book build scripts
2+ # Note: code/ has its own pyproject.toml for ML dependencies
13[project ]
24name = " rlhf-book"
35version = " 0.1.0"
4- description = " RLHF Book build scripts"
6+ description = " RLHF Book - diagrams and build scripts"
57requires-python = " >=3.11,<3.14"
68dependencies = [
9+ # Diagram generation (diagrams/)
710 " google-generativeai>=0.8.6" ,
811 " matplotlib>=3.10.8" ,
912 " transformers>=4.57.5" ,
13+ # Library data generation (book/scripts/generate_library.py)
14+ " datasets>=2.19.0" ,
1015]
You can’t perform that action at this time.
0 commit comments