Skip to content

This is a website for displaying the latest version of DACS

Notifications You must be signed in to change notification settings

saa-ts-dacs/saa-ts-dacs.github.io

Repository files navigation

saa-ts-dacs.github.io

This is the repository for the website displaying the latest version of DACS, available at https://saa-ts-dacs.github.io. This repo includes the Jekyll config, layouts, css, and other files required for building the website.

You may instead be looking for the repository that holds the content of DACS, available here: https://github.com/saa-ts-dacs/dacs.

Getting Started

This will show you how to clone and build the site locally.

Clone the repo

Use the --recurse-submodules option to include the DACS repo.

git clone --recurse-submodules https://github.com/saa-ts-dacs/saa-ts-dacs.github.io
cd saa-ts-dacs.github.io

Prerequisites

Github Pages automatically builds the site from the content in the DACS repo as well as the Jekyll config, layouts and assets in this repo. So, while you don't need anything except git to make changes to the site, you will need Jekyll to build and test locally.

  • git
  • ruby
  • Jekyll
macOS/Linux

For macOS/Linux, you should consider using rvm to manage multiple projects, but this is the easiest method:

gem install jekyll, bundler
bundle install
Windows

It is more difficult to setup Jekyll on Windows. The Jekyll docs detail how to install Jekyll with both RubyInstaller and the Windows Subsystem for Linux.

Building the site

Once Jekyll is installed, all you have to do is

jekyll serve

and navigate to http://localhost:4000

Deployment

Once changes are made, all you have to do is commit the changes to the master branch to update https://saa-ts-dacs.github.io.

git add .
git commit -m "I changed these things!"
git push origin master

Updating to New Versions of DACS

  1. Make sure you have a clone of this repo using the --recurse-submodules option
git clone --recurse-submodules https://github.com/saa-ts-dacs/saa-ts-dacs.github.io
cd saa-ts-dacs.github.io
  1. If you are not working in a fresh clone, pull the latest updates from the DACS repo
git pull --recurse-submodules
git submodule update --remote --recursive
  1. Update the version number as the subtitle option in the _config.yml file

Screenshot showing how to update the version number on line 17 of _config.yml

  1. (Optional) If you were able to install the dependencies, it's a good idea to test the site locally.
jekyll serve
  1. Push updates back to the master branch
git add .
git commit -m "Updated DACS to version 2019.0.3"
git push origin master
  1. (Only if its not updating.)

You may need to use these commands between step 1 and 2:

git submodule init
git submodule update

Updating link to PDF version

  • The PDF URL and version number are listed in _config.yml
  • Update them here when building the site

Screenshot showing how to update the PDF URL and version on lines 18 and 19 of _config.yml

Contributing

The site is maintained by the Technical Subcommittee on Describing Archives: A Content Standard (DACS), but pull requests to improve the site are welcome.

About

This is a website for displaying the latest version of DACS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •