Got error when I customized the sidebar

Hi, I would like to group the similar notebook files into a subfolder and structure the sidebar like nbdev website. I followed the steps below:

  1. set custom_sidebar = true in setting.ini.

  2. create a subfolder projects under the root directory.

  3. create a index.qmd file under the subfolder as below:
    Screen Shot 2022-09-19 at 12.42.05 pm

  4. change sidebar.yml file as below:
    Screen Shot 2022-09-19 at 12.39.58 pm

  5. run nbdev_preview, but I got the error message like this,

Would anyone tell where I got wrong with my settings? Thank you.

You’ve got an extra double-quote here
Screen Shot 2022-09-19 at 12.39.58 pm

Thank you very much, Jeremy. I deleted the double-quote, and reran nbdev_prepare, then nbdev_preview, I still got an error as below:

Do I need to change other settings?

Looks like you’re using features from the quarto prerelease but haven’t installed it

Thank you, Jeremy. I installed the prerelease version, it works now.

1 Like

After installing the prerelease version, it only works locally with nbdev_preview. I cannot deploy it on Github because of the same issue. Is there a way to install the prerelease version on Github while I push it to Github? Thanks.

In your deploy.YAML file set pre:1 like this

Thanks, Hamel. The site is live on Github now.

1 Like