You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to security concerns, Asciidoc include functionality is not rendered on GitHub. The reasons are detailed in this GitHub issue. Because the Spring getting started guides make heavy use of include functionality, the reader will see empty blocks of content if they are consuming the README.md directly from the GitHub page.
For example, the user may see this when visiting the GitHub page:
But this when visiting the same guide on spring.io:
The text was updated successfully, but these errors were encountered:
A possible solution is to use Asciidoc Reducer with the allow-uri-read option. The GitHub Action could run each time the README.adoc file is changed. The action may look something like:
The output of this would be a new README-reduced.adoc file that would show the included content from README.adoc.
This would require coordination with guides renderer. The guides renderer would need to look for a file other than README.adoc to generate content, or GitHub would need to look for a file other than README.adoc to display by default.
Due to security concerns, Asciidoc include functionality is not rendered on GitHub. The reasons are detailed in this GitHub issue. Because the Spring getting started guides make heavy use of include functionality, the reader will see empty blocks of content if they are consuming the
README.md
directly from the GitHub page.For example, the user may see this when visiting the GitHub page:
But this when visiting the same guide on spring.io:
The text was updated successfully, but these errors were encountered: