Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.
/ docs Public archive

Powering docs.labdao.xyz. All LabDAO project documentation is deployed via this repository.

Notifications You must be signed in to change notification settings

labdao/docs

Repository files navigation

LabDAO Docs

This repository powers docs.labdao.xyz. It pulls together all LabDAO/OpenLab documentation together into a single site using Docusaurus.

Writing documentation

We've established some conventions around writing documentation that make it easy to integrate new projects' docs into this repository and deploy those docs to docs.labdao.com. Here's what you need to know:

  • All documentation should live in a folder named docs/ in the root of your repository.
  • When making references between documentation files, use relative paths.
  • Each Markdown page should have a front matter section at the beginning, which at minimum should define the document's title and description.
  • If you want to control the order in which the documents in a directory show up in the sidebar, add sidebar_position: <x> to the front matter for each document in the directory.
  • If you want to customize the sidebar label for a particular directory, add a _category_.json file in the relevant directory with the contents { "label": "My Label" }. All the options available via _category_.json are documented here.

To add your repository's documentation to docs.labdao.com, make a pull request adding your repository as a Git submodule inside of this repository's docs/_projects folder. The submodule should be referenced in .gitmodules using an HTTPS repository link, not an SSH link (for Vercel compatibility).

Development

$ yarn
$ yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

This repository is deployed using Vercel, which has a Docusaurus V2 template. Just create a new Vercel project, connect it to this repository, and click deploy, and you're off to the races!

Misc

We collect anonymized analytics information from visitors to the documentation site to help us write better docs and understand which documentation is most important to our users.

About

Powering docs.labdao.xyz. All LabDAO project documentation is deployed via this repository.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published