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
The docfile built-in attribute actually produces the full path rather than the file, e.g,.
/Users/ian/workspace/project/src/doc/ref/intro/0105-bleah.adoc.
It would be nice if there were a way to directly get just the filename, 0105-bleah.adoc
The text was updated successfully, but these errors were encountered:
You can get the basename from the attribute "docname". In your case, it would be "0105-bleah". If you always use .adoc as the AsciiDoc file extension, you can build it using {docname}.adoc.
I suppose we should add an attribute for infilesuffix (to complement outfilesuffix). Do you like that idea?
The docfile built-in attribute actually produces the full path rather than the file, e.g,.
/Users/ian/workspace/project/src/doc/ref/intro/0105-bleah.adoc.
It would be nice if there were a way to directly get just the filename, 0105-bleah.adoc
The text was updated successfully, but these errors were encountered: