I have two files. (Pseudo-representation below, scrubbed for privacy)
One is a large file in a parent directory called definitions.puml
The other file is in a subfolder called architecture.pu
They are arranged like so.
src/definitions.puml
'' DATABASE DEF
!define db_name Name of database
!define db_tech technology: technology desc
!define db_desc Holds data for system.
' ... etc
src/level1/architecture.pu
@startuml
!include ../definitions.puml
' rest of content below
@enduml
The outcome is a generated SVG that is "undefined" and has no content.
Github preview reads: Sorry, this file is invalid so it cannot be displayed.
Edit:
I have even tried this format !include %dirpath/../definitions.puml No luck.