Skip to content

Commit 592f4ed

Browse files
committed
Update workflow
1 parent 172cdb1 commit 592f4ed

2 files changed

Lines changed: 6 additions & 11 deletions

File tree

bookdown/README.Rmd

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Importantly, this job should not break even if you work on a remote computer and
5050

5151
Once this is done, you can check the output by opening "IsoriX_project/bookdown/docs/index.html" (if it did not open automatically).
5252

53-
Then, if using RStudio, you may serve the book:
53+
Then, if using RStudio, you may serve the book (it also creates the gif of the starting page):
5454

5555
```{r, eval = FALSE}
5656
bookdown::serve_book()
@@ -59,9 +59,7 @@ bookdown::serve_book()
5959
This displays the bookdown in RStudio and refreshes on the fly any time you save your edits on a chapter.
6060
This is much more convenient than calling `render_book()` repeatedly, but it breaks as soon as the connection with RStudio Server is interrupted.
6161

62-
Once you are satisfied with the results, you may want to delete once again the content of the folder "output" and render (not serve) the book again.
63-
64-
Pull, commit and push the changes and then publish the content to update the website using:
62+
Once you are satisfied with the results, pull, commit and push the changes and then publish the content to update the website using:
6563

6664
```{r, eval = FALSE}
6765
rsconnect::connectCloudUser()

bookdown/README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ Once this is done, you can check the output by opening
5050
“IsoriX\_project/bookdown/docs/index.html” (if it did not open
5151
automatically).
5252

53-
Then, if using RStudio, you may serve the book:
53+
Then, if using RStudio, you may serve the book (it also creates the gif
54+
of the starting page):
5455

5556
bookdown::serve_book()
5657

@@ -59,12 +60,8 @@ you save your edits on a chapter. This is much more convenient than
5960
calling `render_book()` repeatedly, but it breaks as soon as the
6061
connection with RStudio Server is interrupted.
6162

62-
Once you are satisfied with the results, you may want to delete once
63-
again the content of the folder “output” and render (not serve) the book
64-
again.
65-
66-
Pull, commit and push the changes and then publish the content to update
67-
the website using:
63+
Once you are satisfied with the results, pull, commit and push the
64+
changes and then publish the content to update the website using:
6865

6966
rsconnect::connectCloudUser()
7067
bookdown::publish_book(name = "IsoriX")

0 commit comments

Comments
 (0)