Skip to content

Commit

Permalink
news
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennebacher committed Jul 5, 2024
1 parent d7a1866 commit ab7c0bd
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,32 @@

### Breaking changes

* Simplified rendering for Quarto websites. Previously, the website was rendered into `_quarto/_site` and manually copied over to `docs/`. The new version removes this logic and instead uses the `output-dir` project option. To transition, change `quarto_website.yml` to:
* Simplified rendering for Quarto websites. Previously, the website was rendered
into `_quarto/_site` and manually copied over to `docs/`. The new version removes
this logic and instead uses the `output-dir` project option. To transition, change
`quarto_website.yml` to:
``` yml
project:
output-dir: ../docs/
```
### New features
* `render_docs(freeze = TRUE)` now works correctly when output is `"quarto_website"`. Freezing a document needs to be set either at a project or per-file level. To do so, add to either `quarto_website.yml` or the frontmatter of a file:
* `render_docs(freeze = TRUE)` now works correctly when output is `"quarto_website"`.
Freezing a document needs to be set either at a project or per-file level. To do
so, add to either `quarto_website.yml` or the frontmatter of a file:

``` yml
execute:
freeze: auto
```
* For Quarto websites, `render_docs()` can use the `downlit` package to automatically link function calls to their documentation on the web. Turn off by modifying the `code-link` line in `altdoc/quarto_website.yml`
* For Quarto websites, `render_docs()` can use the `downlit` package to automatically
link function calls to their documentation on the web. Turn off by modifying
the `code-link` line in `altdoc/quarto_website.yml`
* Citation is now formatted with HTML instead of verbatim (#282, Achim Zeileis).
* The `\doi{}` tags in Rd files are now linked once rendered (#282, Achim Zeileis).



### Other changes

Expand Down

0 comments on commit ab7c0bd

Please sign in to comment.