Hello,
This have probably been asked many times before, but it seems that in Flare 2018 there is still no way to custom define what goes where.
We're importing from a Word .doc file (Import is called doc), so the html files will always go to the /doc folder.
When we put docs to the web, the site structure looks like this.
docs.myweb.com/product1/doc/Anyhelppage.html
docs.myweb.com/product2/doc/Anyhelppage.html
We want to get rid of this /doc/ folder, but with importing (from a Word) into doc this seems impossible.
Any sugestions?
Thank you.
Kresimir
Output folder structre
Re: Output folder structre
I have figured that we'll have to do that manually is the post build.
Our word doc import goes to the Doc subfolder, so it seems that all works if you:
Replace in .html file (remove "../").
"../" => ""
Move htmls files to the root folder.
Replace in .js files (remove "Doc/").
"Doc/" => ""
With fnr app (http://findandreplace.io), the post build event command would look like this:
"C:\YourProjectPath\finishbuild.bat"
..and finishbuild.bat:
"fnr.exe" --cl --dir "C:\YourOutputPath\Doc" --fileMask "*.htm" --excludeFileMask "*.dll, *.exe" --includeSubDirectories --find "../" --replace ""
"fnr.exe" --cl --dir "C:\YourOutputPath" --fileMask "*.js" --excludeFileMask "*.dll, *.exe" --includeSubDirectories --find "Doc/" --replace ""
move "E:\YourOutputPath\Doc\*.htm" "C:\YourOutputPath"
Hope this helps someone else.
Kresimir
Our word doc import goes to the Doc subfolder, so it seems that all works if you:
Replace in .html file (remove "../").
"../" => ""
Move htmls files to the root folder.
Replace in .js files (remove "Doc/").
"Doc/" => ""
With fnr app (http://findandreplace.io), the post build event command would look like this:
"C:\YourProjectPath\finishbuild.bat"
..and finishbuild.bat:
"fnr.exe" --cl --dir "C:\YourOutputPath\Doc" --fileMask "*.htm" --excludeFileMask "*.dll, *.exe" --includeSubDirectories --find "../" --replace ""
"fnr.exe" --cl --dir "C:\YourOutputPath" --fileMask "*.js" --excludeFileMask "*.dll, *.exe" --includeSubDirectories --find "Doc/" --replace ""
move "E:\YourOutputPath\Doc\*.htm" "C:\YourOutputPath"
Hope this helps someone else.
Kresimir