This repository has been archived by the owner on Aug 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Clean Slate
Luke Aeschleman edited this page Apr 28, 2017
·
14 revisions
work in progress
- clone last year's GitHub repo
- delete the ".git" folder
- examples dir, contains the templates for future files
-
conf.yml, the sites configuration file
- Remove all of the old urls and links
- turn all toggles to false
-
past-keynotes.yml
- Copy the keynote speaker information from the speakers.yml file into this file
- Add their year
- Move their images from /assets/img/speakers to /assets/img/past-keynotes/
- Update their image-src
- Make sure they have a post entry in the /_posts/keynotes dir
Example Frontmatter for the past-keynote posts:
layout: presentation
title: 'CODE FOR LIBERATION'
speaker: kate-krauss
slides: http://2016.code4lib.org/slides/Kate_Krauss_Code4Lib_Keynote.pptx
categories: past-keynote
- day*_menu.yml
- dinner.yml
- duty_officers*.yml
- locations.yml
- *-proposals.yml files
- scheduke
- speakers.yml
- sponsors.yml
- these often live in assets/img, for instance past year's speakers images
- do not delete the past-keynotes images, "nopics", "badges", "clockface" or "persistent" directories
- Just remove all the html files from _posts
- do not remove the "keynotes" dir
Excluding "assets" and any "_*" dirs,work through all of the other directories and files. Either comment out or remove any information that is no longer valid.
# clone the 2 wikis
git clone https://github.com/2017.code4lib.org.wiki.git
git clone https://github.com/2018.code4lib.org.wiki.git
# copy last year into this year, overwriting whatever exists
cp 2017.code4lib.org.wiki/* 2018.code4lib.org.wiki
# add changes & push to github
cd 2018.code4lib.org.wiki
git add .
git commit -m 'copy wiki from last year'
git push
Note that a lot of the internal links within the wiki (e.g. in the _Sidebar.md menu) will still reference the last year's URL and so will need to be updated. A search-and-replace of the old year for the new should do it.