Skip doc build (and do not fail) if an app is skipped by configure #10194
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.
The Observed
The build
make docsfails if some application was skipped by the configure for whatever reason or by the user's request. In the original bug report the application wasodbc.The Expected
The build doesn't fail even if docs are partially not built for the reason of some app being skipped.
The Solution
Elixir doc script was modified to read the
lib/SKIP-APPLICATIONSand then the documentation redirects for those applications would be skipped too. This results in stub markdown file being shown, containing only application name as a title. Additional change to the Help-makefile: adding a line of explanation to the markdown stub files:MISSING_APP_DISCLAIMER="The documentation for this application was not generated because ..."