该存储库包含所有文档页面以及主网站的共享文件。 设置新存储库 git submodule add https://github.com/amphp/amphp.github.io docs/.shared # copy .gitignore, _config.yml and Gemfile from another repository # adjust navigation and paths in _config.yml cd docs ln -s .shared/asset asset bundle install --path vendor/bundle bundle exec jek