Does anyone know if there's a way I can add a file to the top-level folder of my html5 help output when Flare generates the help?
My developers need me to include an extra html file at this level--not buried in one of the folders. I don't know how to get it there other than to add it manually after the output is generated. It would be easier if there were a less manual way to get it there.
Add a file to the top folder in html5 output
Add a file to the top folder in html5 output
You do not have the required permissions to view the files attached to this post.
-
ChoccieMuffin
- Senior Propellus Maximus
- Posts: 2650
- Joined: Wed Apr 14, 2010 8:01 am
- Location: Surrey, UK
Re: Add a file to the top folder in html5 output
I could be wrong, but is THIS a candidate for a post-build script? I'm hoping others in the know will come along with further help, as post-build scripts are currently being discussed in another thread: viewtopic.php?f=13&t=29227
Started as a newbie with Flare 6.1, now using Flare 2024r2.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
-
Chicago_HPT
- Sr. Propeller Head
- Posts: 133
- Joined: Sun Feb 03, 2013 6:01 pm
Re: Add a file to the top folder in html5 output
That makes sense to me. I use this Post-Build Event Command to move a different version of the jQuery library from one folder to another after the build.
I have the library file I need saved in the Content\Resources\Scripts folder in my project and then after Flare builds the output, I have it move the file to the right output folder. You can probably do something similar but move the file to the $(OutputDirectory) rather than a subfolder. The /y parameter replaces the existing jQuery library file without prompting for a confirmation. If you're not overwriting an existing file (it sounds like you wouldn't be) then you can probably leave the parameter out but it won't hurt anything to leave it in.
Cheers,
-jeff
Code: Select all
move /y "$(OutputDirectory)\Content\Resources\Scripts\jquery.min.js" "$(OutputDirectory)\Resources\Scripts"Cheers,
-jeff