Add AsciiDoc include for remote URI
Related #348687 (closed)
What does this MR do and why?
This merge request allows users writing in AsciiDoc to include other files with remote URI. This allows them to insert content from other projects/resources without the need to repeat themselves.
Screenshots or screen recordings
This is how the AsciiDoc is rendered by this MR change
Current | MR Change |
---|---|
How to set up and validate locally
- Create a wiki
- You are going to create 3 wiki pages using the
AsciiDoc
format- set the
Format
toAsciiDoc
- set the
PageA
Nested/PageB
Demo
For the Demo
page it should include the following text to simulate including files from different wikis:
This page is a demo that includes AsciiDoc pages.
include::PageA.asciidoc[]
include::Nested/PageB.asciidoc[]
include::https://example.com/index.html[]
include::https://gitlab.com/mle/ramen/-/wikis/RemoteDoc.asciidoc[]
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Michael Le