quarto-dev / quarto-dev/quarto-cli

Sidebar not loading properly in new version, works in old version

Open
#9,728 9 comments 0 reactions 1 assignee View on GitHub

@cderv is already working on this.

Since Jun 6, 2024.

bug websites
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

Bug description

image
When rendering my site with the new version of Quarto, v1.4.554, the sidebar does not load in and the darkmode toggle ends up way up in the top right for some reason. If I downgrade to v1.3.450 it works as expected again.
image

Steps to reproduce

I'm not sure what to share here, as all I'm doing is switching quarto versions and re-rendering. Here's my _quarto.yaml though.

  output-dir: docs
  type: website
  render:
    - "*.qmd"
    - "!old/"

format:
  html:
    number-sections: false
    toc: true
    theme:
      light: custom-light.scss
      dark: custom-dark.scss
    #  pdf: #how do I make this all go into the same pdf instead of multiple files? Is that the "book" "type" setting in "project"?? This is poorly documented...
    #    number-sections: true
  pdf:
    latex-auto-install: true
    #documentclass: "scrbook"
    # tbl-colwidths: true # need to instead just specify spacing for specific tables
    fontfamily: libertinus
    geometry:
      - nomarginpar
      - top=0.5in
      - bottom=0.5in
      - outer=0.5in
      - inner=0.5in
    number-sections: false
    toc: false

website:
  title: "citatel"
  repo-url: https://github.com/ikolith/citatel
  favicon: "./assets/images/favicons/favicon.ico"
  page-navigation: true

  sidebar:
    id: "sidebarid"
    openSidebar: true
    style: "docked"
    collapse-level: 1
    search: true
    contents:
      - section: "About"
        contents:
          - book/about/mutiny.qmd
          #- book/about/about.qmd
      - section: "Rules"
        contents:
          - book/rules.qmd
      - section: "Skills, Weapons, Items"
        contents:
          - book/stuff/basic.qmd
          - book/stuff/spoilers.qmd
      # - section: "Menagerie"
      #   contents: "book/menagerie/*.qmd"
Expected behavior

Sidebar should show up in when rendering to website.

Actual behavior

Sidebar does not show up.

Your environment

Using VSCode, but the same thing happens from the command line. Using MacOS Sonoma 14.3.1.

Quarto check output

Old working version:

[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.1: OK
      Dart Sass version 1.55.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.3.450
      Path: /Applications/quarto/bin

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.11.7
      Path: /Users/ibex/shed/citatel/.venv/bin/python
      Jupyter: 5.6.1
      Kernels: mojo-jupyter-kernel, python3

(-) Checking Jupyter engine render....0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........(None)

      Unable to locate an installed version of R.
      Install R from https://cloud.r-project.org/

(.venv)

Newer version:

Quarto 1.4.554
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.11: OK
      Dart Sass version 1.69.5: OK
      Deno version 1.37.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.4.554
      Path: /Applications/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Using: Installation From Path
      Path: /Library/TeX/texbin
      Version: 2023

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.11.7
      Path: /Users/ibex/shed/citatel/.venv/bin/python
      Jupyter: 5.6.1
      Kernels: mojo-jupyter-kernel, python3

[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........(None)

      Unable to locate an installed version of R.
      Install R from https://cloud.r-project.org/

(.venv)

Pre-Release! Also broken!

Quarto 1.5.37
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.2.0: OK
      Dart Sass version 1.70.0: OK
      Deno version 1.41.0: OK
      Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.5.37
      Path: /Applications/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Using: Installation From Path
      Path: /Library/TeX/texbin
      Version: 2023

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.11.7
      Path: /Users/ibex/shed/citatel/.venv/bin/python
      Jupyter: 5.6.1
      Kernels: mojo-jupyter-kernel, python3

[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........(None)

      Unable to locate an installed version of R.
      Install R from https://cloud.r-project.org/

(.venv) 

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.