Skip to content

bcgov/public-cloud-techdocs

Repository files navigation

Public Cloud technical documentation

This is a single location for all technical/developer documentation for product teams working on the Public Cloud Platform.

Visit the deployed Gatsby site at docs.developer.gov.bc.ca. See how that's deployed at the private-cloud-techdocs repo.

Documentation

Markdown documents are located in ./docs with related images in ./images.

In progress (not yet published) documents are located in ./drafts.

Please see Writing guide for Platform Services technical documentation for documentation formatting and contribution information.

Start your new document from the new Markdown document template.

Call-Outs

To add call-outs to your markdown content, please refer to the following links for supported types and syntax: https://developer.gov.bc.ca/docs/default/component/bc-developer-guide/content-syntax-guide/#admonitions https://squidfunk.github.io/mkdocs-material/reference/admonitions/#supported-types

Deploy locally

To deploy locally you need to have Node.js installed. If you don't have it installed, you can download it from here. You will also need to have Docker installed. If you don't have it installed, you can download it from here.

After you have Node.js and Docker installed, you can follow these instructions to preview content locally. A browser should open with an un-themed, but formatted version of the documentation. This closely resembles what will be visible on the end product.

Windows Users

If you are using Windows, the command provided in the instructions will not work. You have 2 options, either execute a modified command (listed below) from a PowerShell terminal, or execute the command from a Windows Subsystem for Linux (WSL) terminal.

NOTE: The site will not auto-launch in your browser. You will need to click on the link provided in the terminal output (ie. http://localhost:3000).

PowerShell Terminal Command:

docker run -it -p 3000:3000 -v ${PWD}:/github/workspace ghcr.io/bcgov/devhub-techdocs-publish preview

WSL Terminal Command:

docker run -it -p 3000:3000 $(pwd):/github/workspace ghcr.io/bcgov/devhub-techdocs-publish preview

NOTE: If you are executing the command from a WSL terminal, you will need to have the repository cloned into your WSL environment.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published