Unverified Commit ba0fe7f3 authored by Amy Stamile's avatar Amy Stamile Committed by GitHub
Browse files

Isis docs fixes (#5440)

* Update version numbers in docs

* updated urls

* remove redirect.xml

* remove redirect.xsl
parent 9b479f93
Loading
Loading
Loading
Loading
−2
Changes for isis/cmake/BuildDocs.cmake: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -85,8 +85,6 @@ function(build_upper_level)

  # These folders are populated inside "build_documents_folder"
  
  # Create a redirect for the top level index file. It points to the version index file
  execute_process(COMMAND ${XALAN} ${XALAN_VALIDATE_OPTION} ${XALAN_PARAM_OPTION} menuPath \"${docVersion}/\" ${XALAN_OUTFILE_OPTION} ${docInstallFolder}/index.html ${XALAN_INFILE_OPTION} ${docBuildFolder}/build/redirect.xml ${XALAN_XSL_OPTION} ${docBuildFolder}/build/redirect.xsl)
  # Create the main documentaion page. This is located in the version directory 
  execute_process(COMMAND ${XALAN} ${XALAN_VALIDATE_OPTION} ${XALAN_PARAM_OPTION} menuPath \"\" ${XALAN_OUTFILE_OPTION} ${docInstallFolder}/${docVersion}/index.html ${XALAN_INFILE_OPTION} ${docBuildFolder}/build/homepage.xml ${XALAN_XSL_OPTION} ${docBuildFolder}/build/main.xsl)

+26 −8
Changes for isis/src/docsys/build/menu.xsl: 26 added lines, 8 removed lines.
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ Deborah Lee Soltesz
    </div>

    <div>
      <a href="https://github.com/USGS-Astrogeology/ISIS3">
      <a href="https://github.com/DOI-USGS/ISIS3">
      GitHub</a>
    </div>

@@ -106,13 +106,31 @@ Deborah Lee Soltesz
    </h2>

    <div>
      <label for="Versions"></label>
      <select name="Versions" id="Versions">
        <option value="Public Release" onClick="location.href='https://isis.astrogeology.usgs.gov'" selected="Public Release">Public Release</option> 
        <option value="6.0.0" onClick="location.href='https://isis.astrogeology.usgs.gov/6.0.0/index.html'">6.0.0</option>
        <option value="3.9.0" onClick="location.href='https://isis.astrogeology.usgs.gov/3.9.0/index.html'">3.9.0</option>
        <option value="3.5.0" onClick="location.href='https://isis.astrogeology.usgs.gov/3.5.0/index.html'">3.5.0</option>
      </select>
      <a href="https://isis.astrogeology.usgs.gov">Public Release</a>
    </div>
    <div>
      <a href="https://isis.astrogeology.usgs.gov/8.1.0/">8.1.0</a>
    </div>
    <div>
      <a href="https://isis.astrogeology.usgs.gov/8.0.0/">8.0.0</a>
    </div>  
    <div>
      <a href="https://isis.astrogeology.usgs.gov/7.2.0/">7.2.0</a>
    </div>
    <div>
      <a href="https://isis.astrogeology.usgs.gov/7.1.0/">7.1.0</a>
    </div>
    <div>
      <a href="https://isis.astrogeology.usgs.gov/7.0.0/">7.0.0</a>
    </div>
    <div>
      <a href="https://isis.astrogeology.usgs.gov/6.0.0/">6.0.0</a>
    </div>
    <div>
      <a href="https://isis.astrogeology.usgs.gov/3.9.0/">3.9.0</a>
    </div>
    <div>
      <a href="https://isis.astrogeology.usgs.gov/3.5.0/">3.5.0</a>
    </div>

    <hr/>
−23

File deleted.

−106

File deleted.