Repository navigation
Add consumer documentation extensions and runtime DLL helper #31
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
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
6a5890b
Add consumer documentation extensions and runtime DLL helper
sean-parent 735e22d
Reject continued Doxygen option assignments
sean-parent 09dee60
Normalize Scout configuration quoting
sean-parent e7494f7
Document runtime deployment module responsibilities
sean-parent File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| cmake_minimum_required(VERSION 3.24) | ||
| project(docs-fixture LANGUAGES CXX) | ||
| include("${TOOLKIT_SOURCE}/cpp-library.cmake") | ||
| set(CPP_LIBRARY_VERSION 1.2.3) | ||
| set(FIXTURE_INSTALL OFF CACHE BOOL "") | ||
| set(BUILD_DOCS ON) | ||
|
|
||
| # Replace only the network theme download; exercise real configuration and Doxygen. | ||
| function(CPMAddPackage) | ||
| file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/theme") | ||
| foreach(stylesheet doxygen-awesome.css doxygen-awesome-sidebar-only.css) | ||
| file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/theme/${stylesheet}" "") | ||
| endforeach() | ||
| set(doxygen-awesome-css_SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/theme" PARENT_SCOPE) | ||
| endfunction() | ||
|
|
||
| set(docs_args) | ||
| if(CASE STREQUAL "extended") | ||
| list(APPEND docs_args | ||
| DOCS_INPUTS "extra docs" "${CMAKE_CURRENT_SOURCE_DIR}/absolute docs/group.dox" | ||
| DOCS_OPTIONS | ||
| "PROJECT_BRIEF = \"Customized documentation\"" | ||
| "WARN_IF_UNDOCUMENTED = NO" | ||
| [=[PREDEFINED = "FIXTURE_PATH=C:\\docs\\"]=] | ||
| "EXCLUDE_SYMBOLS += fixture::extra" | ||
| DOCS_EXCLUDE_SYMBOLS "fixture::hidden") | ||
| elseif(CASE STREQUAL "missing-input") | ||
| list(APPEND docs_args DOCS_INPUTS "missing docs") | ||
| elseif(CASE STREQUAL "malformed-option") | ||
| list(APPEND docs_args DOCS_OPTIONS "not a Doxygen assignment") | ||
| elseif(CASE STREQUAL "malformed-terminal-continuation-option") | ||
| list(APPEND docs_args DOCS_OPTIONS [=[PREDEFINED = A= \]=]) | ||
| elseif(CASE STREQUAL "malformed-continuation-option") | ||
| list(APPEND docs_args DOCS_OPTIONS | ||
| [=[PREDEFINED = A= \ ]=] | ||
| "WARN_IF_UNDOCUMENTED = NO") | ||
| elseif(CASE STREQUAL "multiline-option") | ||
| list(APPEND docs_args DOCS_OPTIONS "QUIET = YES\nGENERATE_XML = YES") | ||
| elseif(CASE STREQUAL "missing-input-value") | ||
| list(APPEND docs_args DOCS_INPUTS) | ||
| elseif(CASE STREQUAL "missing-option-value") | ||
| list(APPEND docs_args DOCS_OPTIONS) | ||
| elseif(CASE STREQUAL "custom") | ||
| file(MAKE_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/docs") | ||
| file(WRITE "${CMAKE_CURRENT_SOURCE_DIR}/docs/Doxyfile" | ||
| "PROJECT_NAME = \"Legacy configuration\"\n" | ||
| "INPUT = \"@INPUT_DIR@\"\n" | ||
| "OUTPUT_DIRECTORY = \"@OUTPUT_DIR@\"\n" | ||
| "GENERATE_LATEX = NO\nQUIET = YES\nWARN_AS_ERROR = YES\n") | ||
| list(APPEND docs_args DOCS_INPUTS "extra docs" | ||
| DOCS_OPTIONS "PROJECT_BRIEF = \"Customized documentation\"") | ||
| endif() | ||
|
|
||
| cpp_library_setup( | ||
| DESCRIPTION "Documentation fixture" | ||
| NAMESPACE fixture | ||
| INSTALL_OPTION FIXTURE_INSTALL | ||
| HEADERS api.hpp | ||
| ${docs_args}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| /** @defgroup extra_group Absolute fixture group | ||
| * @brief This group comes from an absolute input file. | ||
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| /** @mainpage Extra fixture content | ||
| * This page comes from an additional, space-containing input directory. | ||
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| /** @file | ||
| * @brief Fixture public API. | ||
| */ | ||
| /** @brief Fixture namespace. */ | ||
| namespace fixture { | ||
| /** @brief Return the fixture value. */ | ||
| inline int value() { return 42; } | ||
| /** @brief Internal API omitted from the extended documentation. */ | ||
| struct hidden {}; | ||
| /** @brief Internal API omitted through an additive Doxygen option. */ | ||
| struct extra {}; | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.