NatalieZelenka / phenotype_from_genotype

Jupyter book tracking my thesis.
https://nataliezelenka.github.io/phenotype_from_genotype/
Other
0 stars 0 forks source link

[MIGRATE] Front Matter #6

Closed NatalieZelenka closed 4 years ago

NatalieZelenka commented 4 years ago
NatalieZelenka commented 4 years ago

Title page now uses MyST instead of html.

NatalieZelenka commented 4 years ago

I'm trying to use the sphinx toctree directive to make a full table of contents for the PDF. Weirdly, using numbered in the toctree propagates through to the table of contents in the jupyterbook html banner, despite the fact that I use numbered: false in the front matter section of the _toc.yml file

Screen Shot 2020-08-27 at 16 09 39
NatalieZelenka commented 4 years ago

Note: the {tableofcontents} directive just works for one pages contents.

And when I do the toctree of the actual book contents part, then the full toctree ends up showing up in the sidebar:

```{toctree}  
---
maxdepth: 3
numbered: 3
---
../c01-introduction/intro
Biology Background <../c02-biology-background/0-bg-biology>
../c02-biology-background/1-big-questions ```
Screen Shot 2020-08-27 at 16 47 12

Plan is to just leave it for now and see if the jupyterbook people beat me to it, or try to help them with it at the end.

NatalieZelenka commented 4 years ago

Okay, I didn't leave it, but now I've tried some more things which also didn't work.

Things to consider:

NatalieZelenka commented 4 years ago

Completed by #9 TOC issue pushed to a later milestone (issue #7)