Skip to content

Commit

Permalink
Add some examples
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbuddy committed Jan 24, 2024
1 parent e943d82 commit 7823564
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 12 deletions.
8 changes: 8 additions & 0 deletions docs/examples/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"label": "Examples",
"position": 6,
"link": {
"type": "doc",
"id": "examples"
}
}
13 changes: 13 additions & 0 deletions docs/examples/submit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
sidebar_position: 1
id: examples
---

# Examples

Want to see some examples? Check out this list of example games to get inspired.

- [7 Wonders Duel](https://github.com/boardzilla/7-wonders-duel)
- [Powergrid](https://github.com/boardzilla/powergrid)
- [Hex](https://github.com/boardzilla/hex)
- [Cursed](https://github.com/boardzilla/bz-cursed)
14 changes: 4 additions & 10 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,7 @@ const config = {
],
],

themes: [
"@docusaurus/theme-live-codeblock",
"@docusaurus/theme-mermaid"
],
themes: ["@docusaurus/theme-live-codeblock", "@docusaurus/theme-mermaid"],
themeConfig: {
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
// Replace with your project's social card
Expand Down Expand Up @@ -116,16 +113,13 @@ const config = {
navigation: {
includeCategories: true,
includeGroups: false,
includeFolders: true
includeFolders: true,
},
tsconfig: path.join(__dirname, "../boardzilla-core/tsconfig.json"),
plugin: [
"typedoc-plugin-merge-modules",
"typedoc-plugin-no-inherit",
],
plugin: ["typedoc-plugin-merge-modules", "typedoc-plugin-no-inherit"],
theme: "docusaurus",
frontmatter: {
sidebar_position: 5,
sidebar_position: 7,
},
},
],
Expand Down
2 changes: 0 additions & 2 deletions scripts/make-api-docs
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@ cd ../boardzilla-core
./node_modules/.bin/typedoc
cd -
cp -r ../boardzilla-core/docs docs/api
echo 'label: "API"
position: 6' > docs/api/_category_.yml

0 comments on commit 7823564

Please sign in to comment.