Publish to a Local or Network Directory
In addition to publishing to a web or Ftp server, HelpStudio can publish your generated output to a local or network directory. This can be particularly useful in Continuous Integration environments where you wish to copy a built and tested compiled help output for inclusion in a build process. Publishing to a network path can also be useful for situations where you are making some internal content available only on the local network and not a web server.
Creating a Directory Publishing Target
- In the HelpStudio Build Profile Editor, select the Publishing page.
- Click the New toolbar button.
- On the displayed New Publishing Target dialog, choose the File System Folder option.
- A new File System Folder Publishing Target is created and opened for edit.
If the file path for publishing exceeds 255 characters, it is necessary to enable long paths. To enable long paths in Windows 10 (Version 1607 and later), follow the instructions provided at https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=powershell.
- In the Directory field, identify the file system target to which content should be published.
The Target URL field is the URL at which the content is located once it has been deployed. This setting is not required for successful publishing, but it allows the publishing results to show a convenient link to open the published content once the publishing is complete.
Only specify the root URL and not the landing page - i.e. http://myhost.mydomain.com/ and not http://myhost.mydomain.com/webframe.html.