Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu of website more detailed #11

Closed
stemangiola opened this issue Nov 25, 2020 · 4 comments
Closed

Menu of website more detailed #11

stemangiola opened this issue Nov 25, 2020 · 4 comments

Comments

@stemangiola
Copy link
Owner

@mblue9 do you think is possible to make the website menu, maybe with some option?

image

more detailed such as in Rstudio

image

@mblue9
Copy link
Collaborator

mblue9 commented Nov 25, 2020

We might be able to by adding toc: depth to the pkgdown file, see here https://github.com/r-lib/pkgdown/pull/821/files

@mblue9
Copy link
Collaborator

mblue9 commented Nov 25, 2020

Trying depth of 4 here d1e9205

@mblue9
Copy link
Collaborator

mblue9 commented Nov 25, 2020

Dammit it doesn't work and now I remember we already encountered this a few months ago :( r-lib/pkgdown#1357
The website will only show depth of 2 so we can either

  1. write some javascript to hack around it to show more depth, as mentioned in that issue (but I don't know javascript)
  2. separate out into Part2a/b/c e.g.
 # Part 2a tidyseurat single-cell analysis
     ## Subheadings
 # Part 2b Pseudobulk analysis
    ## Subheadings
 # Part 2c tidySingleCellExperiment single-cell analysis
   ## Subheadings
  1. leave as is

What do you prefer?

@stemangiola
Copy link
Owner Author

Thanks Maria,

let's leave it. no problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants