Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Course - Templates to Edit #36

Open
6 tasks
github-actions bot opened this issue Oct 9, 2024 · 0 comments
Open
6 tasks

New Course - Templates to Edit #36

github-actions bot opened this issue Oct 9, 2024 · 0 comments

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Oct 9, 2024

Follow the instructions here in ottrproject.org for details on how to start editing your OTTR website.

The following files need to be edited to get this new website started!

Files that need edited upon creating a new website.

  • README.md - Fill in the README with the title of the website, a brief description of the website, and any other details that would be useful for anyone who encounters your website.
  • index.Rmd - Update the title field. Since this Rmd file serves as the website's landing page, include any information you believe will be beneficial for visitors upon their arrival.

Files that need to be edited upon adding each new page.

  • _site.yml - Include the title of your newly created page in the text field, and insert the corresponding html file name into the href field.

Picking a style

See more about customizing style on this page in the guide.
By default this website template will use the jhudsl data science lab style. However, you can customize and switch this to another style set.

Using a style set

Read more about the style sets here.

  • On a new branch, copy the style-sets/<set-name>/index.Rmd and style-sets/<set-name>/_output.yml to the top of the repository to overwrite the default index.Rmd and _output.yml.
  • Copy over all the files in the style-sets/<set-name>/copy-to-assets to the assets folder in the top of the repository.
  • Create a pull request with these changes, and double check the rendered preview to make sure that the style is what you are looking for.

Files that need to be edited upon adding new packages that the book's code uses:

  • docker/Dockerfile needs to have the new package added so it will be installed. See instructions.
  • The code chunk in index.Rmd should be edited to add the new package.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants