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.

QtLandingPage: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
h1. Qt Landing Pages
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<br />spend much time in this page, but simply find the necessary link or information he or she needs.
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:<br />* '''Title'''<br />The title should list the module name. For example, Qt Quick or Qt Core.
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*
The page name of the landing name should be '''<module>-index.html*
<br />For example, Qt SQL's "landing page":http://doc.qt.io/qt-5.0/qtsql/qtsql-index.html is in a file in<br />''qtbase/src/sql/qtsql.qdoc''<br /><code><br /> qtsql-index.html<br /> t SQL<br /> A module that provides a driver layer, SQL API layer, and a user<br /> interface layer for SQL databases.<br /></code>
 
<br />* '''Brief description'''<br />The brief description is short information on what features the module provides
For example, Qt SQL's "landing page":http://doc.qt.io/qt-5.0/qtsql/qtsql-index.html is in a file in
<br />* '''Module overview'''<br />The module overview section lists the features, frameworks, submodules, or other things that the module presents.<br />A good style would be to present the module as a solution to a problem. For example,<br />"Qt Quick provides QML types for …" is a good description. Note that this section does not need a section title.
''qtbase/src/sql/qtsql.qdoc''
<br />* '''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<br />important for the reader to know how to link to the module or how to include classes.
<code>
<br />* '''Reference section'''<br />The reference section contains a list articles, C++ classes, QML types, or examples.
qtsql-index.html
<br />For examples of a landing page:<br />* "Qt SQL":http://doc-snapshot.qt.io/5.0/qtsql-index.html<br />* "Qt Network":http://doc-snapshot.qt.io/5.0/qtnetwork-index.html
t SQL
<br />h2. Related Pages
A module that provides a driver layer, SQL API layer, and a user
<br />* [[Qt5DocumentationProject | Qt 5 Documentation Project]]- information and statuses of the Qt modules<br />''' [[Qt_Documentation_Structure | Qt 5 Documentation Structure]] - how the documentation files are structured in a module
interface layer for SQL databases.
</code>
 
* '''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:
* "Qt SQL":http://doc-snapshot.qt.io/5.0/qtsql-index.html
* "Qt Network":http://doc-snapshot.qt.io/5.0/qtnetwork-index.html
 
h2. Related Pages
 
* [[Qt5DocumentationProject | Qt 5 Documentation Project]]- information and statuses of the Qt modules
''' [[Qt_Documentation_Structure | Qt 5 Documentation Structure]] - how the documentation files are structured in a module

Revision as of 12:21, 25 February 2015

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":http://doc.qt.io/qt-5.0/qtsql/qtsql-index.html 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