An open API service indexing awesome lists of open source software.

https://github.com/etcdevteam/docs-website

ETCDEV documentation
https://github.com/etcdevteam/docs-website

Last synced: 11 months ago
JSON representation

ETCDEV documentation

Awesome Lists containing this project

README

          

ETCDEV Documentation website generator
======================================

Based on Gitbook, downloads all projects in local directory (`_sources`) and call Gitbook geenrator for each of
them, putting result to `_target`. In addition to that generates home page for the websites.

# Configuration

To add a new project edit `build.sh` and add a full name of the project into the following block:
```
# Whitelist projects
declare -a projects=(
ETCDEVTeam/emerald-cli
ETCDEVTeam/emerald-js
#ethereumproject/go-ethereum
#whilei/go-ethereum # just for dev purposes
)
```

Edit `website/data.json` to specify details of the project to put into home page.

# Run

Install modules:
```
npm install
```

Build documentation:
```
./build.sh -B
```

Build homepage:
```
./build.sh -w
```

View generted documentation:
```
./build.sh -s
```

Open http://localhost:8000/