Skip to content

kaitas/hubs-docs-jp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mozilla Hubs Docs

This repo is for the documentation for Mozilla Hubs, and related products such as Hubs Cloud and Spoke.

The documentation is under active development. If there are any changes or updates you recommend, feel free to submit a pull request or let us know in our Discord Server.

This website was created with Docusaurus.

Docusaurus information

What's In This Document

Get Started in 5 Minutes

  1. Make sure all the dependencies for the website are installed:
# Navigate to the website directory
$ cd website

# Install dependencies
$ yarn
  1. Run your dev server:
# Start the site
$ yarn start

Note: If your yarn installation cause error in Visual Studio Code on Windows, and Chocolatey is installed, you can start PowerShell in admin mode and install the yarn with choco install yarn. For details and other environments, click here.

Directory Structure

Your project file structure should look something like this

my-docusaurus/
  docs/
    doc-1.md
    doc-2.md
    doc-3.md
  website/
    core/
    node_modules/
    pages/
    static/
      css/
      img/
    package.json
    sidebar.json
    siteConfig.js

Editing Content

Editing an existing docs page

Edit docs by navigating to docs/ and editing the corresponding document:

docs/doc-to-be-edited.md

---
id: page-needs-edit
title: This Doc Needs To Be Edited
---

Edit me...

For more information about docs, click here

Editing an existing blog post

Edit blog posts by navigating to website/blog and editing the corresponding post:

website/blog/post-to-be-edited.md

---
id: post-needs-edit
title: This Blog Post Needs To Be Edited
---

Edit me...

For more information about blog posts, click here

Adding Content

Adding a new docs page to an existing sidebar

  1. Create the doc as a new markdown file in /docs, example docs/newly-created-doc.md:
---
id: newly-created-doc
title: This Doc Needs To Be Edited
---

My new content here..
  1. Refer to that doc's ID in an existing sidebar in website/sidebar.json:
// Add newly-created-doc to the Getting Started category of docs
{
  "docs": {
    "Getting Started": [
      "quick-start",
      "newly-created-doc" // new doc here
    ],
    ...
  },
  ...
}

For more information about adding new docs, click here

Full Documentation

Full documentation can be found on the website.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 82.1%
  • Shell 9.6%
  • CSS 4.5%
  • HTML 3.8%