1
0
mirror of https://github.com/danog/byte-stream.git synced 2024-12-11 17:09:43 +01:00
byte-stream/docs/README.md

26 lines
650 B
Markdown
Raw Normal View History

2017-05-28 19:24:13 +02:00
# Documentation
2017-05-17 12:45:35 +02:00
2017-05-28 19:24:13 +02:00
This directory contains the documentation for `amphp/byte-stream`. Documentation and code are bundled within a single repository for easier maintenance. Additionally, this preserves the documentation for older versions.
2017-05-17 12:45:35 +02:00
2017-05-28 19:24:13 +02:00
## Reading
2017-05-17 12:45:35 +02:00
2017-05-28 19:24:13 +02:00
You can read this documentation either directly on GitHub or on our website. While the website will always contain the latest version, viewing on GitHub also works with older versions.
2017-05-17 12:45:35 +02:00
2017-05-28 19:24:13 +02:00
## Writing
2017-05-17 12:45:35 +02:00
2017-05-28 19:24:13 +02:00
Our documentation is built using Jekyll.
2017-05-17 12:45:35 +02:00
```
2017-05-28 19:24:13 +02:00
sudo gem install bundler jekyll
2017-05-17 12:45:35 +02:00
```
2017-05-22 10:00:11 +02:00
2017-05-28 19:24:13 +02:00
```
git submodule init
git submodule update
2017-05-22 10:00:11 +02:00
2017-05-28 19:24:13 +02:00
cd docs
2017-05-22 10:00:11 +02:00
2017-05-28 19:24:13 +02:00
bundle install --path vendor/bundle
bundle exec jekyll serve
```