How can I upload a WSDL file and a WSDL viewer, and make them accessible in public docs?

Hi everyone. is there a way to upload a wsdl.xml and a wsdl_viewer.xsl file in a hugo documentation repo, and then make them accessible in the public documentation somehow? Whether I place the files in the static folder or in the folder in which the article I wish to reference them from is, nothing seems to work.

I’m not sure what that means. If you place those files in your static directory, your published site will have this structure:

public/
├── posts/
│   ├── post-1/
│   │   └── index.html
│   └── index.html
├── favicon.ico
├── index.html
├── wsdl.xml
└── wsdl_viewer.xsl

Hi jmooring, thank you for the reply.

The structure itself isn’t an issue, it’s just that the xsl script file appears empty when opened from the generated help portal, while the API helper should be visible instead.

This doesn’t sound like a Hugo issue.

It worked in DocFX that I’ve used previously for documentation, and I could also reference the script files from the sidebar, which Hugo simply does not support. I apologize if my explanation isn’t clear enough. I will try to find my solution elsewhere.