| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Update the copyright year reported by 'bootstrap' and in the generated
documentation to report 2012.
|
|
|
|
|
|
| |
If a subsection with a title is added, all subsequent subsections need a
title too. The "helpful links" just repeat preceding subsections
anyway.
|
|
|
|
|
|
|
| |
E.g. if you say cmake --help-custom-modules mymodules.7
cmake will now put section 7 into the generated manpage.
Alex
|
|
|
|
|
|
|
|
| |
This patch adds a man section number, which is then used by the
DocumentationFormatterMan. The section number is right now always 1,
detecting this from the file name will be the next step.
Alex
|
| |
|
| |
|
|
|
|
| |
Modify CPackDeb and CPackRPM as an example
|
| |
|
|
|
|
|
| |
This should makes it easier to use the same "documented module"
techniques for CTest, CMake or user module.
|
|
|
|
|
|
|
|
| |
CPack help will be searched in any CPack*.cmake file located
near to CPack.cmake file. The script files is parsed iff
the first line begin with ##section. Moreover the documentation
section name is specified on the remaining part of the line
minus the space immediately following ##section.
|
| |
|
|
|
|
|
|
| |
There remains extra newlines in text Formatter output
but the parser does not seem to be the culprit.
The formatter should be.
|
|
|
|
|
|
|
|
|
|
| |
- Enhance extract doc parser. Seems robust now. The legacy
module documentation parser works as before ignoring
the new markup.
- Proof of concept for CPack (generic), CPack RPM and CPack Deb
generator for macro and variables.
Try cpack --help-command and cpack --help-variables
|
|
|
|
|
|
|
|
|
| |
The language is very simple. It use ##<keyword> special comment
which opens a structured documentation block and ##end closes it.
This may be used to extract documentation for macro as 'command'
and 'variables' such that cpack --help-command and --help-variable
does parse builtin modules files (CPack.cmake, CPackComponent.cmake,
...) in order to extract the corresponding doc.
|
|
|
|
|
|
| |
This modifications set tries to keep the unified doc for cmake/ctest/cpack
while introducing tool specific documentation separated.
Some documentation sections for CMake do not fit well to CPack.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This is #10466. It didn't crash for me, but also didn't work.
The issue was that a line ending with something else than a # was considered as the
end of the documentation block. If there was simply the end of the file we didn't
get into the correct branch.
Alex
|
| |
|
| |
|
|
|
|
|
|
|
| |
This converts the CMake license to a pure 3-clause OSI-approved BSD
License. We drop the previous license clause requiring modified
versions to be plainly marked. We also update the CMake copyright to
cover the full development time range.
|
|
|
|
|
| |
This adds a property documentation section for CACHE properties.
We document the ADVANCED, HELPSTRING, TYPE, and VALUE properties.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Applying patch provided in issue #7797.
Fixes to man-pages:
- Character '-' must be espaced as '\-'
- Surround preformatted text with '.nf' and '.fi' to adjust filling
- Give every page a NAME section for indexing by mandb
- Pass the man page filename without extension to .TH in its header
Also added a title to the HTML header.
|
|
|
|
|
| |
The help page type should be determined using only the extension after
the last dot. See issue #7797.
|
| |
|
|
|
|
|
|
| |
ComputeSectionLinkPrefix, don't create an index for only one item
Alex
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
(http://www.oasis-open.org/docbook/xml/4.2/), which users can then convert
to other formats.
Tested with meinproc from KDE, which generates HTML pages which look good.
Alex
|
|
|
|
| |
Alex
|
|
|
|
|
|
| |
for custom modules
Alex
|
| |
|
|
|
|
|
|
| |
of rht modules
Alex
|
|
|
|
|
|
|
|
|
|
|
| |
creation step
in cmake (the set ModulesFound wasn't cleared at the beginning of each
PrintDocumentation() function, so when documentation for modules was executed the second
time, ModulesFound already contained all modules and so no module was
documented)
Alex
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
there, also provides secitons for Variables now
|
| |
|
|
|
|
| |
in a different manner
|
| |
|
|
|
|
| |
Alex
|
|
|
|
|
|
|
|
|
|
|
| |
documentation for all modules found in CMAKE_MODULE_PATH, which currently
has to be specified via -D, this can later on be improved e.g. by reading a
special (to-be-created) file like CMakeFiles/ModulePath.cmake in the build
tree so that running cmake help in the build tree of a project will always
give you the current module path. (This could actually also help IDEs which
would like to support cmake for projects...)
Alex
|
|
|
|
|
|
|
| |
their own classes, making cmDocumentation smaller and also making it easier
to eventually add another format
Alex
|
|
|
|
| |
Alex
|
|
|
|
| |
Alex
|