1. Jun 10, 2016
  2. May 12, 2016
    • Topi Reinio's avatar
      qdoc: Allow example files to be excluded · 27bced76
      Topi Reinio authored
      
      Documentation configuration variables 'excludedirs' and 'excludefiles'
      had no effect on what source and image files were listed as belonging
      to an example.
      
      This commit fixes that, and refactors excludedirs/files handling:
      Remove duplicated code blocks, amd simplify the code reading the
      variables:
      
        - Drop checks whether an excluded directory exists
        - Drop conversion of native separators for excluded paths
      
      Both are unnecessary; QDoc expects '/'-separated paths for many other
      variables, and if an excluded dir does not exist, it won't exclude
      anything.
      
      Change-Id: Ie25511e20d33888653c23bb84975368317eb4306
      Reviewed-by: default avatarAlex Blasche <alexander.blasche@theqtcompany.com>
      Reviewed-by: default avatarMartin Smith <martin.smith@theqtcompany.com>
      27bced76
  3. Feb 19, 2016
  4. Feb 10, 2016
  5. Jan 04, 2016
  6. Dec 12, 2015
    • Topi Reinio's avatar
      qdoc: Add support for listing all examples from all modules · 3c631952
      Topi Reinio authored
      
      This commit adds a new argument for \generatelist command, which
      enables the generation of an 'example index' page:
      
          \generatelist annotatedexamples
      
      This will generate a set of tables; one for each module, prefixed
      by a header titled with the module name. The table is an annotated
      list (title + brief description) for each documented example.
      
      A human-readable name for each module is read from the
      navigation.landingpage .qdocconf variable. This name is written
      to / read back from the index files as 'indexTitle' attribute.
      Examples for modules that do not define a landing page title
      are listed in a single table with no accompanying header.
      
      Change-Id: Icb7fa6fb40ec9a0dfce1bf8282c8782a69ec0028
      Reviewed-by: default avatarVenugopal Shivashankar <venugopal.shivashankar@digia.com>
      Reviewed-by: default avatarMartin Smith <martin.smith@theqtcompany.com>
      3c631952
  7. Oct 30, 2015
    • Martin Smith's avatar
      qdoc: Remove creation of redundant function & variable nodes · 18fe6a9a
      Martin Smith authored
      
      qdoc no longer creates a function node when it parses a function
      declaration, if a function node for the function already exists.
      This avoids needless allocation and deallocation.
      
      qdoc now also avoids creating unnecessary variable nodes.
      
      This change also improves the "No documentation for..." error
      message so that it includes the parameters if the error refers
      to a function. This makes it easier to find the correct function
      when you are trying to correct these errors in the documentation.
      
      Change-Id: Ib0f9361622f9115d677408e36bfed77c42545be0
      Task-number: QTBUG-48191
      Reviewed-by: default avatarMartin Smith <martin.smith@digia.com>
      18fe6a9a
  8. Oct 23, 2015