Git Product home page Git Product logo

stormpath-documentation's Introduction

#Stormpath Product Guides

The Stormpath Product Guide documentation repo

Install

pip install Sphinx

Other options here.

If you already have Sphinx, then just upgrade:

pip install -U Sphinx

If you want to be able to generate Live Docs (mentioned below), you'll also need to install sphinx-autobuild:

pip install sphinx-autobuild

Then clone this repo.

git clone --recursive ...

Structure

├── source
    ├── _static
    ├── _templates
    ├── code
    │   ├── csharp
    │   ├── java
    │   ├── nodejs
    │   ├── php
    │   ├── python
    │   ├── ruby
    │   ├── template
    │   └── vbnet
    ├── images
    │   ├── about
    │   ├── accnt_mgmt
    │   ├── auth_n
    │   ├── idsite
    │   ├── multitenancy
    │   └── quickstart
    └── robots
  • All of the .rst files are in source/
  • All code samples are in source/code/, sorted by chapter name.
  • All images are in source/images/, sorted by chapter name.

How To Generate The Docs

Generating Static Docs

make html will generate the REST Product Guide as HTML.

make html LANGUAGE={name} will generate the Product Guide for the specified language.

The possible values for {name} are:

  • rest
  • php
  • java
  • csharp
  • vbnet
  • python
  • nodejs
  • ruby

If you would like to generate all of the Product Guides in one go, you can use the same command that Travis uses:

make allhtml

This will iterate through every language and generate the Product Guide for that language.

Note: This command has an additional -W flag that converts all warnings into errors. This means that the build stops at the first warning.

Generating Live Docs

In order to generate auto-reloading "live" documentation, use the following command:

make livehtml

Just like make html, this command can also take a language parameter:

make livehtml LANGUAGE={name}

The values for {name} are the same as for generating static documentation.

Viewing the Docs

Once you are finished generating the docs, you can view them with the following command:

open build/html/index.html

You can replace index.html with whatever chapter you would like.

If you used the make allhtml command, then you can find the generated files in:

build/html/{language}/index.html

Contributing to this Repo

All branches should be made off the Develop branch. After your changes are complete, create a PR back to Develop.

Additionally, if you are working with a task captured in a GitHub issue, please name your branch accordingly. For example: 202_account_linking.

stormpath-documentation's People

Contributors

cilim avatar dogeared avatar dondebonair avatar jakubvul-okta avatar jarias avatar kinow avatar mrafiei avatar nbarbettini avatar omgitstom avatar pmiller7 avatar rdegges avatar robertjd avatar seanbrant avatar typerandom 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.