Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 404 page not found for /docs/ #289

Merged
merged 3 commits into from
May 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
position: 5.0
position: 6.0
label: Deployment
collapsible: true
collapsed: true
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
position: 5
position: 6.0
label: Deployment
collapsible: true
collapsed: true
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions docs/08-docker/04-versions.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Versions
3 changes: 2 additions & 1 deletion versioned_docs/version-1/intro.md → docs/index.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
sidebar_position: 1
title: Welcome to GameCI
---

# Introduction

This site hosts all documentation for GameCI, and will help you setup Continuous Integration for your game projects.

Continuous Integration is a widely-used practice where automated pipelines check the
Expand Down
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const config = {
items: [
{
type: 'doc',
docId: 'introduction/index',
docId: 'index',
position: 'left',
label: 'Docs',
},
Expand Down Expand Up @@ -193,7 +193,7 @@ const config = {
items: [
{
label: 'Welcome to GameCI',
to: '/docs/introduction/index',
to: '/docs/index',
},
{
label: 'Getting Started with Github',
Expand Down
29 changes: 2 additions & 27 deletions sidebars.js
Original file line number Diff line number Diff line change
@@ -1,31 +1,6 @@
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation

The sidebars can be generated from the filesystem, or explicitly defined here.

Create as many sidebars as you want.
*/

// @ts-check

/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{ type: 'autogenerated', dirName: '.' }],

// But you can create a sidebar manually
/*
tutorialSidebar: [
{
type: 'category',
label: 'Tutorial',
items: ['hello'],
},
],
*/
module.exports = {
defaultSidebar: [{ type: 'autogenerated', dirName: '.' }],
};

module.exports = sidebars;
5 changes: 5 additions & 0 deletions versioned_docs/version-1/03-docker/_category_.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
position: 3.0
label: Docker
collapsible: true
collapsed: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
position: 6.0
label: Deployment
collapsible: true
collapsed: true
5 changes: 5 additions & 0 deletions versioned_docs/version-1/04-github/_category_.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
position: 4.0
label: GitHub
collapsible: true
collapsed: true
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@ It's generally considered good practice to use the same Unity version for your C

## Video tutorial

<iframe src="https://www.youtube-nocookie.com/embed/k0NcedDzEqA" frameborder="0" allowfullscreen width="100%" height="600"></iframe>
<iframe
src="https://www.youtube-nocookie.com/embed/k0NcedDzEqA"
frameborder="0"
allowfullscreen
width="100%"
height="600"
></iframe>

## Setting up gitlab-ci for your Unity project

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
position: 6.0
label: Deployment
collapsible: true
collapsed: true
5 changes: 5 additions & 0 deletions versioned_docs/version-1/05-gitlab/_category_.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
position: 5.0
label: GitLab
collapsible: true
collapsed: true
5 changes: 5 additions & 0 deletions versioned_docs/version-1/06-troubleshooting/_category_.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
position: 6.0
label: Troubleshooting
collapsible: true
collapsed: true
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
sidebar_position: 1
---

# Introduction

This site hosts all documentation for GameCI, and will help you setup Continuous Integration for your game projects.
Expand Down
7 changes: 1 addition & 6 deletions versioned_sidebars/version-1-sidebars.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{
"tutorialSidebar": [
{
"type": "autogenerated",
"dirName": "."
}
]
"defaultSidebar": [{ "type": "autogenerated", "dirName": "." }]
}