Skip to content

Xmidt documentation - content and static site generator

License

Notifications You must be signed in to change notification settings

harrythehat1975/docs

 
 

Repository files navigation

Xmidt Documentation

This repository contains both the content and the static-site generator code for the Xmidt documentation site.

Contributing Changes

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.

Prerequisites

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

cd docs
make bundle

Building

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'

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 Deployment

TBD

License

Apache License 2.0, see LICENSE.

About

Xmidt documentation - content and static site generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 81.4%
  • JavaScript 13.8%
  • Ruby 2.8%
  • HTML 1.8%
  • Makefile 0.1%
  • Shell 0.1%