Skip to content

Add Example Code #33

Open
Open

Description

@Shelob9

These docs could really use more example code. Each endpoint should at a minimum have examples for using the WordPress HTTP API, jQuery AJAX & the js-client.

I'd be happy to do most of this, of course. I will need some help on the js-client, but the other ones I already have for the most part.

If this idea is welcome, please let me know and where it should go and I'll work on some PRs.

Activity

  1. pollyplummer commented on Oct 31, 2014

    @pollyplummer
    Member

    Example code would be awesome. The Flatdoc skin we're using has some markdown extras that allow for syntax highlighting, in case you need some help with formatting: http://ricostacruz.com/flatdoc/#flatdoc-markdown-extras

  2. Shelob9 commented on Nov 1, 2014

    @Shelob9
    ContributorAuthor

    @pollyplummer Glad you like the idea. Where would they go in this repo? It would be great if there was a clutter-free way to do them inline with the docs for the endpoints. Alternatively we could have a subfolder for them. If so, would we want one file per route, or one file per endpoint? In either case how do we separate by language?

  3. added a commit that references this issue on Nov 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions