FHIR / sample-ig

A sample, template-driven implementation guide that provides instruction on creating IGs
Other
41 stars 65 forks source link

add pages #37

Closed teryfly closed 4 years ago

teryfly commented 4 years ago

I'm trying to add some pages by add *.md files to the sample-ig\input\pagecontent dir, and add tag in the ig.ini like this:

<generation value="markdown"/> </page> <p>but I'm get the following err: "Publishing Content Failed: Template based HTML file profliles.html is missing source file profliles.md "</p> <p>How to add the "Template based HTML file profliles.html" to publish a new page?</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/lmckenzi"><img src="https://avatars.githubusercontent.com/u/4911489?v=4" />lmckenzi</a> commented <strong> 4 years ago</strong> </div> <div class="markdown-body"> <p>Can you share your whole <code><page/></code> entry for one of your .md files?</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/teryfly"><img src="https://avatars.githubusercontent.com/u/2571622?v=4" />teryfly</a> commented <strong> 4 years ago</strong> </div> <div class="markdown-body"> <p>This is the <page/> entry in my ig.xml which is referenced in the ig.ini: <code><page></code> <code><nameUrl value="profliles.html"/></code> <code><title value="my profiles list"/></code> <code><generation value="markdown"/></code> <code></page></code></p> <p>and in the sample-ig\input\pagecontent\profliles.md is like this:</p> <p><code>{% include list-simple-profiles.xhtml %}</code> <code>{% include list-simple-extensions.xhtml %}</code></p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/lmckenzi"><img src="https://avatars.githubusercontent.com/u/4911489?v=4" />lmckenzi</a> commented <strong> 4 years ago</strong> </div> <div class="markdown-body"> <p>It looks like there's a typo in nameUrl? I suspect the file name in your input/pagecontent is named "profiles.md" rather than "profliles.md"</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/teryfly"><img src="https://avatars.githubusercontent.com/u/2571622?v=4" />teryfly</a> commented <strong> 4 years ago</strong> </div> <div class="markdown-body"> <p>thanks, I should concentrated!</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>