MantisBT - CMake |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010338 | CMake | Documentation | public | 2010-02-26 08:42 | 2010-03-01 08:58 |
|
| Reporter | simonh | |
| Assigned To | Brad King | |
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | | OS Version | |
| Product Version | CMake-2-8 | |
| Target Version | | Fixed in Version | | |
|
| Summary | 0010338: CMake generated HTML is not valid HTML |
| Description | There are a number of HTML mistakes in the auto-generated HTML documentation for CMake 2.8.0
- The anchor tag is not closed properly in the section index
- There is no DOCTYPE specifier
- A number of section anchor names have spaces; not allowed as an ID |
| Steps To Reproduce | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | related to | 0010857 | closed | Brad King | CMake.HTML test requires internet access |
|
| Attached Files | cmake-cfs-htmldocs.patch (3,869) 2010-02-26 08:42 https://public.kitware.com/Bug/file/2905/cmake-cfs-htmldocs.patch
0001-Ensure-that-the-HTML-documentation-generated-by-CMak.patch (4,683) 2010-03-01 07:22 https://public.kitware.com/Bug/file/2917/0001-Ensure-that-the-HTML-documentation-generated-by-CMak.patch |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2010-02-26 08:42 | simonh | New Issue | |
| 2010-02-26 08:42 | simonh | File Added: cmake-cfs-htmldocs.patch | |
| 2010-02-26 08:45 | simonh | Note Added: 0019642 | |
| 2010-02-26 13:18 | Bill Hoffman | Status | new => assigned |
| 2010-02-26 13:18 | Bill Hoffman | Assigned To | => Brad King |
| 2010-02-26 13:50 | Brad King | Note Added: 0019651 | |
| 2010-03-01 04:28 | simonh | Note Added: 0019661 | |
| 2010-03-01 07:22 | simonh | File Added: 0001-Ensure-that-the-HTML-documentation-generated-by-CMak.patch | |
| 2010-03-01 07:23 | simonh | Note Added: 0019662 | |
| 2010-03-01 08:58 | Brad King | Note Added: 0019664 | |
| 2010-03-01 08:58 | Brad King | Status | assigned => closed |
| 2010-03-01 08:58 | Brad King | Resolution | open => fixed |
| 2010-06-21 17:25 | Brad King | Relationship added | related to 0010857 |
|
Notes |
|
|
(0019642)
|
|
simonh
|
|
2010-02-26 08:45
|
|
I've uploaded a patch against 2.8.0 which addresses the above issues and makes the output "XHTML 1.0 Strict" compliant.
This makes the output much easier for me to parse with our documentation generator - all tags are now correctly closed, i.e. fully XML compliant. |
|
|
|
(0019651)
|
|
Brad King
|
|
2010-02-26 13:50
|
|
Thanks! I have two requests:
(1) CMake now uses Git, so we can credit you as author of the patch if we have a name and email address. Please either provide them here or clone the repository, create your commit, and use "git format-patch" to construct a new patch.
http://www.cmake.org/Wiki/CMake/Git [^]
(2) I'd like to add a test to CMake to validate the generated documentation. Can you suggest a command-line tool for xhtml validation? |
|
|
|
(0019661)
|
|
simonh
|
|
2010-03-01 04:28
|
|
|
|
|
(0019662)
|
|
simonh
|
|
2010-03-01 07:23
|
|
|
|
|
(0019664)
|
|
Brad King
|
|
2010-03-01 08:58
|
|
|