Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quanteda/tutorials.quanteda.io
Quanteda tutorials website
https://github.com/quanteda/tutorials.quanteda.io
blogdown hugo quanteda
Last synced: 9 days ago
JSON representation
Quanteda tutorials website
- Host: GitHub
- URL: https://github.com/quanteda/tutorials.quanteda.io
- Owner: quanteda
- License: mit
- Created: 2017-10-04T07:56:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-07-22T20:57:00.000Z (6 months ago)
- Last Synced: 2025-01-15T07:49:33.876Z (16 days ago)
- Topics: blogdown, hugo, quanteda
- Language: CSS
- Homepage: https://tutorials.quanteda.io
- Size: 110 MB
- Stars: 39
- Watchers: 11
- Forks: 54
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# quanteda tutorials website
[quanteda tutorials website](https://tutorials.quanteda.io) is created by Hugo based on the [Learn theme](https://github.com/matcornic/hugo-theme-learn). Since Hugo accepts only Markdown and HTML, we use [**blogdown**](https://github.com/rstudio/blogdown) to generate those files from Rmarkdown.
## How to add new pages?
You can add new pages to the `content` folder, but note that the file extension must be `.Rmarkdown` not `.rmd`, because
**blogdown** converts `.rmd` to `.html` and `.Rmarkdown` to `.markdown`. After adding pages, you probably have to rebuild the website by clicking the 'Build Website' button in the build panel in R Studio.## How to edit pages?
If you have **blogdown** installed, you can execute `blogdown::serve_site()` in the console to check how your pages will look like. It will start a web server on your local machine so that you can preview the changes in your browser. HTML files are saved in the 'public' folder.## How to update files on the server?
After editing the website locally, commit all the changes and push them to the master branch. [Netlify](https://www.netlify.com) will then detect the changes and update the file on the server for you within a minute or so.