xinntao / records

Records in gitbook

Home Page:https://xinntao.github.io/records/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

记录

Page hosted on GitHub | Page hosted on Gitee码云
GitHub | Gitee码云

记录平时遇到的问题和解决方法.

Tip

本仓库在 GitHubGitee码云 同步. 欢迎在 GithubGitee码云 贡献.


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.
  2. Update the master branch in the records folder.
  3. Build the gitbook: gitbook build
  4. In the records repo, copy the contents in _book folder to records-gh-pages: cp -r _book/* ../records-gh-pages
  5. Push to remotes:
    • For records: git push origin master
    • For records-gh-pages: git push origin gh-pages

About

Records in gitbook

https://xinntao.github.io/records/


Languages

Language:HTML 50.4%Language:TeX 48.9%Language:CSS 0.7%