Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

Qt5DocumentationProject: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Convert ExpressionEngine section headers)
(Gather writing guidelines into a category)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Cleanup | reason=Auto-imported from ExpressionEngine.}}
[[Category:Writing Guidelines]]
{{DISPLAYTITLE:Qt5 Documentation Renewal Project}}


= The Qt 5 Documentation Renewal Project =
We are working on restructuring and renewing and fixing the Qt Reference Documentation for the Qt 5 release. This consists of several parts:
We are working on restructuring and renewing and fixing the Qt Reference Documentation for the Qt 5 release. This consists of several parts:


Line 19: Line 19:
These are important resources for contributing to or working with the documentation.
These are important resources for contributing to or working with the documentation.
* [[Checklist for Adding Documentation for a New Module | Adding Documentation to a New Module]]
* [[Checklist for Adding Documentation for a New Module | Adding Documentation to a New Module]]
* [[Documentation | Qt Documentation Wiki]] - the main Documentation wiki which contains style information and contribution details
* [[Writing_Qt_Documentation | Qt Documentation Wiki]] - the main Documentation wiki which contains style information and contribution details
* [http://doc-snapshot.qt.io/qt5-stable/qdoc/qdoc-index.html QDoc Manual] - contains a guide to QDoc as well as information about C++ and QML commands
* [http://doc-snapshots.qt.io/qt5-dev/qdoc-index.html QDoc Manual] - contains a guide to QDoc as well as information about C++ and QML commands
* [[Qt_Documentation_Structure | Documentation Structure]] page contains a map of how the directory structure of a repository or module should be
* [[Qt_Documentation_Structure | Documentation Structure]] page contains a map of how the directory structure of a repository or module should be
* [[Building_Qt_Documentation | Building Qt Documentation]] - outlines how to build the documentation for Qt 5 and for each module
* [[Building_Qt_Documentation | Building Qt Documentation]] - outlines how to build the documentation for Qt 5 and for each module
* [[QtWritingGuidelines | Qt Writing Guidelines]]
* [[QtWritingGuidelines | Qt Writing Guidelines]]
* [http://doc-snapshot.qt.io/ http://doc-snapshot.qt.io/] - the documentation snapshot
* [http://doc-snapshots.qt.io/ http://doc-snapshot.qt.io/] - the documentation snapshot


== API Documentation in Qt 5 ==
== API Documentation in Qt 5 ==
Line 34: Line 34:
* qml type list (command)
* qml type list (command)


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


== Overview Documentation ==
== Overview Documentation ==

Latest revision as of 15:47, 25 November 2016


We are working on restructuring and renewing and fixing the Qt Reference Documentation for the Qt 5 release. This consists of several parts:

  • API documentation: C++ API, QML API, and JavaScript related functions
  • Examples and example documentation: shows how the API are used
  • Overviews: explains the architecture and features of Qt

Changes from Qt 4 to Qt 5

Here is a brief summary of the important changes in the Qt 5 documentation:

  • QDoc's binary is now qdoc whereas in Qt 4, the binary is called qdoc3
  • The documentation is modularized. This means that the documentation for each module resides in their respective source directories. The directory doc/src is no longer used to contain overviews and API documentation
  • The Qt modules will have their own pages and they may be treated as separate projects with different release schedules.

Important Resources

These are important resources for contributing to or working with the documentation.

API Documentation in Qt 5

Essentially, each module needs:

  • landing page (using the command) see specifications
  • example page
  • c++ class list (using the command)
  • qml type list (command)

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

Overview Documentation

Overviews describe a functionality, a group of APIs, and the technology in Qt. These overviews help developers decide which feature or API suits them best and helps them understand how the API cooperate within Qt and their applications.

For Qt 5, many of the overviews are being edited and rewritten for correctness and relevancy.

Example documentation

Examples have two components:

  • code - must compile and be delivered to the SDK. The .pro files must exist and SDK users must be able to compile them
  • documentation - the documentation walks through the example code. This page is created by QDoc's ' topic command

A brief list of the tasks: