teedoc build problems

jinja2.exceptions.TemplateNotFound: base.html.j2

Need upgrade nbconvert

pip3 install --upgrade nbconvert

Plugin error, or code raise error

Firstly, try to upgrade teedoc by:

pip install -U teedoc

Then update plugins in your doc directory:

teedoc install

If problems remain exists, create issue on github

OSError: [Errno 28] inotify watch limit reached

It only appears when using teedoc serve, that is, the number of files monitored has reached the upper limit set by the system.
It usually happens when a large number of files are detected by the software, and the common situations are as follows:

  • An editor such as vscode opens a folder with a lot of files. Turning off this kind of software or opening fewer files (folders) will usually solve the problem, refer to error ENOSPC
  • There are indeed too many documents in the document project, reaching the upper limit of monitoring. This situation is generally rare. If it occurs, you need to set the upper limit of the system’s monitoring. Please search for the specific method.