Skip to content

Commit

Permalink
Streamline instructions for rendering a single file
Browse files Browse the repository at this point in the history
  • Loading branch information
penelopeysm committed Aug 14, 2024
1 parent 2948ab7 commit 511e159
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,10 @@ Once you have the prerequisite installed, you can follow these steps:

This will render the full website in `_site` folder.

It is also possible to render a single tutorial or `qmd` file without compiling the entire site. This is often helpful to speed up compilation when editing a single docs page. To do this, first `cd` to the file's folder, and run `quarto preview` or `quarto render`:
It is also possible to render a single tutorial or `qmd` file without compiling the entire site. This is often helpful to speed up compilation when editing a single docs page. To do this, pass the `qmd` file as an argument to `quarto render`:

```
cd somedocs # This is the folder containing a docs `qmd` file.
quarto render index.qmd
quarto render path/to/index.qmd
```

## License
Expand Down

0 comments on commit 511e159

Please sign in to comment.