Browse Source

Merge pull request #290 from innovaker/docusaurus-2.0.0-alpha.65

chore(docs): Docusaurus 2.0.0 alpha.65
xmkb
Pete Johanson 4 years ago committed by GitHub
parent
commit
d8740b91ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      docs/blog/2020-05-24-wip.md
  2. 4
      docs/docs/dev-guide-new-shield.md
  3. 1
      docs/docs/intro.md
  4. 1
      docs/docusaurus.config.js
  5. 8056
      docs/package-lock.json
  6. 4
      docs/package.json

1
docs/blog/2020-05-24-wip.md

@ -1,5 +1,4 @@
--- ---
id: wip
title: WIP title: WIP
author: Pete Johanson author: Pete Johanson
author_title: Project Creator author_title: Project Creator

4
docs/docs/dev-guide-new-shield.md

@ -13,7 +13,7 @@ The high level steps are:
- Create a new shield directory. - Create a new shield directory.
- Add the base Kconfig files. - Add the base Kconfig files.
- Add the shield overlay file to define the [KSCAN driver]() for detecting key press/release. - Add the shield overlay file to define the KSCAN driver for detecting key press/release.
- (Optional) Add the matrix transform for mapping KSCAN row/column values to sane key positions. This is needed for non-rectangular keyboards, or where the underlying row/column pin arrangement does not map one to one with logical locations on the keyboard. - (Optional) Add the matrix transform for mapping KSCAN row/column values to sane key positions. This is needed for non-rectangular keyboards, or where the underlying row/column pin arrangement does not map one to one with logical locations on the keyboard.
- Add a default keymap, which users can override in their own configs as needed. - Add a default keymap, which users can override in their own configs as needed.
- Add support for features such as encoders, OLED displays, or RGB underglow. - Add support for features such as encoders, OLED displays, or RGB underglow.
@ -112,7 +112,7 @@ values={[
<TabItem value="unibody"> <TabItem value="unibody">
The `<shield_name>.overlay` is the devicetree description of the keyboard shield that is merged with the primary board devicetree description before the build. For ZMK, this file at a minimum should include the [chosen]() node named `zmk,kscan` that references a KSCAN driver instance. For a simple 3x3 macropad matrix, The `<shield_name>.overlay` is the devicetree description of the keyboard shield that is merged with the primary board devicetree description before the build. For ZMK, this file at a minimum should include the chosen node named `zmk,kscan` that references a KSCAN driver instance. For a simple 3x3 macropad matrix,
this might look something like: this might look something like:
``` ```

1
docs/docs/intro.md

@ -2,6 +2,7 @@
id: intro id: intro
title: Introduction to ZMK title: Introduction to ZMK
sidebar_label: Introduction sidebar_label: Introduction
slug: /
--- ---
ZMK Firmware is an open source (MIT) keyboard ZMK Firmware is an open source (MIT) keyboard

1
docs/docusaurus.config.js

@ -102,7 +102,6 @@ module.exports = {
{ {
docs: { docs: {
// It is recommended to set document id as docs home page (`docs/` path). // It is recommended to set document id as docs home page (`docs/` path).
homePageId: "intro",
sidebarPath: require.resolve("./sidebars.js"), sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo. // Please change this to your repo.
editUrl: "https://github.com/zmkfirmware/zmk/edit/main/docs/", editUrl: "https://github.com/zmkfirmware/zmk/edit/main/docs/",

8056
docs/package-lock.json generated

File diff suppressed because it is too large Load Diff

4
docs/package.json

@ -9,8 +9,8 @@
"deploy": "docusaurus deploy" "deploy": "docusaurus deploy"
}, },
"dependencies": { "dependencies": {
"@docusaurus/core": "^2.0.0-alpha.61", "@docusaurus/core": "^2.0.0-alpha.65",
"@docusaurus/preset-classic": "^2.0.0-alpha.61", "@docusaurus/preset-classic": "^2.0.0-alpha.65",
"classnames": "^2.2.6", "classnames": "^2.2.6",
"react": "^16.8.4", "react": "^16.8.4",
"react-dom": "^16.8.4" "react-dom": "^16.8.4"

Loading…
Cancel
Save