Uploaded image for project: 'Lustre Documentation'
  1. Lustre Documentation
  2. LUDOC-13

reviewing changes is difficult in docbook xml

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • 25
    • 7197

    Description

      I suggest that the Makefile be enhanced with a 'make htmldiff'.

      I have had some success with:

      1. Build a manual.html (xhtml-1_1) from MASTER:
        xsltproc --stringparam  fop1.extensions  1 --stringparam  section.label.includes.component.label 1 --stringparam  section.autolabel 1 --stringparam  chapter.autolabel 1 --stringparam  appendix.autolabel 1 --xinclude -o /tmp/newmanual.html /usr/share/xml/docbook/stylesheet/docbook-xsl-ns/xhtml-1_1/docbook.xsl ./index.xml
        
      2. Build a newmanual.html (xhtml-1_1) from REVIEW.
      3. Create a diff.html with diff annotation using diff.py
      4. Point browser at diff.html.

      Attachments

        Issue Links

          Activity

            [LUDOC-13] reviewing changes is difficult in docbook xml

            I've recently needed to do a diff again, and found that:

            https://github.com/cygri/htmldiff

            produces ok output on my test (but is slow.)

            rhenwood Richard Henwood (Inactive) added a comment - I've recently needed to do a diff again, and found that: https://github.com/cygri/htmldiff produces ok output on my test (but is slow.)

            An additional enhancement is now available:

            http://review.whamcloud.com/#change,2118

            rhenwood Richard Henwood (Inactive) added a comment - An additional enhancement is now available: http://review.whamcloud.com/#change,2118

            A couple of tweaks to the make file and ./diff.py are available here:

            http://review.whamcloud.com/1909

            rhenwood Richard Henwood (Inactive) added a comment - A couple of tweaks to the make file and ./diff.py are available here: http://review.whamcloud.com/1909

            Joshua has fixed IT-44, progress continues...

            rhenwood Richard Henwood (Inactive) added a comment - Joshua has fixed IT-44, progress continues...

            I believe the problem here is that the xhtml artifacts are not appearing in the expect place at the end of the build:

            http://jira.whamcloud.com/browse/IT-44

            rhenwood Richard Henwood (Inactive) added a comment - I believe the problem here is that the xhtml artifacts are not appearing in the expect place at the end of the build: http://jira.whamcloud.com/browse/IT-44

            Change,1127 has landed. However, xhtml is still not being built.

            Either LUDOC-8 needs to land or a manual build job modification needs to be made.

            rhenwood Richard Henwood (Inactive) added a comment - Change,1127 has landed. However, xhtml is still not being built. Either LUDOC-8 needs to land or a manual build job modification needs to be made.

            First draft at this feature:

            http://review.whamcloud.com/#change,1127

            NOTE: This depends on MASTER branch xhtml being built and available on build.whamcloud.com. This is not currently available.

            rhenwood Richard Henwood (Inactive) added a comment - First draft at this feature: http://review.whamcloud.com/#change,1127 NOTE: This depends on MASTER branch xhtml being built and available on build.whamcloud.com. This is not currently available.

            The current html build task does not produce xhtml-1_1. Using diff.py on the current html output does not produce a useful result.

            It is probably prudent to wait for LUDOC-8 to complete first. This should enable simple addition of a xhtml build target.

            rhenwood Richard Henwood (Inactive) added a comment - The current html build task does not produce xhtml-1_1. Using diff.py on the current html output does not produce a useful result. It is probably prudent to wait for LUDOC-8 to complete first. This should enable simple addition of a xhtml build target.

            People

              LM-Triage Lustre Manual Triage
              rhenwood Richard Henwood (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: