Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Build Qt Online Documentation from Source

Build Qt Online Documentation from Source

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 301 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AlexH
    wrote on last edited by
    #1

    I am looking to build the Qt documentation from source, for online usage, however I am having difficulties to get it to the same format as used on the Qt website. I am using make and the "qt-module-defaults-online.qdocconf".

    From the urls on the Qt website it seems that all the html files are in a single folder, however when building from Qt, all the html files are spread across the modules. Also the links in the pages, when built from source, contain references to subfolders, while this is not the case for the documentation on the website. For example this link has an additional "../qtquickcontrols2/":

    Official docs
    href="qml-qtquick-controls2-abstractbutton.html"
    Generated docs
    href="../qtquickcontrols2/qml-qtquick-controls2-abstractbutton.html"
    

    The "qt-module-defaults-online.qdocconf" already sets those parameters:

    #single-directory output mode
    HTML.nosubdirs = "true"
    HTML.outputsubdir = "html"
    

    But this only seems to mean that there is a single-directly PER module, not a single one for the whole doc.
    Is there a way to get all files in a single "html" folder, instead of getting a distinct "html" folder in ever module, and also the links in the same format as on the Qt website, without subdirectories?

    Thanks in advance,
    Alex

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      That's an interesting question. I would recommend bringing it on the interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved