The repository for generating PKP's documentation hub.
[Install Ruby 2.1.0 or higher](bundle install) and install the bundler gem.
gem install bundler
Install Jekyll to build or serve the site.
bundle install
Serve the site locally.
bundle exec jekyll serve
The index page's data is specified in _data/index.yml
. Each app covered is specified under the apps
property. OJS 3 looks like this:
- path: ojs3
title: Open Journal Systems 3
titleShort: OJS
includeInHero: true
description: Our flagship software for open access journal publishing, used by more than 10,000 journals worldwide.
cards:
- path: learning-ojs-3
- path: looking-for-ojs-2
isHighlighted: true
- path: developer
isDeveloper: true
- path: starting-a-journal
path
should be a unique ID made up of numbers and letters with no spaces.title
is the main title of the app's sectiontitleShort
is used in the buttons in the hero element at the topincludeInHero
can be set to false if you want to create an app section but don't want it to be listed in the buttons in the hero element at the topdescription
is a short description that will be placed below the title in the app's sectioncards
see below
Each of the cards
provides a path
which points to markdown files in the _includes/cards
directory. Each of these cards represents a resource card that will be added under that app, and you can use markdown to add links. See the next section.
Create a card under _includes/cards/<app>/<your-new-resource-name>.md
. Give your card a title with three ###
:
### [Your resource title](http://link-to-resource.com)
Add a short description below it, and link to the resource.
This resource will help you accomplish X. [View Now](http://link-to-resource.com)
If you want to add a section to the card, use three dashes before the section:
---
- [Table](/url)
- [Of](/url)
- [Contents](/url)
---
Available in [Deutsch](/url).