1

In my Sandcastle Help File Builder project I have an HTML folder under the Content folder. It only contains HTML files! None are type of .AML (Application Markup Language File). How do I get these files to show up after compiling my SHFB project?

enter image description here

Each HTML file in that folder is set to the build action of content

enter image description here

If I try to reference these files using a conceptual topic file using the External Link xml tag... I have the problem of not knowing the relative path.

enter image description here

But better yet, shouldn't I be able to automatically include these from the content layout file (directly)? It allows for individual new HTML files but these were already created...

enter image description here

Would an Iframe work to show all html content in that HTML folder?

Thanks for suggestions!

JWP
  • 6,672
  • 3
  • 50
  • 74

1 Answers1

1

The solution turned out to be this:

<section address="Section1">
  <title>Optional section title</title>
  <content>     
    <code language="html" source="Content\SomeContent.html"></code>
    <para>
      <markup>
        <iframe src="Content\SomeContent.html"></iframe>
      </markup>
    </para>         
  </content>
</section>

Note that the code tag does not require the source file to be "included" into the project. This was surprizing as the iframe src had the same location and at first would not show the html. After including the file into the project and changing the build to "Content" everything worked.

JWP
  • 6,672
  • 3
  • 50
  • 74