Skip to content

drasi-project/docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drasi documentation

This repo contains the documentation source for https://drasi.io.

Contributing

Drasi's documentation follows the Diataxis framework for its structure and content. Follow the guidance in here to learn how to get started with contributing and creating new documents for Drasi. Please review our Contributions guide.

Pre-requisites

Framework

The documentation website is generated with the Hugo framework.

Theme

The Docsy theme is used to style the generated site. Refer to the Docsy authoring guide for helpful tips on creating content for Drasi.

  1. Install Hugo

  2. Clone the drasi-project/docs repo

  3. Change to the docs subfolder

    cd docs/docs

  4. From the root of the drasi-project/docs repo, where this readme is located, run git submodule update --init --recursive --remote to pull Docsy code that is configured as a submodule.

  5. Switch to the Docsy theme folder

    docs/themes/docsy folder

  6. Run the command npm install

Run local server

Follow these steps to build the docs locally

  1. Open a terminal window
  2. Ensure that you are in the docs/docs folder of the repo
  3. Run the command hugo server

The documentation website will be accessible on the URL http://localhost:1313/

Deploying to Azure

The documentation website is hosted on Azure in an App Service called project-drasi-docs in the project-drasi-docs Resource Group in the Azure Incubations Dev subscription.

Currently, we need to manually build and deploy the documentation site. The easiest way to do this is:

  1. Open a terminal
  2. Change to the docs folder
  3. Run the command hugo to build the site
  4. Use the Azure App Service Extension for VS Code to publish the docs/docs/public folder to the project-drasi-docs App Service.

Once deployed, the documentation site is accessible at the URL https://project-drasi-docs.azurewebsites.net/.

Access to the site is restricted to people that are members of the Project Drasi Preview Users AD Group.

Code of Conduct

Please refer to Drasi's Community Code of Conduct.

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •