swadey / LispSyntax.jl

lisp-like syntax in julia
Other
231 stars 24 forks source link

WIP: Enable documentation. #7

Closed Ismael-VC closed 8 years ago

Ismael-VC commented 8 years ago

@swadey you only need to create an account at:

Sync your repositories and enable this repo, be sure to select julia among the availble languages and Mkdocs markdown among the documentation alternatives.

Please let me know if you have any problem, I'll be expanding the examples here, thanks!

Ismael-VC commented 8 years ago

Example result from my fork:

You can also add taggs and such

Ismael-VC commented 8 years ago

By the way we can use [ci skip] in the body of a commit or PR in order to avoid running tests for documentation related changes.

Ismael-VC commented 8 years ago

@swadey oh damn I closed this by accident! :sob:

Ismael-VC commented 8 years ago

Oh there it is again :wink:

Ismael-VC commented 8 years ago

I can squash the commits if you want. I'll keep adding more examples.

swadey commented 8 years ago

Dude this is cool. Thanks for putting so much effort into starting these docs. Merging.

Ismael-VC commented 8 years ago

@swadey I think you still have to register in readthedocs and add this repo to the automatic build process, currently what would be the default site (if you don't cahnge the title) doesn't exist yet:

This page is from my test from my repo:

I used testlispsyntaxjl in order to have available the lispsyntaxjl name.

swadey commented 8 years ago

take a look

Ismael-VC commented 8 years ago

It seems to be expecting Rest doc files, I think markdown is easier:

Please create a /home/docs/checkouts/readthedocs.org/user_builds/lispsyntaxjl/checkouts/latest/doc/index.rst or /home/docs/checkouts/readthedocs.org/user_builds/lispsyntaxjl/checkouts/latest/doc/README.rst file with your own content.

I could change the doc/index.md file to rst instead if you like. If you want to use the index.md file as is, you just have to confgure the project like this:

After that you should see the same result as in my test page, and every time a commit is merged readthedocs will auto generate and update the documentation website for us!