拆分bithesis.dtx到src/bithesis*.dtx#707
Conversation
0bd7c77 to
79c3ff9
Compare
There was a problem hiding this comment.
Pull request overview
This PR reorganizes the project structure by moving core build files into a src/ directory and migrating from Makefile to justfile for build automation. The changes also include removing rarely-used development recipes and updating documentation references.
- Moved core files (
bithesis.dtx,bithesis.ins, etc.) tosrc/directory - Replaced Makefile with justfile for build commands
- Updated all documentation and script references from
maketojust
Reviewed changes
Copilot reviewed 11 out of 16 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/Makefile | New Makefile in src/ directory for building class files and documentation |
| scripts/test.py | Updated to use just commands and adjusted paths from SCAFFOLDDIR to TEMPLATE_DIR |
| scripts/regression_test.py | Updated docstring to reference just instead of make |
| justfile | New justfile replacing the old Makefile with simplified build recipes |
| bithesis.ins | Fixed typo: "Mainteiner" → "Maintainer" |
| bithesis-doc.tex | Updated image path from images/ to assets/ |
| README-bithesis.md | Updated build command to make -C src cls |
| Makefile | Removed old Makefile (replaced by justfile) |
| DEVELOPMENT.md | Updated all documentation references from Makefile to justfile |
| .gitignore | Updated paths and comments to reflect new structure |
| .github/workflows/test.yaml | Updated CI to install just and use just commands |
| .github/workflows/release.yml | Updated release workflow to use just commands |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
src/ and create justfilebithesis.dtx into src/bithesis*.dtx
bithesis.dtx into src/bithesis*.dtxbithesis.dtx to src/bithesis*.dtx
bithesis.dtx to src/bithesis*.dtxbithesis.dtx到src/bithesis*.dtx
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 18 out of 22 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 18 out of 23 changed files in this pull request and generated no new comments.
Comments suppressed due to low confidence (1)
src/bithesis.ins:17
- Corrected typo in comment: "Mainteiner" should be "Maintainer".
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
83e32b8 to
adc1ef8
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 18 out of 23 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
同时将
Makefile中的大部分.PHONY命令移至justfile,并删除了其它很少用的命令。$ just Available recipes: clean *ARGS # Clean generated files and directories in the current directory list # List available recipes [build] cls # Build *.cls files copy # Copy necessary files to templates/*/ and relevant directories doc # Build bithesis.pdf handbooks # Build handbooks [dev] check # Check LaTeX files with https://ctan.org/pkg/expltools regression-test *ARGS # Run regression tests (run with `--help` for help) test # Run compilation tests (mainly for CI, takes 3–6 minutes) [release] grad version dest="BIThesis-graduate-thesis-template" # 生成提供给研究生院的压缩包 pkg # Build bithesis.zip for submission to CTAN (mainly for CI) undergrad version dest="BIThesis-undergraduate-thesis-templates" # 生成提供给教务部的压缩包对最终使用者的影响
*.cls生成的
*.cls的只有开头的注释变了,实质性内容完全没有变化。bithesis.pdf若直接编译,则完全无变化。
若显示「实现细节」(方法见

DEVELOPMENT.md),那么_bithesis_会缩减为@@,如下图——这大约是受\DocInput/l3doc/DocStrip限制。