Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@techdocs/cli

Package Overview
Dependencies
Maintainers
5
Versions
1215
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@techdocs/cli

CLI for running TechDocs locally.

  • 0.1.1-alpha.14
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
26K
decreased by-20.21%
Maintainers
5
Weekly downloads
 
Created
Source

TechDocs CLI

Check out the TechDocs README to learn more.

WIP: This cli is a work in progress. It is not ready for use yet. Follow our progress on the Backstage Discord under #docs-like-code or on our GitHub Milestone.

Commands

# Serve localhost:3000 (and localhost:8000)
yarn serve

# Serve localhost:8000 containing your Mkdocs documentation.
yarn serve:mkdocs

Getting Started

You'll need Docker installed and running to use this. You will also need to build the container located at /packages/techdocs-container under the tag mkdocs:local-dev, as you can see in the commands from below:

docker build packages/techdocs-container -t mkdocs:local-dev

From that point, you can invoke the CLI from any project with a docs folder. Try out our example!

cd packages/techdocs-container/mock-docs
npx @techdocs/cli serve

Local Development

You'll need Docker installed and running to use this. You will also need to build the container located at packages/techdocs-container under the tag mkdocs:local-dev (for now until we deploy the container to a centralized Docker registry), as you can see in the commands from below:

docker build packages/techdocs-container -t mkdocs:local-dev
cd packages/techdocs-container/mock-docs
npx techdocs serve

You should have a localhost:3000 serving TechDocs in Backstage, as well as localhost:8000 serving Mkdocs (which won't open up and be exposed to the user).

Happy hacking!

Keywords

FAQs

Package last updated on 15 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc