redhataccess / ascii_binder

AsciiBinder is an AsciiDoc-based system for authoring and publishing closely related documentation sets from a single source.
https://asciibinder.net
MIT License
76 stars 39 forks source link

Relative xref attribute #158

Open jboxman opened 3 years ago

jboxman commented 3 years ago

So this actually works with https://github.com/openshift/openshift-docs/pull/31991.

Ignore the puts behind the curtain.

Works on the assumption that, if every module actually knows at build time where root is, we can construct a path up to the root, then to whatever assembly matters. This works the same as with assemblies today, but an assembly is always a fixed target, so the relative path to walk is always known when the file is written. For an included file, this can be known only at build time.