https://github.com/xinntao/records
Records in gitbook
https://github.com/xinntao/records
gitbook
Last synced: 12 days ago
JSON representation
Records in gitbook
- Host: GitHub
- URL: https://github.com/xinntao/records
- Owner: xinntao
- Created: 2020-05-30T12:10:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-11-22T15:17:27.000Z (almost 4 years ago)
- Last Synced: 2025-04-28T18:21:20.735Z (6 months ago)
- Topics: gitbook
- Language: HTML
- Homepage: https://xinntao.github.io/records/
- Size: 3.37 MB
- Stars: 9
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 记录
[Page hosted on GitHub](https://xinntao.github.io/records/) | [Page hosted on Gitee码云](https://xinntao.gitee.io/records/)
[GitHub](https://github.com/xinntao/records) | [Gitee码云](https://gitee.com/xinntao/records)记录平时遇到的问题和解决方法.
> [!TIP]
> 本仓库在 [GitHub](https://github.com/xinntao/records) 和 [Gitee码云](https://gitee.com/xinntao/records) 同步. 欢迎在 [Github](https://github.com/xinntao/records) 或 [Gitee码云](https://gitee.com/xinntao/records) 贡献.---
> [!NOTE]
> - Github pages will automatically update the contents in `gh-pages`.
> - Gitee pages **require manual** updates.---
> [!COMMENT|label: Usage]
> 1. File structure
> Run the following two commands in the same root folder.
> ```
> git clone git@github.com:xinntao/records.git
> git clone -b gh-pages git@github.com:xinntao/records.git records-gh-pages
> ```
> The file structure should be like this:
> ```
> - root
> |--- records
> |--- records-gh-pages
> ```
> Note that in order to trigger the GitHub actions, we should also copy the `.github` folder to the records-gh-pages branch for the fist time.
> 1. Update the master branch in the `records` folder.
> 1. Build the gitbook: `gitbook build`
> 1. In the `records` repo, copy the contents in `_book` folder to `records-gh-pages`: `cp -r _book/* ../records-gh-pages`
> 1. Push to remotes:
> - For records: `git push origin master`
> - For records-gh-pages: `git push origin gh-pages`