Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discuss
  3. Using AI to write docs

Using AI to write docs

Scheduled Pinned Locked Moved Discuss
12 Posts 9 Posters 162 Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic was forked from What's coming in Cloudron 10 girish
This topic has been deleted. Only users with topic management privileges can see it.
  • P p44

    @nottheend @girish

    @nottheend said:

    In the network UI, there is a setting called "VPN protection". First enable the feature and select how to route the client traffic.

    This is a great feature. I hope it can be documented more thoroughly, to better understand how to benefit from it in all use cases and scenarios.

    L
    L
    LoudLemur
    wrote last edited by
    #1

    @p44 said:

    . I hope it can be documented more thoroughly

    What do you think about ai being used to create documentation?

    P 1 Reply Last reply
    3
    • nottheendN
      nottheendN
      nottheend
      wrote last edited by
      #2

      If you don't know what to write you can also not use AI. AI has a tendency to hallucinate and to blow up the text. If one accepts these downsides and the benefit of writing text faster is outweighing it, it may be a tool of choice.
      Alternatively you can also integrate more deeply in your workflow...

      But the question is very generic. AI can be seen as a tool in this context and I feel such fundamental discussions should happen somewhere else.

      d19dotcaD 1 Reply Last reply
      3
      • nottheendN nottheend

        If you don't know what to write you can also not use AI. AI has a tendency to hallucinate and to blow up the text. If one accepts these downsides and the benefit of writing text faster is outweighing it, it may be a tool of choice.
        Alternatively you can also integrate more deeply in your workflow...

        But the question is very generic. AI can be seen as a tool in this context and I feel such fundamental discussions should happen somewhere else.

        d19dotcaD
        d19dotcaD
        d19dotca
        wrote last edited by
        #3

        @nottheend In my experience, if AI has access to the source code, it can easily write tests to verify it's own accuracy which greatly reduces the hallucinations. And combined with a frontier model like Astra or Fable (overkill for documentation but just saying...) the accuracy is likely very high.

        I only say it because I do tend to do writing and documentation for technical products as a small part of my job, and ever since giving it access to product source code, the accuracy of its responses has been significantly better.

        Agree though that AI isn't necessary, especially if the people writing the documentation are the ones developing the product in the first place (which is the case with Cloudron), because they'll know better than pretty much everyone what the intention is and how something is meant to work. AI can still be useful though, as it can help spot errors, find better ways to write things, ensure written consistency across all the documentation, etc.

        Just my two cents. 🙂

        --
        Dustin Dauncey
        www.d19.ca

        1 Reply Last reply
        6
        • girishG
          girishG
          girish
          Staff
          wrote last edited by girish
          #4

          I made a separate topic out of this @loudlemur to not mix with the release thread.

          I am with @nottheend, I use AI as a tool extensively, but I also find it needlessly verbose. It's not my style and I don't like docs which are wordy. In fact, I would rather sacrifice accuracy for readability (I know, this is maybe controversial for technical documentation). If the Cloudron docs don't follow this, it's only because I am not a technical writer like @d19dotca 🙂

          For Cloudron docs, I prefer to handwrite them since it helps me doublecheck the features, the UI/text etc. I also write the blog, forum post and newsletter in parallel altogether. Writing helps me think clearly, and I can communicate and discuss any gaps in the features with the team.

          humptyH 1 Reply Last reply
          11
          • U
            U
            umnz
            wrote last edited by
            #5

            Also, there's no reason you can't ask AI to critique your work objectively with recommendations and suggestions. At least that way you're still using your braincells and you actually form corrective paths as you fix what may have been wrong.

            1 Reply Last reply
            0
            • L LoudLemur

              @p44 said:

              . I hope it can be documented more thoroughly

              What do you think about ai being used to create documentation?

              P
              P
              p44
              translator
              wrote last edited by
              #6

              @LoudLemur Thanks for this interesting question. It could be ok to draft docs by hand, then refine and polish with AI...

              AI is too much verbose, as @girish noted....

              1 Reply Last reply
              2
              • L
                L
                LoudLemur
                wrote last edited by
                #7

                I think AI for documentation is a strong way forward and I hope Cloudron experiments with it. A clear template works wonders for having the AI conform to a standard style of presentation. The burden falls on creating/finding an exemplary model which the AI can follow, and then providing a couple of iterations to tweak it with some human feedback.

                Readability was mentioned by @girish. We naturally assume human readability is meant here, and that is important. In the future, increasingly larger amounts of code will be created, debugged, documented and maintained by AI. (We think of this as being AI-Forward.) The distinction between documentation and code is becoming blurred, as AI coders are using the documentation as instructions. We should consider AI agents as part of the readership and perhaps consider them as 1st Class Citizens (!), when we create documentation.

                We have been investigating this area and to keep discussion going, here are 6 suggestions for making documentation better suited for AI.

                (SPOILER ALERT - Shield your eyes, this is AI generated!)

                Six things that make docs genuinely useful to AI

                • One document, one job. Tutorial, how-to, reference, or explanation — never mixed. A page that switches modes halfway retrieves badly and gets summarised wrong.

                • Put the metadata at the top. Title, purpose, audience, status, and last-updated date in a header block. This is what lets a tool decide whether the page is relevant before reading it.

                • Say the context out loud. Prerequisites, assumptions, and where this sits relative to everything else. A model has no hallway to ask in — anything "everyone knows" is invisible to it.

                • Write in self-contained chunks. Descriptive headings, one idea per section, no "as mentioned above". Retrieval hands over fragments, not whole documents, so each fragment has to stand alone.

                • Be exact and executable. Real file paths, real commands, real values — no placeholders, no "adjust as needed". Anything ambiguous gets guessed, and a confident wrong guess costs more than a gap.

                • Don't restate what the source already says. Directory trees, function signatures, and config keys are read directly and go stale fast. Document the why — intent, constraints, dead ends — which is the part nothing else records.

                The last one is usually the least intuitive to a room and the highest-leverage: most teams' docs are ~40% restated structure that the tool would rather read from the source anyway.

                1 Reply Last reply
                0
                • L
                  L
                  LoudLemur
                  wrote last edited by LoudLemur
                  #8

                  Here is our AIo repo:

                  https://forgejo.wanderingmonster.dev/WanderingMonster/AIo

                  We spent a lot of time on considering how to document our projects taking into account AI.

                  It is easiest to try with a greenfield (new) coding project, but the AIo spec also shows how to introduce it to a brownfield (pre-existing) project, too.

                  We hope you like the cool artwork and might like to try using some of the procedures there. We have been working on this for half a year or so.

                  timconsidineT 1 Reply Last reply
                  0
                  • timconsidineT
                    timconsidineT
                    timconsidine
                    App Dev
                    wrote last edited by
                    #9

                    I'm mostly with @nottheend, @girish and others, although I do see some role, PROVIDING the model is given a really tight brief (prompt) on format, style etc.
                    Almost every instruction I give to AI includes "be very concise".

                    Indie app dev, huge fan of Cloudron PaaS, scratching my itches : communityapps.appx.uk

                    1 Reply Last reply
                    1
                    • L LoudLemur

                      Here is our AIo repo:

                      https://forgejo.wanderingmonster.dev/WanderingMonster/AIo

                      We spent a lot of time on considering how to document our projects taking into account AI.

                      It is easiest to try with a greenfield (new) coding project, but the AIo spec also shows how to introduce it to a brownfield (pre-existing) project, too.

                      We hope you like the cool artwork and might like to try using some of the procedures there. We have been working on this for half a year or so.

                      timconsidineT
                      timconsidineT
                      timconsidine
                      App Dev
                      wrote last edited by timconsidine
                      #10

                      @LoudLemur very interesting - will explore later.
                      Just brief relevant comment :


                      Read SPEC.md. It is short.

                      OK, sure, I will do that.
                      Wait, it's 5,414 words !!
                      And a lot of what it says is already said in the repo README.
                      So I end up scan-reading, scan-scrolling, looking for new information that I don't have already. Eventually give up, no appetitie to explore further, which is silly, because there could be some gems.


                      I'm not picking a fight, I respect what you're doing and always interested in your explorations, but I think this is an almost perfect example of AI verbosity, repetition and lack of clarity, which earlier comments hinted at. If anything, I would say it proves why AI should NOT be used for documentation, at least not in this way, and why hand-crafting technical docs is the more reliable approach.

                      Indie app dev, huge fan of Cloudron PaaS, scratching my itches : communityapps.appx.uk

                      1 Reply Last reply
                      3
                      • girishG girish

                        I made a separate topic out of this @loudlemur to not mix with the release thread.

                        I am with @nottheend, I use AI as a tool extensively, but I also find it needlessly verbose. It's not my style and I don't like docs which are wordy. In fact, I would rather sacrifice accuracy for readability (I know, this is maybe controversial for technical documentation). If the Cloudron docs don't follow this, it's only because I am not a technical writer like @d19dotca 🙂

                        For Cloudron docs, I prefer to handwrite them since it helps me doublecheck the features, the UI/text etc. I also write the blog, forum post and newsletter in parallel altogether. Writing helps me think clearly, and I can communicate and discuss any gaps in the features with the team.

                        humptyH
                        humptyH
                        humpty
                        wrote last edited by
                        #11

                        @girish FWIW, I've always found the Cloudron docs straightforward and easy to follow with no fluff. TYVM!

                        1 Reply Last reply
                        6
                        • robiR
                          robiR
                          robi
                          wrote last edited by
                          #12

                          A YT guy always ends his prompts with ".., answer in short."

                          Conscious tech

                          1 Reply Last reply
                          1

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Bookmarks
                          • Search