summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2017-03-10 09:46:07 +0100
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2017-03-10 08:57:21 +0000
commite67db17c0950163d185b0981e8f5ef023f64f792 (patch)
tree97d37941e68e120e0e5d78f3f02f9e37a27112b3
parent9c736b68f5db70a4db33e22204358d887d92b34f (diff)
downloadqt-creator-e67db17c0950163d185b0981e8f5ef023f64f792.tar.gz
Doc: Update documentation writing instructions
The location of the TOC file and the built documents has changed. Qt WebKit has been deprecated. Added a link to doc build instructions. Change-Id: I1718e1c706a7e3fd34d2fa44116c0d5631b50f5e Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r--doc/api/qtcreator-documentation.qdoc29
1 files changed, 18 insertions, 11 deletions
diff --git a/doc/api/qtcreator-documentation.qdoc b/doc/api/qtcreator-documentation.qdoc
index 8b70832e24..8d53f03bbe 100644
--- a/doc/api/qtcreator-documentation.qdoc
+++ b/doc/api/qtcreator-documentation.qdoc
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2016 The Qt Company Ltd.
+** Copyright (C) 2017 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Creator documentation.
@@ -68,8 +68,9 @@
QDoc finds the new topics automatically, when you place them as \c {.qdoc}
files in the correct folder. However, to make the topics accessible to
- readers, you must also add them to the table of contents and fix the next
- page and previous page links to them from other topics.
+ readers, you must also add them to the table of contents
+ (\c {doc\src\qtcreator-toc.qdoc}) and fix the next page and previous page
+ links to them from other topics.
\section2 Creating Folders and Files
@@ -110,9 +111,11 @@
commands to the topic, with dummy values (for example,
\c {\nextpage=anything.html}).
- \note The script creates the links according to the TOC on the front page.
- If your topics are not listed in the TOC, the script removes the
- \c {\nextpage} and \c {\previouspage} commands from them.
+ \note The script creates the links according to the TOC in the topic set as
+ the value of the \c indexTitle configuration parameter
+ (\c {doc\src\qtcreator-toc.qdoc}). If your topics are not listed in the TOC,
+ the script removes the \c {\nextpage} and \c {\previouspage} commands from
+ them.
To run the script, you must have Perl installed. If you build Qt yourself,
you should already have it. Otherwise, download and install
@@ -245,6 +248,11 @@
The error messages that QDoc issues are generally very useful for
troubleshooting.
+ For more information about setting up the build environment if you do not
+ want to build the whole Qt, see
+ \l{https://wiki.qt.io/Building_Qt_Documentation}{Building Qt Documentation}
+ on the Qt wiki.
+
The content and formatting of documentation are separated in QDoc.
The documentation configuration, style sheets, and templates have
changed over time, so they differ between Qt and \QC versions. Since \QC
@@ -266,9 +274,8 @@
running it on a web server.
\note If the styles look wrong to you when reading help files in \QC or \QA,
- you might be looking at them in the QTextBrowser instead of the WebKit
- browser. This happens if you build \QC and \QA with a self-built Qt and did
- not build Qt WebKit.
+ you might be looking at them in the QTextBrowser instead of the Qr WebEngine
+ browser. This happens if you do not have Qt WebEngine installed.
To build documentation for the sources from the qtcreator master branch, use
build scripts defined in the doc.pri file. To build all \QC docs in the
@@ -281,9 +288,9 @@
\li make docs (on Linux and \macos)
\endlist
- The \QC Manual HTML files are generated in the \c {doc/html} directory.
+ The \QC Manual HTML files are generated in the \c {doc/qtcreator} directory.
The Extending \QC Manual files are generated in the
- \c {doc/html-dev} directory. The help files (\c {.qch}) are generated in the
+ \c {doc/qtcreator-dev} directory. The help files (\c {.qch}) are generated in the
\c {share/doc/qtcreator} directory in the \QC build directory on Windows and
Linux, and in the \c {bin/Qt Creator.app/Contents/Resources/app} directory
on \macos. You can view the HTML files in a browser and the help files in