diff options
author | Martin Smith <martin.smith@nokia.com> | 2011-03-28 08:07:09 (GMT) |
---|---|---|
committer | Martin Smith <martin.smith@nokia.com> | 2011-03-28 08:07:09 (GMT) |
commit | 921896ab2b5f2ad6be547fbac532914c8f35c80b (patch) | |
tree | ab13f2e6fe4ccb09fa71aa4a6313e7b576737280 /tools | |
parent | 353d0e3672d8c7f5c8e8f8879ffa2f3278f9727e (diff) | |
download | Qt-921896ab2b5f2ad6be547fbac532914c8f35c80b.zip Qt-921896ab2b5f2ad6be547fbac532914c8f35c80b.tar.gz Qt-921896ab2b5f2ad6be547fbac532914c8f35c80b.tar.bz2 |
qdoc: Added a way to exclude directories from receiving default metadata
But it is ifdefed out because I think we won't use it.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qdoc3/main.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/qdoc3/main.cpp b/tools/qdoc3/main.cpp index 7eb8067..52715a3 100644 --- a/tools/qdoc3/main.cpp +++ b/tools/qdoc3/main.cpp @@ -235,6 +235,26 @@ static void processQdocconfFile(const QString &fileName) QStringList indexFiles = config.getStringList(CONFIG_INDEXES); tree->readIndexes(indexFiles); +#if 0 + /* + I think we won't beusing this... + + Read the list of DITA excluded directories. + */ + QSet<QString> ditaExcludedDirs; + QStringList ditaExcludedDirsList = config.getStringList("dita.metadata.excludedirs"); + foreach (const QString &t, ditaExcludedDirsList) + ditaExcludedDirs.insert(QDir::fromNativeSeparators(t)); + + if (!ditaExcludedDirs.isEmpty()) { + QSet<QString>::iterator i = ditaExcludedDirs.begin(); + while (i != ditaExcludedDirs.end()) { + qDebug() << "DITA EXCLUDED DIR:" << (*i); + ++i; + } + } +#endif + /* Read the list of excluded directories. */ |