This repository contains shared files for all documentation pages as well as the main website.
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 jekyll serve
cd docs
git submodule init
git submodule update
bundle install --path vendor/bundle
bundle exec jekyll serve