Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Docker container that powers the generation of TechDocs static sites at TIER Mobility. Inspired by Backstage's techdocs-container.

License

Notifications You must be signed in to change notification settings

TierMobility/techdocs-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TIER Mobility TechDocs Container

A Docker container that powers the generation of TechDocs static sites at TIER Mobility.
Inspired by the Backstage techdocs-container.

Builds on top of mkdocs and our customized core mkdocs plugin.

Usage

First, create a docs/ directory and place your markdown files into it. Note that for mkdocs to properly recognize your docs directory, this folder needs to contain an index.md file.
Then, create your mkdocs config file, mkdocs.yaml and place it next to (not inside) the docs/ directory. In order to use the functionality provided by our core mkdocs plugin, specify tier-techdocs-core in the plugins section of the config.

Here is an example of a mkdocs.yaml config file:

site_name: My Docs

plugins:
  - tier-techdocs-core

Before you proceed, make sure you are logged in to GitHub container registry. Check the official documentation to learn how to do this.

Now, you can use the Backstage techdocs-cli to serve a preview of your static site:

npx @techdocs/cli serve -i ghcr.io/tiermobility/techdocs-container:latest

About

Docker container that powers the generation of TechDocs static sites at TIER Mobility. Inspired by Backstage's techdocs-container.

Topics

Resources

License

Stars

Watchers

Forks

Packages