This is where I'm getting really confused. I have created a .rtt
file, but have two issues:
dict
lines (as in the example)I have put the .rtt
file in the same directory as the template files, but when I build, I get an error like:
rinoh.resource.ResourceNotFound: (<class 'rinoh.template.DocumentTemplate'>, 'book.rtt', 'book.rtt')
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?
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.
","upvoteCount":1,"url":"https://github.com/brechtm/rinohtype/discussions/367#discussioncomment-3813692"}}}-
I'm very new to rinohtype, and struggling to get the configuration for my use case just right. I generate my pdf files using Sphinx ( Fine with that, but I need to save it as (say) rinoh_documents = [
dict(doc='index', target='manual', toctree_only=False,
template='manual.rtt', logo='logo.pdf'),
dict(doc='ref', target='reference', title='Reference Manual',
template='reference.rtt', stamp='DRAFT'),
] This is where I'm getting really confused. I have created a
I have put the
So obviously my |
Beta Was this translation helpful? Give feedback.
-
OK, I said I was dim! Finally figured out that the All sorted now, so closing this off. |
Beta Was this translation helpful? Give feedback.
-
Good to see you've figured it out! The |
Beta Was this translation helpful? Give feedback.
-
I just want to add that this one of many things that needs to be documented properly! |
Beta Was this translation helpful? Give feedback.
OK, I said I was dim! Finally figured out that the
.rtt
file needs to go in the Sphinxsource
directory.All sorted now, so closing this off.