docs: updated to packages/techdocs-container

This commit is contained in:
Bilawal Hameed
2020-07-10 16:17:22 +02:00
parent decf400b4b
commit 68d472f702
5 changed files with 23 additions and 15 deletions
+13 -5
View File
@@ -1,15 +1,23 @@
# MkDocs
# techdocs-container
Welcome to MkDocs. This is the TechDocs implementation of MkDocs.
This is the Docker container that powers the creation of static documentation sites that are supported by [TechDocs](https://github.com/spotify/backstage/blob/master/plugins/techdocs).
**WIP: This is a work in progress. It is not ready for use yet. Follow our progress on [the Backstage Discord](https://discord.gg/MUpMjP2) under #docs-like-code or on [our GitHub Milestone](https://github.com/spotify/backstage/milestone/15).**
## Getting started
## Getting Started
Using the TechDocs CLI, we can invoke the latest version of `techdocs-container` via Docker Hub:
```bash
docker build ./container -t mkdocs-container
npx @techdocs/cli serve:container
```
docker run -w /content -v $(pwd)/mock-docs:/content -p 8000:8000 -it mkdocs-container serve -a 0.0.0.0:8000
## Local Development
```bash
docker build ./container -t techdocs-container
docker run -w /content -v $(pwd)/mock-docs:/content -p 8000:8000 -it techdocs-container serve -a 0.0.0.0:8000
```
Then open up `http://localhost:8000` on your local machine.