include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf)
include($QT_INSTALL_DOCS/config/exampleurl-qtscxml.qdocconf)

project                 = QtScxml
description             = Qt SCXML Reference Documentation
version                 = $QT_VERSION

# Install path for the examples
examplesinstallpath     = scxml
exampledirs             = ../../../examples/scxml

examples.fileextensions += "*.scxml"

qhp.QtScxml.subprojects = classes qmltypes examples
qhp.QtScxml.subprojects.classes.title      = C++ Classes
qhp.QtScxml.subprojects.classes.indexTitle = Qt SCXML C++ Classes
qhp.QtScxml.subprojects.classes.selectors  = class fake:headerfile
qhp.QtScxml.subprojects.classes.sortPages  = true
qhp.QtScxml.subprojects.qmltypes.title      = QML Types
qhp.QtScxml.subprojects.qmltypes.indexTitle = Qt SCXML QML Types
qhp.QtScxml.subprojects.qmltypes.selectors  = qmlclass
qhp.QtScxml.subprojects.qmltypes.sortPages  = true
qhp.QtScxml.subprojects.examples.title = Examples
qhp.QtScxml.subprojects.examples.indexTitle = Qt SCXML Examples
qhp.QtScxml.subprojects.examples.selectors = fake:example

qhp.projects            = QtScxml

qhp.QtScxml.file                = qtscxml.qhp
qhp.QtScxml.namespace           = org.qt-project.qtscxml.$QT_VERSION_TAG
qhp.QtScxml.virtualFolder       = qtscxml
qhp.QtScxml.indexTitle          = Qt SCXML
qhp.QtScxml.indexRoot           =

depends += qtcore qtdoc qmake qtquick qtwidgets qtstatemachine

headerdirs = .. \
             ../../scxmlqml \
             ../../plugins/ecmascriptdatamodel

sourcedirs += .. \
              ../../scxmlqml \
              ../../../tools/qscxmlc/doc \
              ../../plugins/ecmascriptdatamodel

excludefiles += "../qscxmlexecutablecontent_p.h"

tagfile = qtscxml.tags

navigation.landingpage = "Qt SCXML"
navigation.cppclassespage = "Qt SCXML C++ Classes"
navigation.qmltypespage = "Qt SCXML QML Types"

# Fail the documentation build if there are more warnings than the limit
warninglimit = 0
