Website for the Algonquian Components Project (Nisinoon)
View the project at Nisinoon.net.
The steps below will update the website with the latest data. In particular, it will:
To start this process, do the following:
The following pages can be easily edited on GitHub:
The following pages should not be edited manually:
To edit a page, follow these steps:
pages/
folder, and click the file with the .md
extension (e.g. About.md
).The bibliography/
folder contains all the scripts and data needed for building the Bibliography page.
The linguistics stylesheet comes from here. You can find other stylesheets in that same repository. Zotero seems to use that repo for its list, so you can test out different styles in Zotero.
Creating the PDF must be done manually using the Prince UI on the local or production versions of the site. (You used to be able to do it during the build process because you were using a static site generator that produced the complete HTML for the page in the dist/
folder. This is no longer the case. In order to produce the PDF during build, you'd have to run a local server, request the page, and run Prince on it, all on GitHub. Not worth it.)
The data/
folder contains all the scripts needed for fetching and transforming the project data for use in the website database.
In order to access files from the Nisinoon project using the Google Drive API, the email address of the Google APIs project needs to be given access to those files.
You can create credentials and download the JSON file for them here.
Version number is for the data, not the website.
To create a data release for Zenodo:
npm version minor
) and commit the change.
meta.json
) are updated automatically when npm version
is run. (See the version
script in package.json
.)DATA
BRANCH.The above steps are done automatically as part of the update
workflow.
Variable | Description |
---|---|
{PageName} |
The page name. Used by Handlebars to check for the current page. |
cssClass |
The value to use in <main class={name}-page> . |
title |
The page title. Will be displayed in the browser tab. |
Variable | Description |
---|---|
NODE_ENV |
localhost | CI | production |
PORT |
The port to connect to. |