DEV Community

loading...

Discussion on: What is a good documentation for you and what tools do you use?

Collapse
leoat12 profile image
Leonardo Teteo Author

Confluence is the one we at my company are using right now, but I don't know, I personally thinks that the documentation has to be along with the code to avoid people not updating them. When it is not there in the IDE devs will hardly remember them. I don't.

Collapse
sunk818 profile image
sunk818

Code comments is an entirely differently discussion as is readable code. While I agree with your point, I rarely meet devs that like to document. They are called technical writers for a reason and not devs.

Thread Thread
leoat12 profile image
Leonardo Teteo Author

I didn't mean that the docummentation should be comments in code, it would be in the same repository, like markdown or asciidoc files, that would be written while in development and then built along with the code to a convenient format. It is unfortuante because there is no better person to know what they meant by the code than developers.

Thread Thread
sunk818 profile image
sunk818

Do you have an example of this where someone writes separate documentation alongside their code? What purpose would it serve and who is the audience that would need to read it? If a dev is writing for another dev, documentation in the repo works great. If the audience is non-technical, I'd question if that's the best way to communicate documentation. I work at a non-profit and I'm constantly in meetings "translating" between the developer and project sponsor.

Markdown is natively supported in GitHub, so I'd prefer it... but for more complex documents, AsciiDoc looks cool with an online converter like gist.asciidoctor.org/ :)

Thread Thread
leoat12 profile image
Leonardo Teteo Author

The documentation would be made along the repository, but it would be available on a website, if any person wanted to read it, that's what I envision. AsciiDoc is also supported by Github and along with Asciidoctor you can convert it to HTML with a great layout and make it available where it is convenient. It would be for mostly techinical people, developers and IT support personel.