Category:Developing Qt::Documentation: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Add 'docs as code' remark, add tip to use ' git grep' to locate documentation in source code.)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Developing Qt]]
[[Category:Developing Qt]]


Qt documentation is written by a small global team of technical writers and developers working at The Qt Company, complemented by a number of contributors from other parts of the Qt community. Since different parts of Qt are developed in different locations, writers with expertize in a particular area are typically co-located with the developers of that area. For example, the documentation for Qt Creator is written in Berlin.
Qt documentation is written by a small global team of technical writers and developers working at The Qt Company, complemented by a number of contributors from other parts of the Qt community. Since different parts of Qt are developed in different locations, writers with expertise in a particular area are typically co-located with the developers of that area. For example, the documentation for Qt Creator is written in Berlin.


Qt's technical writers are also responsible for many of the examples provided with Qt and related projects. However, the demonstrations provided with these projects are typically created by developers, and these are often not intended to be documented or supported by the Qt documentation team.
Qt's technical writers are also responsible for many of the examples provided with Qt and related projects. However, the demonstrations provided with these projects are typically created by developers, and these are often not intended to be documented or supported by the Qt documentation team.
Line 16: Line 16:


==Contributing to Qt Documentation==
==Contributing to Qt Documentation==
Qt Project follows a 'docs as code' approach. That is, the documentation is maintained in the form of markup (qdoc), and is maintained
alongside the source code of the Qt modules and tools it is describing, using the same version control system and a similar
[[Qt Contribution Guidelines | contribution process]].


===Prerequisites===
===Prerequisites===
Line 25: Line 29:
#[[Get_The_Source | Download]] the Qt sources.
#[[Get_The_Source | Download]] the Qt sources.
#Read the page regarding [[Code_Reviews | code reviews]].
#Read the page regarding [[Code_Reviews | code reviews]].
#Start by contributing small fixes. Don't hesitate to ask for help!


===Style and Language Guidelines===
===Style and Language Guidelines===
Line 36: Line 41:
reference documentation.
reference documentation.


*[http://doc-snapshots.qt.io/qt5-dev/qdoc-index.html QDoc Manual]
*[http://doc-snapshots.qt.io/qt6-dev/qdoc-index.html QDoc Manual]


To get started, the [http://doc.qt.io/qt-5/qdoc-guide.html QDoc Guide] explains how QDoc generates documentation from QDoc comments.
To get started, the [http://doc.qt.io/qt-5/qdoc-guide.html QDoc Guide] explains how QDoc generates documentation from QDoc comments.
Line 51: Line 56:


The process for submitting a documentation patch is the same as for source code. For more information, read the [[Code_Reviews | Code Reviews]] page.
The process for submitting a documentation patch is the same as for source code. For more information, read the [[Code_Reviews | Code Reviews]] page.
Tip: Use [https://git-scm.com/docs/git-grep git grep] to find the file and line where existing documentation is maintained.


====Approvers and Editors====
====Approvers and Editors====
Line 57: Line 64:


*[[User:Andreaseliasson|Andreas Eliasson]]
*[[User:Andreaseliasson|Andreas Eliasson]]
*Esa Törmänen (Qt for MCU documentation)
*Inkamari Harjula (Boot2Qt documentation)
*[[User:Jaishreevyas|Jaishree Vyas]] (Qt Foundations)
*[[User:Jaishreevyas|Jaishree Vyas]] (Qt Foundations)
*[[User:Johannavanhatapio|Johanna Vanhatapio]] (Qt Design Studio)
*[[User:Johannavanhatapio|Johanna Vanhatapio]] (Qt Design Studio documentation)
*[[User:Leenamiettinen|Leena Miettinen]] (Qt Creator documentation maintainer)
*[[User:Leenamiettinen|Leena Miettinen]] (Qt Creator documentation maintainer)
*[[User:Lucadisera|Luca Di Sera]]
*[[User:Lucadisera|Luca Di Sera]]
*[[User:Matshonkamaa|Mats Honkamaa]] (Qt Design Studio)
*[[User:Matshonkamaa|Mats Honkamaa]] (Qt Design Studio documentation)
*[[User:Nicholasbennet|Nicholas Bennet]] (Platform documentation)
*[[User:Nicholasbennet|Nicholas Bennet]] (Platform documentation)
*[[User:Paulwicking|Paul Wicking]]
*[[User:Paulwicking|Paul Wicking]]
*Pranta Dastider (Qt Design Studio  documentation)
*Safiyyah Moosa
*[[User:Topireinio|Topi Reiniö]] (QDoc maintainer)
*[[User:Topireinio|Topi Reiniö]] (QDoc maintainer)
*[[User:Venugopalshivashankar|Venugopal Shivashankar]]
*[[User:Venugopalshivashankar|Venugopal Shivashankar]]

Latest revision as of 14:01, 15 April 2024


Qt documentation is written by a small global team of technical writers and developers working at The Qt Company, complemented by a number of contributors from other parts of the Qt community. Since different parts of Qt are developed in different locations, writers with expertise in a particular area are typically co-located with the developers of that area. For example, the documentation for Qt Creator is written in Berlin.

Qt's technical writers are also responsible for many of the examples provided with Qt and related projects. However, the demonstrations provided with these projects are typically created by developers, and these are often not intended to be documented or supported by the Qt documentation team.

The documents in this category aim to cover the many aspects of Qt documentation creation, including the process we use to accept contributions from other community members.

Documentation Snapshots

Currently, Qt documentation is hosted at three sites:

Contributing to Qt Documentation

Qt Project follows a 'docs as code' approach. That is, the documentation is maintained in the form of markup (qdoc), and is maintained alongside the source code of the Qt modules and tools it is describing, using the same version control system and a similar contribution process.

Prerequisites

Here are the basic steps to help you get started contributing to the Qt documentation:

  1. Familiarize yourself with the development process. In particular, the process of contributing code.
  2. Create a Jira account and set up your Gerrit environment.
  3. Download the Qt sources.
  4. Read the page regarding code reviews.
  5. Start by contributing small fixes. Don't hesitate to ask for help!

Style and Language Guidelines

Qt documentation adheres to the Microsoft Style Guide. The documentation follows American English grammar and spelling.

The Language Guidelines page provides further information about idioms and usage, punctuation and grammar issues.

QDoc

Qt's documentation tool is QDoc. QDoc scans through the source and generates html pages regarding the classes, enums, QML types, and other parts of the reference documentation.

To get started, the QDoc Guide explains how QDoc generates documentation from QDoc comments.

QDoc Regression Testing

Category:Writing Guidelines

Submitting a Patch

The process for submitting a documentation patch is the same as for source code. For more information, read the Code Reviews page.

Tip: Use git grep to find the file and line where existing documentation is maintained.

Approvers and Editors

For language reviews, documentation reviews, and technical reviews, you may add any of the relevant maintainers as reviewers as well as the following individuals:

For language reviews (particularly for non-native English speakers) only, you may also add any of the following individuals:

For documentation help, join the #qt-documentation channel in Freenode.

Filing Documentation Issues

Anybody with a Jira account may file a bug. For documentation bugs, please file the issue and enter Documentation AND the relevant library or module in the Component field. The process of fixing code bugs also apply to documentation issues.

Before filing an issue, please check that it has not already been fixed in a later version of the documentation. The latest documentation snapshots are at doc-snapshots.qt.io

Modular Qt Documentation

The organization and development of modular Qt documentation is covered in another wiki: Qt5DocumentationProject

Documentation Structure

The Qt Documentation Structure page provides information about the structure of the documentation.

Subcategories

This category has only the following subcategory.

Pages in category "Developing Qt::Documentation"

The following 4 pages are in this category, out of 4 total.