fix(docs): avoid self-reference in type annotation
Closes #180
Due to some splitting around dots (`.`) when generating docs, including a `{self.attribute}` value in the array annotation will no be displayed as expected. Instead, only the part after `.` is kept, making the documentation look very weird. I could not find any other way to prevent this than removing existing `{self.attribute}` and replacing with `attribute`. This will no longer raise an error if the provided arguments do not match the expected shape (if runtime type checking is used), but hopefully the error will be raised anyway by internal code, e.g., when broadcasting arrays.