Skip to content
Closed
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
11 changes: 11 additions & 0 deletions _topic_map.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@
# The ordering of the records in this document determines the ordering of the
# topic groups and topics on the main page.

---
Name: Test
Dir: refs
Topics:
- Name: a
File: a
- Name: two
Dir: two
Topics:
- Name: b
File: b
---
Name: About
Dir: welcome
Expand Down
5 changes: 5 additions & 0 deletions modules/ref.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
= Another module

With content.

* xref:../a.adoc#hello[Try]
4 changes: 4 additions & 0 deletions modules/refme.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[id="hello"]
Copy link
Contributor

@vikram-redhat vikram-redhat Apr 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing context, which causes a problem.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vikram-redhat, oh, yeah, but was useful to confirm that injecting a relative path attribute does produce valid links locally regardless of where an assembly lives.

= A module link target

With content.
4 changes: 4 additions & 0 deletions refs/a.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
= A

include::modules/ref.adoc[leveloffset=+1]
include::modules/refme.adoc[leveloffset=+1]
4 changes: 4 additions & 0 deletions refs/two/b.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
= B

include::modules/ref.adoc[leveloffset=+1]
include::modules/refme.adoc[leveloffset=+1]