Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: 更新开发文档、脚本等资料 #538

Merged
merged 2 commits into from
Jul 9, 2024

Conversation

YDX-2147483647
Copy link
Collaborator

@CZLeader 遇到了很大的问题。git clone下来templates/undergraduate-thesis/无法编译,因为缺bithesis.cls

  • 文档

    • 调整章节顺序
    • 强调make copy
    • 指出make doc的结果是bithesis.pdf
    • MacOS → macOS
    • 改进 Windows 开发指引,原先有错误,例如 Git Bash 其实并不提供 GNU make
  • .gitignore

  • Makefile

    • 删除无用的 $LATEX
    • 补全.PHONY
    • latexmk -c && latexmklatexmk -gg,这样更清楚
    • bashsh,这样更通用
  • the-graduates-handbook/handbook/,因为本科、硕博都是这里,并非仅仅“graduate”

  • check-shebang-scripts-are-executable

  • style: trim trailing whitespace and make sure files end in a newline and only a newline

    end-of-file-fixer and trailing-whitespace of https://github.com/pre-commit/pre-commit-hooks/ .

- 文档

  - 调整章节顺序
  - 强调`make copy`
  - 指出`make doc`的结果是`bithesis.pdf`
  - MacOS → macOS
  - 改进 Windows 开发指引,原先有错误,例如 Git Bash 其实并不提供 GNU make

- `.gitignore`

  - 删除重复的`templates/.gitignore`
  - 忽略 markdown 宏包生成的 lua bridge (BITNP#470)

- `Makefile`

  - 删除无用的 `$LATEX`
  - 补全`.PHONY`
  - `latexmk -c && latexmk` → `latexmk -gg`,这样更清楚
  - `bash` → `sh`,这样更通用

- `the-graduates-handbook/` → `handbook/`,因为本科、硕博都是这里,并非仅仅“graduate”

- [check-shebang-scripts-are-executable](https://github.com/pre-commit/pre-commit-hooks/tree/main?tab=readme-ov-file#check-shebang-scripts-are-executable)
@YDX-2147483647 YDX-2147483647 marked this pull request as ready for review July 8, 2024 09:56
@YDX-2147483647 YDX-2147483647 added this pull request to the merge queue Jul 9, 2024
Merged via the queue into BITNP:main with commit 5e439b0 Jul 9, 2024
3 checks passed
@YDX-2147483647 YDX-2147483647 deleted the dev branch July 9, 2024 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants