Code Monkey home page Code Monkey logo

Comments (3)

kentonv avatar kentonv commented on July 3, 2024 1

A bit blunt but some fair points, we really ought to be generating API reference docs more systematically, starting from our TypeScript types, probably even generated from doc comments in those types (so that vscode tooltips can also show the same docs, etc.).

Of course you still need human judgment to decide what details need to be covered in the description (e.g. "does delete throw an exception if the key doesn't exist?") but with more auto-generated docs it'll be easier to get the core developers to take ownership of such content, whereas today the reference docs tend to be owned by the same people that write the overview docs and design the overall organization of the site. I think core developers are the best people to write API reference docs, but often not the best people to write overviews.

from cloudflare-docs.

crwaters16 avatar crwaters16 commented on July 3, 2024

Quick note on the API reference docs - those live here: https://developers.cloudflare.com/api and are generated from our schemas. We're also working with our internal teams to help improve the API reference descriptions that get written so they're easy to read and understandable.

I know it doesn't solve all of your problems, and it sucks that the reference docs aren't where you may've expected to find them. The docs team is working to bring a tighter integration between our long-form content and the API reference so this experience gets better.

from cloudflare-docs.

kentonv avatar kentonv commented on July 3, 2024

@crwaters16 This user is complaining specifically about the Workers JavaScript runtime APIs, not the Cloudflare control plain REST API. The Workers runtime APIs unfortunately do not have auto-generated documentation today.

from cloudflare-docs.

Related Issues (20)

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.