Giter Site home page Giter Site logo

mykllterry / docs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xmidt-org/docs

0.0 0.0 0.0 4.76 MB

Xmidt documentation - content and static site generator

Home Page: https://xmidt.io

License: Apache License 2.0

Dockerfile 0.01% Ruby 1.42% Makefile 0.07% HTML 50.18% CSS 41.26% Shell 0.06% JavaScript 7.01%

docs's Introduction

Xmidt Documentation

This repository contains both the content and the static-site generator code for the Xmidt documentation site. The site can be found at https://xmidt.io

Table of Contents

Code of Conduct

This project and everyone participating in it are governed by the XMiDT Code Of Conduct. By participating, you agree to this Code.

Prerequisites

You need to have a working Ruby environment set up (including bundler) and then install the necessary gems:

cd docs
make bundle

Build

To generate the static site, run:

make build

The resulting static site will be stored in the output directory.

Optionally, you can use an API token to avoid rate limits on the API. You can get an API token from https://github.com/settings/tokens/new.

export GITHUB_AUTHENTICATION='-u user:token'

For building the codex swagger docs run
```bash
redoc-cli  bundle -o swagger.html --title "Codex Documentation" codex.yaml
# then add the following to the top of the file
---
title: Swagger
sort_rank: 15
---

Deploy

Local Development Server

To run a local server that displays the generated site, run:

# Rebuild the site whenever relevant files change:
make guard
# Start the local development server in a separate shell:
make serve

You should now be able to view the generated site at http://localhost:3000/.

Automatic Production Deployment

Pull requests should contain the newly built site, in the docs/ folder. When changes to the docs/ folder are committed to master, the site automatically gets redeployed.

Contributing

See CONTRIBUTING.md for general instructions for new Xmidt contributors.

The main documentation contents of this website are located in the content/docs directory.

Documentation concerning the various Xmidt/Codex/Webpa servers is cloned into the website at build time.

As a guideline, please keep the documentation generally applicable and avoid use-case-specific changes.

docs's People

Contributors

schmidtw avatar kristinapathak avatar joe94 avatar kcajmagic avatar harrythehat1975 avatar marco-parillo 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.