QtLandingPage: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Add "cleanup" tag)
(Convert ExpressionEngine links)
Line 12: Line 12:
The page name of the landing name should be '''<module>-index.html*
The page name of the landing name should be '''<module>-index.html*


For example, Qt SQL's "landing page":http://doc.qt.io/qt-5.0/qtsql/qtsql-index.html is in a file in
For example, Qt SQL's [http://doc.qt.io/qt-5.0/qtsql/qtsql-index.html landing page] is in a file in
''qtbase/src/sql/qtsql.qdoc''
''qtbase/src/sql/qtsql.qdoc''
<code>
<code>
Line 36: Line 36:


For examples of a landing page:
For examples of a landing page:
* "Qt SQL":http://doc-snapshot.qt.io/5.0/qtsql-index.html
* [http://doc-snapshot.qt.io/5.0/qtsql-index.html Qt SQL]
* "Qt Network":http://doc-snapshot.qt.io/5.0/qtnetwork-index.html
* [http://doc-snapshot.qt.io/5.0/qtnetwork-index.html Qt Network]


h2. Related Pages
h2. Related Pages

Revision as of 15:26, 4 March 2015

This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine.
Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean.

h1. Qt Landing Pages

Each module requires a landing page. These landing pages act as a hub, containing a list of relevant information for the reader. The reader should not spend much time in this page, but simply find the necessary link or information he or she needs.

Required components:

  • Title

The title should list the module name. For example, Qt Quick or Qt Core.

The page name of the landing name should be <module>-index.html*

For example, Qt SQL's landing page is in a file in qtbase/src/sql/qtsql.qdoc

 qtsql-index.html
 t SQL
 A module that provides a driver layer, SQL API layer, and a user
 interface layer for SQL databases.
  • Brief description

The brief description is short information on what features the module provides

  • Module overview

The module overview section lists the features, frameworks, submodules, or other things that the module presents. A good style would be to present the module as a solution to a problem. For example, "Qt Quick provides QML types for …" is a good description. Note that this section does not need a section title.

  • Getting Started Instructions on how to use the module. A small section on how to use the C++ classes or QML types should be listed. This is

important for the reader to know how to link to the module or how to include classes.

  • Reference section

The reference section contains a list articles, C++ classes, QML types, or examples.

For examples of a landing page:

h2. Related Pages

Qt 5 Documentation Structure - how the documentation files are structured in a module