-
DescriptionThe shortened _quarto.yml file for a website looks like this, but the last .ipynb file is not rendered (only the .qmd files are): So i wonder if only .qmd files are allowed? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
Yes and it works.
project:
type: website
website:
title: "demo"
navbar:
left:
- href: index.qmd
text: Home
- sidebar:default
sidebar:
- id: default
contents:
- about.ipynb
format:
html:
theme: cosmo
css: styles.css
toc: true❯ quarto render
[1/2] index.qmd
[2/2] about.ipynb
Output created: _site/index.html |
Beta Was this translation helpful? Give feedback.
-
|
I found the reason for the unexpected behaviour in my example. Quarto does not render the .ipynb if there is a .qmd file with the same path present. In the description above, this means that there are the files "docs/tutorials/inertia_estimation_event_based.ipynb" and "docs/tutorials/inertia_estimation_event_based.qmd". Quarto seems to ignore the .ipynb even if it is specified in the _quarto.yml. Instead it renders the .qmd file (not specified in the _quarto.yml). |
Beta Was this translation helpful? Give feedback.
Yes and it works.
quarto create project websitequarto convert about.qmdrm about.qmd_quarto.yml