Source code of vui.guide – a living style guide or pattern library for voice user interfaces. vui.guide is an open source application created with gatsby.js to help designers design their own voice user interface. No matter your level of language, development or design expertise, there are ways to help contribute to the Voice User Interface Guide.
-
Clone vui.guide
Clone or download the official “vui.guide”-Repository from https://github.com/larsmaeder/vui.guide.git
git clone https://github.com/larsmaeder/vui.guide.git
-
Install dependencies
Navigate into site’s directory and start it up.
cd vui.guide npm install -
Start developing
Navigate into site’s directory and start it up.
npm start
-
Open the source code and start editing!
Your site is now running at
http://localhost:8000!_Note: You'll also see a second link:
http://localhost:8000/___graphql.
/docs: The full documentation is written in Markdown and can be edited through the .mdx files inside the top-level docs folder.
Following frontmatter queries are defined inside a .mdx file:
---
title: Behaviour of speak
navDocTitle: Behaviour of speak
path: /docs/behaviour/behaviour-of-speak/
category: behaviour
sort: 2
toc: true
----
title: Output as<title>tag and for the breadcrumb component. -
navDocTitle: Output as<H1>and navigation label. -
path: Output as URL slug as followinghttps://www.vui.guide{path} -
category: Defines the page category. Is used for navigation assignment and page's location relation. -
sort: Used to sort navigation labels inside a category -
toc:Booleanenables/disables the table of content component
-
Start a local build
Navigate into site’s directory, start a build and serve the local build for local environment testing.
npm run build npm run serve
Gatsby serve running at:
http://localhost:9000/
A quick look at the relevant top-level files and directories.
.
├── .github
├── docs
├── src
├── .gitignore
├── .prettierrc
├── gatsby-browser.js
├── CNAME
├── LICENSE
├── README.md
├── gatsby-browser.js
├── gatsby-config.js
├── gatsby-node.js
├── gatsby-ssr.js
├── package-lock.json
└── package.json
-
/docs: this directory contains all content related files that are used inside the documentation itself. -
/src: this directory contains all code related files that are used on the overall vui.guide.
larsmaeder/vui.guide is licensed under the MIT License.
All graphics and assets are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
