Well, both a framework and a document type refer to the same thing. We kind of use both terms to refer to the configuration associated with a specific XML vocabulary. So, if you've create a document type please make sure you set the Storage
and select a directory from within the frameworks directory, something like this:
Code: Select all
The LESS file should reside in the same myDocumentType
directory and, again in the Document Type configuration dialog, on the CSS Tab you can add a reference to that less file:
or would it be sufficient to add the css directory to the list of additional frameworks directories
That will also work, but the recommended approach would be the one above. To make your document type external and put all of your resources into its directory. That will also ensure you can easily give it to others.