Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use API Blueprint for documentation and include aglio generation #14

Merged
merged 1 commit into from
Jul 21, 2016

Conversation

ArthurHoaro
Copy link
Member

@ArthurHoaro ArthurHoaro commented Jul 16, 2016

I've rewritten the API doc using the API Blueprint specification, including @nodiscc proposition from #1.

I've also added the aglio HTML generation for more readability.
Note that the HTML generation is a piece of cake, and could easily be added in the makefile later:

npm install -g aglio
aglio -i api-documentation.md -o api-documentation.html

Any feedback appreciated.

@virtualtam
Copy link
Member

Is it possible to automate HTML generation and hosting? This could be as simple as creating a GH Pages project site for the API and switching to a gh-pages branch on this repo.

@virtualtam virtualtam changed the title Use API Blueprint for documentation and include algio generation Use API Blueprint for documentation and include aglio generation Jul 16, 2016
@ArthurHoaro
Copy link
Member Author

I never used GH pages, but Travis supports NodeJS, so I guess it is possible.

@virtualtam
Copy link
Member

Yup, this way we can:

  • push Markdown API docs to master
  • let Travis generate the static HTML and push it to gh-pages
  • profit!

@kalvn
Copy link

kalvn commented Jul 18, 2016

I didn't know this API Blueprint + aglio process but it looks good.

I already used RAML + raml2html generators but I don't know which one can be considered as the most "standard".

@ArthurHoaro
Copy link
Member Author

I've used swagger which looks similar (YAML syntax). However, I was looking for something based on Markdown, to be coherent with Shaarli's documentation.

@ArthurHoaro ArthurHoaro merged commit f787212 into master Jul 21, 2016
@nodiscc nodiscc deleted the api branch August 19, 2023 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants