• Cr4yfish
    link
    English
    4111 months ago

    I just wished the Lemmy API docs were better lol.

    • @[email protected]
      link
      fedilink
      English
      2611 months ago

      Yeah, that’s a problem with a lot of FOSS passion projects. We devs kinda like writting code, but not really documenting it. Hopefully with the influx of devs helping that will improve

      • @danc4498
        link
        English
        8
        edit-2
        11 months ago

        More devs that don’t want to write code?

        Edit: damn, meant to say write documentation. We only want to code!

        • @[email protected]
          link
          fedilink
          English
          411 months ago

          Well, more devs that have to sit down and figure out how the code works and then document it for future new devs

      • @[email protected]
        link
        fedilink
        English
        411 months ago

        It’s a pretty major pain point for a lot of local libraries, too. I’m so glad I have the option to dig through the source code of functions if I can’t figure them out.

      • @[email protected]
        link
        fedilink
        English
        411 months ago

        I don’t really like all the LLM hype, but I’m hoping that documentation will eventually be generated by some open source model, with human verification

      • tool
        link
        fedilink
        English
        311 months ago

        I think that this line of reasoning becomes less and less tenable when things like Swagger exist.

      • @c0c0c0
        link
        English
        311 months ago

        Maybe we’ll eventually get the corresponding influx of tech writers.

    • tool
      link
      fedilink
      English
      1611 months ago

      I just wished the Lemmy API docs were better lol.

      Finnegans Wake makes more sense than Lemmy API docs. Even calling it “documentation” is a stretch.

      I literally had to clone the Lemmy git repo and read the source code to find the implementation of an API endpoint and see how it worked for a script that I was writing.

    • @Fauzruk
      link
      English
      1011 months ago

      These days the standard is to create an API Doc out of a OpenAPI document generated from the code itself. Someone will probably contribute to it at some point.