Skip to content

trisberg/projectriff.io

 
 

Repository files navigation

projectriff.io website

Netlify Status

This repo contains configuration and markdown content for projectriff.io.

The site is built with Docusaurus, but does not use the built-in Docusuarus versioning. A complete set of markdown content is maintained in a directory for each published version, e.g the v0.3.x documentation is maintained in docs/v0.3.

Generated HTML is published online using Netlify. The build configuration for Netlify is in netlify.toml.

Getting started

To bring in dependencies for the first time:

cd website
npm install

To preview using a local dev server:

npm start

Creating docs pages

Documentation markdown files live in the /docs directory at the same level as this /website directory. Each markdown file should include at least the following frontmatter:

---
id: documentation-url-slug
title: Documentation Page Title
---

Content...

To allow access through the sidebar, docs pages need to be referenced (by their id) in sidebar.json.

Creating blog posts

Blog posts live in the /website/blog directory.

Blog post files should follow a naming convention of YYYY-MM-DD-my-blog-post-title.md. The lowercase, slugified name following the date will be used for the page url.

---
title: New Blog Post
---

Lorem Ipsum...

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.1%
  • CSS 16.4%
  • Makefile 2.5%