in6pio / Incipio

ERP pour Junior-Entreprises.
http://incipio.fr
GNU Affero General Public License v3.0
5 stars 5 forks source link

Doc/mkdocs creation #65

Closed xNok closed 9 years ago

theofidry commented 9 years ago

Far more clear :)

Is there a way to get a preview of the result so that we can see the issues encountered before merging?

xNok commented 9 years ago

First install mkdocs

pip install mkdocs

Then run

mkdocs serve

If you want the html vertion

mkdocs build

theofidry commented 9 years ago

I've done a PR to fix a little bit the doc content.

What's left:

xNok commented 9 years ago

Test : http://xnok.github.io/Incipio/

Add travis script to push the doc on the branch gh-pages

Mkdocs has a command to deploy gh-page : mkdocs gh-deploy --clean I'm not familiar with travis. Can we execute this commande (python library)? How can I test it locally ?

Ensure we can build the doc from a VM

Y shouldn't use a VM to create the mkdocs, because it create a build-in web Server. Y'd rather run it on your machine.

theofidry commented 9 years ago

Yop @xNok.

Mkdocs has a command to deploy gh-page : mkdocs gh-deploy --clean I'm not familiar with travis. Can we execute this commande (python library)? How can I test it locally ?

A very simple way would be to enable Travis on your fork

Ensure we can build the doc from a VM

Y shouldn't use a VM to create the mkdocs, because it create a build-in web Server. Y'd rather run it on your machine.

You're right, but it requires Python which may cause problem on some machines. I'm not saying we must do it this way, I'm saying that if someone has a vagrant machine, he should be able to compile the doc.

That being said it can be very annoying. If it's just too much of a pain in the ass leave those two points at that for now. I would rather finish the other points and doing the scenarios.

I was kind of very busy with my moving to London, I'll avance LoopBackApiBundle this week and come back to Incipio this weekend.

theofidry commented 9 years ago

@xNok I've integrated the doc :)