This is the code for https://scalatra.org, including all the news, guides, and getting started content.
To build it:
- check it out locally
- install Hugo version 0.31.1. Anything above 0.31.1 will not work because of this issue
- type
hugo serve
from the root directory of the repo
Hugo will fire up, and you'll be able to edit the site's contents at http://localhost:1313/
The docs need to be updated when a new version of Scalatra is released. The following are the steps that were done when 2.7 was published.
- Create 2.7 branch, then create 2.7 directory and copy 2.6 docs to 2.7 directory on 2.7 branch
- Update 2.7 docs on 2.7 branch, then create a pull request
- Merge into master, then publish the website
- Create the file
layouts/_default/guides-2.7.html
. Update it as needed. - In each *.md file, update the
layout: guides-2.6
line tolayout: guides-2.7
. - Add shortcodes for 2.7.
- Update all references of 2.6 to {{< 2-7-scalatra_short_version >}}