Giter VIP home page Giter VIP logo

apiblueprint.org's Introduction

API Blueprint Website

Usage

To be able to build and view the website locally, you will first need to install its dependencies:

$ bundle install

Preview Website

Using middleman, you can run a development server which will live-build the API Blueprint website.

$ bundle exec rake

Adding a new tool

Open the file data/tools.yaml and add a new entry for your tool.

$ cat << 'EOF' >> data/tools.yaml
- name: Hyperdrive
  summary: Hyperdrive allows you to build Swift applications that can evolve at run-time powered by API Blueprint.
  url: https://github.com/the-hypermedia-project/Hyperdrive
  tags:
    - client
EOF

Deployment

Circle CI will automatically deploy any changes made to master directly to GitHub pages.

apiblueprint.org's People

Contributors

aalykiot avatar abtris avatar charly-palencia avatar chris48s avatar dependabot[bot] avatar dmitiry1921 avatar honzajavorek avatar kattrali avatar kylef avatar m165437 avatar o5 avatar p8ul avatar patricksmms avatar philipbrown avatar phillippohlandt avatar pksunkara avatar saifulwebid avatar sandeep89 avatar smillerdev avatar snyk-bot avatar stackia avatar swathysubhash avatar tjanc avatar tjerabek avatar tkrisztian95 avatar tuwilof avatar vitormattos avatar w-vi avatar zakcodes avatar zdne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apiblueprint.org's Issues

Tools section broken

screen shot 2016-09-19 at 09 11 45

The tools section worked just fine last week, but now it does not contain any tags except Tools and doesn't contain any tool.

This bug has been reproduced under Chrome OSX as well as Firefox Ubuntu.

Could it be because of a format error here :

tools.yaml

name: doc-proxy
  summary: Node server to generate documentation.md file for all the endpoints supported by your server
  url: https://github.com/sandeep89/doc-proxy
  tags:[]

There is no space between the tags variable and its value.

Official website defined DOCTYPE twice

The tutorial webpage seems to be including a DOCTYPE and html body several times. Seems like other every page is having the same issue, but I only checked a few.

<div class="col-md-9 text" role="main">
  <h2>API Blueprint Tutorial</h2>
  <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
  <html><body>
  <p>Welcome to an API Blueprint Tutorial! This tutorial will take you through the basics of the API Blueprint language. We’re going to build an API blueprint

image

I discovered that by trying to crawl the website (to submit a PR to incorporate DocSearch to the doc). As it's invalid HTML markup, it made the HTML parser fail :)

Better Page Titles

There are very simple title tags, e.g. <title>Support</title>. We should provide at least something like <title>Support | API Blueprint</title>.

Brackets in action

Let's assume endpoint and action

## Avatar [/me/avatar]
### New (update) avatar [POST]

this won't show in rendered documentation unless we remove the brackets.

## Avatar [/me/avatar]
### New update avatar [POST]

Sorry if that is a wrong repository to file an issue of that kind.

Double-encoding of url query parameters

In our apiary.io documentation http://docs.g2crowdapi.apiary.io/# we have one endpoint defined as such: /v1/products{?filter%5Bquery%5D,page%5Bnumber%5D,page%5Bsize%5D}

The problem is that when testing the endpoint in the console, the query parameters are encoded again which in turn submits a different request than desired.

Meta documentation

For a documentation standard, it sure was incredibly difficult to figure out the spec. (Your documentation is limited, and the GitHub interface was clunky as it overrides your files with MD previews which make it hard to read).

I would be interested in contributing to an initiative to build out the documentation more. Unfortunately I don't have the time/energy to lead that initiative, and I'm sure it's on a roadmap somewhere for you, but making it public may be worthwhile.

Side note, there's also some decent discussion at thoughtbot/guides#365 right now, and while APIary and APIBlueprint have some current shortcomings, I think it would be worthwhile for consideration into that discussion. I believe the current spec of choice is JSONapi.

Tool Apib::MockServer doesn't exist anymore

This link on your mock servers page seems to not exist anymore. It was a mock server. I looked on the page of the group who owned the tool, and they seem to have completely deleted it. I tried looking for a tool with a similar name on GitHub and still didn't find it.

Add analytics

Would be great if we tracked page views for apiblueprint.org somewhere.

I think Google Analytics should be used according to documentation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.