-
Notifications
You must be signed in to change notification settings - Fork 65
Add a Tech Talk
Jeff Fredrickson edited this page Jan 12, 2018
·
18 revisions
The Tech Talk content is stored in a data file: /_data/techtalks.yml. Any time you want to add or edit a Tech Talk, the techtalks.yml
file is the place to go.
- Create a feature branch based on the
master
branch. Prefix it with your initials, followed by_
, and then a brief summary of the change, e.g.,sc_new-techtalk
(see branching tutorial). - Make the following changes in your feature branch, not on
master
:- Edit
/_data/techtalks.yml
. - Copy and paste the entry for the previous Tech Talk to create a new entry at the top of the file.
- Edit the new entry you just created to add details on the upcoming Tech Talk.
- Make sure the
slides:
line is an empty value. - Enter the URL to the registration form on the
register:
line. - Commit the feature branch
- Edit
- Preview your changes at https://federalist.18f.gov/preview/gsa/cto-website/BRANCH_NAME/ (where BRANCH_NAME is the name of your feature branch, e.g.,
sc_new-techtalk
) - Open a pull request to merge the feature branch to
master
(see pull request tutorial).
Typically, after a Tech Talk concludes, we remove the registration form link and add the slides from the Tech Talk.
- Create a feature branch based on the
master
branch. Prefix it with your initials, followed by_
, and then a brief summary of the change (e.g.,sc_update-techtalk
). View this tutorial for help in creating branches on GitHub. - Make the following changes in your feature branch, not on
master
:- Navigate to the Tech Talks assets folder (
assets/downloads/techtalks
). Then click the Upload button to upload the slides in PDF format. The file name should begin with tech-talk and then include the title of the talk. There should be no spaces in the name, use hyphens instead (e.g.,tech-talk-data-science.pdf
). Copy the name of this file to your clipboard. You will need this in the next step. - Edit
/_data/techtalks.yml
. - Remove the registration URL from the
register:
line. - Enter the file name for the slides PDF on the
slides:
line. prefix it with /assets/downloads/techtalks/ (e.g.,/assets/downloads/techtalks/tech-talk-data-science.pdf
). - Commit the feature branch
- Navigate to the Tech Talks assets folder (
- Preview your changes at https://federalist.18f.gov/preview/gsa/cto-website/BRANCH_NAME/
- Open a pull request to merge the feature branch to
master
(see pull request tutorial).