This repo contains documentation powering Kekker.
- Git
- Node: any 10.x version or greater
- Npm
cd demoto go into the project rootnpm installto install the website's npm dependencies
npm run developto start the hot-reloading development server (powered by Gatsby)open http://localhost:8000to open the site in your favorite browser
npm run builsto create a minified production bundlenpm run serveto start serving a production versionopen http://localhost:9000to open the site in your favorite browser
- Open a
gatsby-config.jsfile in the root folder - Find a
siteMetadata { \'siteUrl: \'localhost:8000 }}option - Specify a different domain name
All content should be specified in the content folder.
At the moment only docs pages are supported, but there could be more page types (e.g. blog post, news) in the future.
- Go to the
content/docs/folder - Create a folder with a representational name (e.g.
private-node-specification-commands). Do not use spaces in folder- or filenames. - In the new folder, create a
index.mdfile. You can use Markdown-specific language for your text (See Markdown Cheatsheet) - Provide a required meta-information at the beginning of the file
---
title: Your Title
subtitle: Your Subtitle
description: Your Description
date: 2019-06-11
---
- These dashes
---should be present in your file - After meta-info, write all your content
Working example of index.md file
---
title: Test
subtitle: A file for testing (this will go to the meta-tags in html header)
description: Go on and try (this will be displayed on the page)
date: 2019-06-11
---
#### This is test
Some additional info
- Place an image to the same folder, next to your
index.mdfile - On the new line place a following to the
index.mdfile:example: - File structure should be like:
content/
----docs/
-------my-dashboard-article/
------------index.md
------------dashboard-view.png
- Solve 3 remain eslint problems
- Configure css-modules for the project
- Add a global theme with fonts and colors
- Apply a global theme to all elements
- Add global styles for bold html tags and markdown elements
- Add flexible Layout element
- Add Header, Footer, Sidebar elements (sidebar lists all pages)
- Add reusable small components: ButtonLink, Link, etc.
- Add styles for the components
- Configure yml config files to render a valid menu links
- Configure safe yml load with GraphQl
- Add CircleCI to the project
- Deploy master branch