1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-02-24 22:58:23 +01:00
eclair/docs/README.md

20 lines
958 B
Markdown
Raw Normal View History

2019-03-26 11:12:56 +01:00
# Eclair documentation man page
- How to build
## Building
The documentation uses [slate](https://github.com/lord/slate) and is hosted via github pages in this repo. To get started you need to download _slate_ in your
local machine, you need ruby, ruby-bundle and a few other dependencies. For the complete instructions on how to run slate please refer to its official
documentation [here](https://github.com/lord/slate#getting-set-up).
2019-03-26 11:31:04 +01:00
:warning: On ubuntu 18.10 you have to **append** `gem "therubyracer"` to **Gemfile** :warning:
2019-03-26 11:12:56 +01:00
### Modifying eclair doc
1. Copy recursively `eclair/docs/slate` into `slate/source` and open a text editor at `slate/source/index.html.md`
2. Make your changes
2019-03-26 11:31:04 +01:00
3. From within the slate folder run `bundle exec middleman build --clean` as specified by the [instructions](https://github.com/lord/slate/wiki/Deploying-Slate#publishing-your-docs-to-your-own-server)
2019-03-26 11:12:56 +01:00
4. Copy the content of `slate/build` into `eclair/docs`