Skip to content
\n

This is where I'm getting really confused. I have created a .rtt file, but have two issues:

\n
    \n
  1. where does it need to sit?
  2. \n
  3. do I need to have both dict lines (as in the example)
  4. \n
\n

I have put the .rtt file in the same directory as the template files, but when I build, I get an error like:

\n

rinoh.resource.ResourceNotFound: (<class 'rinoh.template.DocumentTemplate'>, 'book.rtt', 'book.rtt')

\n

So obviously my .rtt file is in the wrong place. Apologies for being so dim about this, but can anyone point me in the right direction?

","upvoteCount":1,"answerCount":3,"acceptedAnswer":{"@type":"Answer","text":"

OK, I said I was dim! Finally figured out that the .rtt file needs to go in the Sphinx source directory.

\n

All sorted now, so closing this off.

","upvoteCount":1,"url":"https://github.com/brechtm/rinohtype/discussions/367#discussioncomment-3813692"}}}

Where does a .rtt file need to go? #367

Answered by techauthoruk
techauthoruk asked this question in Q&A
Discussion options

You must be logged in to vote

OK, I said I was dim! Finally figured out that the .rtt file needs to go in the Sphinx source directory.

All sorted now, so closing this off.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by brechtm
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #366 on October 06, 2022 11:38.