Git Product home page Git Product logo

docs's Introduction

Smallstep Docs

This repository contains documentation for Smallstep projects and products. These docs are served at https://smallstep.com/docs.

Issues and pull requests are welcome!

Docs Style & Syntax

  • The docs repo uses MDX syntax. MDX allows us to intersperse traditional Markdown with JSX tags (React components and other HTML-like tags). A JSX tag block looks like this:

    <Alert severity="info">
        <AlertTitle>Want to run an SSH CA?</AlertTitle>
        <div>
            By default, the SSH CA is disabled.
            Create a CA with SSH CA capabilities by running <Code>step ca init --ssh</Code>.
        </div>
    </Alert>
    

    Take a look through a few docs pages to get familiar with the React components we use in our docs, and how to use them. There's no formal docs for these yet.

  • Use semantic linefeeds when possible.

  • Follow the conventions outlined in Google's Technical Writing classes.

  • Further reading: Writing Tools I Learned from The Economist

Preview docs locally

To run and preview docs locally (requires Node.js and Yarn):

$ yarn install
$ yarn start

Before opening a PR, format your code changes (only affects JSX and MDX):

$ yarn format

Check formatting with yarn lint.

Updating the step CLI reference docs

Everything under src/pages/docs/step-cli/reference is auto-generated whenever we release a new version of step. To make a change to the CLI reference, you'll have to make the edit in smallstep/cli and make a PR over there. The reference docs are embedded in the source files under the command folder in that repo.

Practical Zero Trust

The Practical Zero Trust articles are a bit different. They are templated, rather than freeform Markdown. Look at existing examples in src/pzt for reference.

docs's People

Contributors

tashian avatar alanchrt avatar mikemaxey avatar masoncooper19 avatar maraino avatar hslatman avatar dopey avatar tommy-56 avatar dependabot[bot] avatar areed avatar smallstep-eng-ci avatar j-hunter-hawke avatar linda-ikechukwu avatar jdoss avatar devadvocado avatar jaykaypea avatar delamart avatar slamdunk avatar rjfmachado avatar joshdrake avatar step-ci avatar richardjs avatar lindambrown avatar advatar avatar iamlunchbox avatar herobs avatar dmorawetz avatar dngray avatar bcrisp4 avatar shrikeh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.