nhsengland / datascience-pd-newsletter

Data Science Professional Development Newsletter
https://nhsengland.github.io/datascience-pd-newsletter/
MIT License
1 stars 1 forks source link
Newsletter logo: an envelope marked newsletter with wings

NHS England Data Science Professional Development Newsletter

About

A newsletter promoting professional development for data scientists at NHS England.

Contributing to the newsletter

Have something to contribute to the newsletter? Easily suggest it to us using the "Issues" button on the repository, or click here. We welcome all suggestions and will do our best to include everything suitable to the newsletter.

Creating the newsletter

Creating the next monthly newsletter? Here's how:

Built With

Developing

We create the newsletter using .qmd files, which are markdown files with extra functionality provided by Quarto. Follow the instructions below to find out how to render your .qmd so you can see what it will look like once published.

Credit to rocker-org for making this possible. These instructions are specifically for running in GitHub codespaces. To run on your local machine I believe you would need to additonally install Quarto CLI, as well as the VSCode extension. I'm not sure if it would be possible on a corporate laptop.

Once your GitHub codespace is set up, you can run in terminal: quarto preview path/to/file.qmd. An example filepath is: /workspaces/datascience-pd-newsletter/docs/about.qmd

You can also run via Ctrl+Shift+K, or by clicking the 'Preview' button that should be in the top right of any .qmd file now. It will run the following line in terminal: quarto preview /workspaces/datascience-pd-newsletter/docs/about.qmd --no-browser --no-watch-inputs

--no-browser means it shouldn't automatically open a new tab with the page

--no-watch-inputs means it won't look for changes when you refresh.

I would recommend running it without the additional inputs. It will be quite handy to make changes on the file, then refresh the browser page and see them.

Regardless of which way you choose, it should prepare the preview and give you something like this: Browse at http://localhost:4905/about.html which you can click on to see the webpage.

License

Distributed under a MIT License. See LICENSE.md for more information.