This repository contains all content used to generate the official Nextech API documentation at https://nextechsystems.github.io/intellechartapidocspub
The Nextech API documentation is located in this repository under source/includes in markdown files. Each file corresponds to a root level topic in the official documentation's navigation pane on the left. You may modify them with any text or markdown editor.
If you need to change the formatting, the style sheets are located in source/stylesheets. The primary style sheet is screen.css.scss.
You are encouraged to modify the documentation from a Mac or Linux based system due to the complexities of setting up a local test environment in a Windows environment to preview your changes.
To preview your changes you must have run and browse to a local web service that points to your clone of this repository.
For assistance or additional instructions please visit the official Slate readme at https://github.com/lord/slate
- Open a new Terminal or Command Shell window
- Browse into the path of your cloned repository on your local machine
- Type in
ruby -v
to determine your version of Ruby - If your version of Ruby is before 2.4, then upgrade Ruby. Mac users may follow the instructions at https://stackoverflow.com/questions/38194032/how-to-update-ruby-version-2-0-0-to-the-latest-version-in-mac-osx-yosemite to upgrade
- Once you've verified your version of Ruby is 2.4 or better, type in
bundle install
- Open a new Terminal or Command Shell window
- Browse into the path of your cloned repository on your local machine
- Type in
bundle exec middleman server
- The URL to the localhost site will appearin your window. Open it from a browser
- If necessary, make changes to your markdown or style sheet, and refresh the page upon saving your changes
You can publish the contents of this repository to https://nextechsystems.github.io/intellechartapidocspub by doing the following:
- Cloning https://github.com/NextechSystems/intellechartapidocspub to a Mac OS machine
- Open a new Terminal or Command Shell window
- Browse into the path of your cloned repository on your local machine
- Type in
./deploy.sh
It takes a few minutes for the changes to go live.