How to organize source files in a src
subdirectory?
#975
Unanswered
bryanwweber
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have more than a few chapters (folders) of files in my project. I'd like to organize them all into a
src
subdirectory of the main project. The naive approach, of prependingsrc
onto all the files in the_toc.yml
leads to URLs likelocalhost:port/src/intro.html
. Naturally, I don't want to quite so literally represent my folder structure in the output. Is there a way I can strip thesrc
component from the output?On a related note, the TOC docs state that:
and
But the note about relative locations doesn't seem to be correct. If I see the root as
src/intro
, then all thefile
documents also have to havesrc
prepended, or JB won't find them and gives a warning in the output.Beta Was this translation helpful? Give feedback.
All reactions