Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split TribitsDevelopersGuide.* into TribitsUsersGuide.* and TribitsMaintainersGuide.* (#381) #384

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions test/core/DependencyUnitTests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,16 @@ set(REDUCED_MOCK_TRILINOS_DIR

# Expected output files directory
set(REDUCED_MOCK_TRILINOS_OUTPUT_DIR
"${${PROJECT_NAME}_TRIBITS_DIR}/doc/developers_guide/ReducedMockTrilinosOutput")
"${${PROJECT_NAME}_TRIBITS_DIR}/doc/guides/ReducedMockTrilinosOutput")

#
# NOTE: These tests compare against expected output stored in files under the
# in the developers_guide/ReducedMockTrilinosOuptut/ directory and are used in
# the TribitsDevelopersGuide.rst document. Therefore, if the behavior of
# TriBITS changes in such a way as to break these tests, then if any of the
# contents of the files under this directory need to change, then one must
# also look at the TribitsDevelopersGuilde.rst document and update it for the
# new behvior of TriBITs!
# in the guides/ReducedMockTrilinosOuptut/ directory and are used in the
# TribitsUsersGuide.rst document. Therefore, if the behavior of TriBITS
# changes in such a way as to break these tests, then if any of the contents
# of the files under this directory need to change, then one must also look at
# the TribitsUsersGuilde.rst document and update it for the new behvior of
# TriBITs!
#


Expand Down
10 changes: 6 additions & 4 deletions tribits/doc/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,18 @@ _BASE_DIR=$PWD

echo
echo "***"
echo "*** Generating TribitsDevelopersGuide.[rst,html,pdf] ..."
echo "*** Generating Users and Maintainers guides ..."
echo "***"
echo

cd $_BASE_DIR/developers_guide
./generate-dev-guide.sh
cd $_BASE_DIR/guides/
./generate-guide.sh all
cd -
echo
echo "See generated files:"
echo
ls $_BASE_DIR/developers_guide/TribitsDevelopersGuide.*
ls $_BASE_DIR/guides/users_guide/TribitsUsersGuide.*
ls $_BASE_DIR/guides/maintainers_guide/TribitsMaintainersGuide.*

echo
echo "***"
Expand Down
10 changes: 6 additions & 4 deletions tribits/doc/build_ref/TribitsBuildReferenceBody.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
.. Common references to other documents

.. _Package Dependencies and Enable/Disable Logic: https://tribits.org/doc/TribitsDevelopersGuide.html l#package-dependencies-and-enable-disable-logic
.. _TriBITS Users Guide and Reference: TribitsUsersGuide.html

.. _TriBITS Dependency Handling Behaviors: https://tribits.org/doc/TribitsDevelopersGuide.html#tribits-dependency-handling-behaviors
.. _Package Dependencies and Enable/Disable Logic: TribitsUsersGuide.html#package-dependencies-and-enable-disable-logic

.. _tribits_tpl_find_include_dirs_and_libraries(): https://tribits.org/doc/TribitsDevelopersGuide.html#tribits-tpl-find-include-dirs-and-libraries
.. _TriBITS Dependency Handling Behaviors: TribitsUsersGuide.html#tribits-dependency-handling-behaviors

.. _tribits_ctest_driver(): https://tribits.org/doc/TribitsDevelopersGuide.html#tribits-ctest-driver
.. _tribits_tpl_find_include_dirs_and_libraries(): TribitsUsersGuide.html#tribits-tpl-find-include-dirs-and-libraries

.. _tribits_ctest_driver(): TribitsUsersGuide.html#tribits-ctest-driver

.. _Ninja: https://ninja-build.org

Expand Down
60 changes: 0 additions & 60 deletions tribits/doc/developers_guide/Makefile

This file was deleted.

17 changes: 0 additions & 17 deletions tribits/doc/developers_guide/README

This file was deleted.

196 changes: 0 additions & 196 deletions tribits/doc/developers_guide/generate-dev-guide.sh

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,12 @@
/TriBITS.README.DIRECTORY_CONTENTS.rst.tmp
/TribitsCommonTPLsList.txt
/TribitsCommonTPLsList.txt.tmp
/TribitsDevelopersGuide.html
/TribitsDevelopersGuide.pdf
/TribitsGitVersion.txt
/TribitsGitVersion.txt.tmp
/TribitsHelloWorldDirAndFiles.txt
/TribitsHelloWorldDirAndFiles.txt.tmp
/TribitsMacroFunctionDoc.rst
/TribitsMacroFunctionDoc.rst.tmp
/TribitsStandardTPLsList.txt
/TribitsStandardTPLsList.txt.tmp
/TribitsSystemMacroFunctionDoc.rst
/TribitsSystemMacroFunctionDoc.rst.tmp
/UtilsMacroFunctionDoc.rst
/UtilsMacroFunctionDoc.rst.tmp
/checkin-test-help.txt
/checkin-test-help.txt.tmp
/clone_extra_repos-help.txt
Expand Down
36 changes: 36 additions & 0 deletions tribits/doc/guides/Makefile.common_generated_files
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
COMMON_DEPENDENT_FILES = \
Makefile \
../generate-guide.sh \
../TribitsGuidesBody.rst \
../TribitsGuidesReferences.rst \
../TribitsFAQ.rst \
../TribitsHistory.rst \
../TribitsPackageNotCMakePackage.rst \
../TribitsDesignConsiderations.rst \
../TribitsToolsDocumentation.rst \
../TribitsStandardTPLsList.txt \
../TribitsCommonTPLsList.txt \
../checkin-test-help.txt \
../gitdist-help.txt \
../gitdist-dist-help-overview.txt \
../gitdist-dist-help-repo-selection-and-setup.txt \
../gitdist-dist-help-dist-repo-status.txt \
../gitdist-dist-help-repo-versions.txt \
../gitdist-dist-help-aliases.txt \
../gitdist-dist-help-usage-tips.txt \
../gitdist-dist-help-script-dependencies.txt \
../gitdist-dist-help-all.txt \
../clone_extra_repos-help.txt \
../snapshot-dir-help.txt \
../is_checkin_tested_commit.txt \
../get-tribits-packages-from-files-list.txt \
../install_devtools-help.txt \
../TriBITS.README.DIRECTORY_CONTENTS.rst \
TribitsMacroFunctionDoc.rst \
UtilsMacroFunctionDoc.rst

# NOTE: We *don't* want to rebuild the file if only the version has changed we
# don't add a dependency on TribitsGitVersion.txt!

# NOTE: The above paths are relative the the users_guide/ and
# maintainers_guide/ subdirs.
Loading