You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add in directories of "extra" markdown files, but the static asset links aren't correctly being generated (say for directory "foo/bar/my_file.md"). I think the following diff will fix this:
I'm not doing a pull request, as I don't fully understand the generation path, and I'm very behind the curve on using Guard for auto-gen, and what I have done so far gens a lot of extra JS code.
So, hopefully this points in the right direction. If there is a different way to get nested directories of markdown files correctly included, please let me know.
The text was updated successfully, but these errors were encountered:
The code is necessary since code creates relative links, so that the docs can be browsed with the file:// protocol. It simply counts how deep it's nested and creates the backward path to the assets folder.
Installed off master tarball, and works for me. One other note -- the "Index » path/to/my/extra_doc.md" link in the rendered page frame doesn't seem to work with the extra files. But, I can definitely live with this and it may just be some artifact of something I did, so I won't open a new ticket.
I'm trying to add in directories of "extra" markdown files, but the static asset links aren't correctly being generated (say for directory "foo/bar/my_file.md"). I think the following diff will fix this:
I'm not doing a pull request, as I don't fully understand the generation path, and I'm very behind the curve on using Guard for auto-gen, and what I have done so far gens a lot of extra JS code.
So, hopefully this points in the right direction. If there is a different way to get nested directories of markdown files correctly included, please let me know.
The text was updated successfully, but these errors were encountered: