Skip to content

Commit

Permalink
Documentation restructure Update (#4851)
Browse files Browse the repository at this point in the history
* Final wording of user documentation landing pages

* quick personal review updates
  • Loading branch information
ladoramkershner authored and jessemapel committed Apr 14, 2022
1 parent 1ad6bcf commit 81fb212
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 330 deletions.
7 changes: 2 additions & 5 deletions isis/cmake/BuildDocs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ endfunction(copy_app_docs_info)
function(build_upper_level)

# Make new (empty) output folders
set(newFolders UserDocs UserStart UserLearn UserExplore UserInspire DevStart DevExplore DevInspire AboutIsis General Guides Installation TechnicalInfo)
set(newFolders UserDocs UserStart UserLearn UserExplore UserInspire DevStart DevExplore DevInspire General Guides Installation TechnicalInfo)
foreach(f ${newFolders})
file(MAKE_DIRECTORY "${docInstallFolder}/${docVersion}/${f}")
endforeach()
Expand All @@ -86,7 +86,7 @@ function(build_upper_level)
# Create the main index.html file aka the home page
execute_process(COMMAND ${XALAN} ${XALAN_VALIDATE_OPTION} ${XALAN_PARAM_OPTION} menuPath \"${docVersion}/\" ${XALAN_OUTFILE_OPTION} ${docInstallFolder}/index.html ${XALAN_INFILE_OPTION} ${docBuildFolder}/build/homepage.xml ${XALAN_XSL_OPTION} ${docBuildFolder}/build/main.xsl)
# Create a second main page inside the version numbered area for when the page above gets overwritten with a new version
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)
execute_process(COMMAND ${XALAN} ${XALAN_VALIDATE_OPTION} ${XALAN_OUTFILE_OPTION} ${docInstallFolder}/${docVersion}/index.html ${XALAN_INFILE_OPTION} ${docBuildFolder}/build/homepage.xml ${XALAN_XSL_OPTION} ${docBuildFolder}/build/main.xsl)

# This folder just gets copied as-is
# Note: Schemas are referenced inside the application xml files. The schema URI inside the xmls do not have version numbers in the path
Expand Down Expand Up @@ -175,9 +175,6 @@ function(build_documents_folder)
message(" Building table of contents files...")
# These go in top level folders in /doc/

# ABOUT ISIS TOC
execute_process(COMMAND ${XALAN} ${XALAN_PARAM_OPTION} menuPath \"../\" ${XALAN_OUTFILE_OPTION} ${docInstallFolder}/${docVersion}/AboutIsis/index.html ${XALAN_INFILE_OPTION} ${doctocPath} ${XALAN_XSL_OPTION} ${docBuildFolder}/build/AboutIsis.xsl)

# GENERAL TOC
execute_process(COMMAND ${XALAN} ${XALAN_PARAM_OPTION} menuPath \"../\" ${XALAN_OUTFILE_OPTION} ${docInstallFolder}/${docVersion}/General/index.html ${XALAN_INFILE_OPTION} ${doctocPath} ${XALAN_XSL_OPTION} ${docBuildFolder}/build/General.xsl)

Expand Down
291 changes: 0 additions & 291 deletions isis/src/docsys/build/AboutIsis.xsl

This file was deleted.

Loading

0 comments on commit 81fb212

Please sign in to comment.