nestor-qa / nestor

Nestor
http://nestor-qa.github.io
MIT License
3 stars 0 forks source link

Automate API documentation generation #116

Closed kinow closed 7 years ago

kinow commented 7 years ago

At the moment it is updated manually. We can automate it via:

1) php artisan api:docs --name "Nestor-QA RESTful API" --use-version v1 --output-file=./docs/documentation/api/api.md

And then

2) sed -i 1i"----\n-layout: page\n-title: API Installation\n----\n-\n-" ./docs/documentation/api/api.md

And git compare and push.