Skip to main content

Writing as a Dev

As a developer, you are responsible for documenting your project. You are the one to choose its content, write it, and keep it updated with every release of your software. The wiki maintainers and technical writers from IOTA Foundation will help you to coordinate the work, set up your project, and bring it to standard.

Make a Friend

Before you start, contact a technical writer. We could then take a look at your project, assess its state, give you an advice, and plan the work together. Reach out to us through the #iota-wiki Discord channel or, if you work at IOTA Foundation, the #dev-documentation Slack channel, Slack DMs or through e-mail.

Active technical writers:

  • Aleksei Korolev
  • Lucas Tortora

Prepare Your Repository

See Setting Up Documentation.

Write Documentation

There are four kinds of documentation. The reference can be generated automatically from inline comments in your code: say, with rustdoc, typedoc, javadoc, or pydoc. Tutorials are handled by the IOTA Foundation's DevX team. This leaves you with how to guides and explanation articles.

You do not have to write perfectly. It is a technical writer's job to produce a perfectly polished article. But we need to base our writing on something, and when it comes to a brand new feature or a code change, you momentarily become the world's only expert in it. Keep in mind your users prefer even a rough, flawed article over a blank page when you release your software. And it is much less work for technical writers to streamline your text a bit instead of doing our own research of your project.

Write Documentation As You Work

Documentation is not optional. If a feature is new and undocumented, then nobody knows that they can use it. This feature does not exist. If you change an existing feature and forget to update the documentation, then users will follow your instructions only to fail. From their point of view, you have introduced a bug. Documentation is fused with your code, and you should treat it as an inherent part of your job, in the same right as coding and testing is.

To help you help us, we have prepared a collection of tools and tips for those who write documentation. The naive approach to planning documentation is to create a separate ticket before every release, to treat documentation as one of the product's features. We would instead suggest your team to treat documentation as a mandatory part of every task:

Documentation as a part of every ticketDocumentation as a separate ticket
You have it listed for every feature by default.You can forget to create it.
You release the feature documented.Documentation tickets get deprioritized over other features and bug fixes. The documentation comes weeks later.
The polished version is in the works right away.TWs get involved at the last moment, shortly before a major version release.
You write it while it is fresh.You will have to recall every detail later.
You write one small piece at a time.You write in huge intimidating chunks.
You write regularly and build a habit.You write once every few months and you treat writing as an unpleasant odd job.

Further Reads

Once again, technical writers are here to help. To let us know that you got some work for us, see Request a Technical Writer.

Technical writers follow the full style guide, but we have prepared a single-page version of it for you.

We also keep a list of writing tools that might help you.