GithubHelp home page GithubHelp logo

bluexbyte / documentation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from armory/documentation

0.0 1.0 0.0 53.82 MB

Technical documentation for Armory Spinnaker

Python 0.67% Ruby 1.70% HTML 44.31% CSS 8.14% Shell 0.92% Dockerfile 0.10% Go 2.41% Groovy 41.01% JavaScript 0.74%

documentation's Introduction

documentation

Technical documentation for Armory Spinnaker.

Development

Guides and docs are in markdown. They are split up into directories such as _overview, _user_guides, and _admin_guides. You can modify the markdown files in those directories, or add new ones. The 'order' field at the top of the md files determine where it will be placed on the list.

Jekyll is used to compile the markdown into a website.

Running locally

Once you have this repo checked out,

  1. Download and install Docker
  2. Start the server and make changes
    ./bin/run
    

You can view your changes at : http://localhost:4000 or http://192.168.99.100:4000 (if you're using docker-machine)

to exit, you can do ctrl+c

Pushing to prod

Make a pull-request and once its merged, Jenkins automatically puts it on S3.

Livereload

Install the Livereload chrome extension if you like seeing the page auto refresh when making a change.

Adding a Section

  • Create a directory for your new section contents to reside, prefix the directory name with an underscore (ex. _spinnaker, _admin_guides).

  • Add a top-level file named as your section directory, without the leading underscore, but with .md as an extension -- copy one of the existing files (ex. spinnaker.md, admin_guides.md). Updat the title, permalink, and collection (the last should be set to the name of your section (ex. spinnaker, admin_guides)

  • Add a section in _config.yml under collections, look at the existing examples:

collections:
  spinnaker:
    output: true
    permalink: /spinnaker/:title/
  admin_guides:
    output: true
    permalink: /admin-guides/:title/
  • You'll need to add to _includes/base/header.html a section that provides a section title and iterates over the contents. You can copy from an existing section and just edit two places. In this example, you would change "Armory Spinnaker" to the section title of your choice, and site.spinnaker to site.<your section name>. The rest can be left as-is.
        <li class="Nav-list__section">
          <h3 class="Header--tiny toggle-section-trigger js__toggle-section-trigger" tabindex="0">Armory Spinnaker</h3>
          <ul class="toggle-section">
            {% assign sorted_install_guide = site.spinnaker | sort: 'order' %}
            {% for link in sorted_install_guide %}
              <li><a class="Nav-list__link{% if page.url == link.url %} is-active{% endif %}" href="{{ link.url | relative_url }}">{{ link.title | escape }}</a></li>
            {% endfor %}
          </ul>
        </li>

documentation's People

Contributors

kevinawoo avatar imosquera avatar andrewbackes avatar dotdotdotpaul avatar 317brian avatar justinrlee avatar ncknt avatar lesandeep avatar ckmonad avatar kathrynlewis avatar ethanfrogers avatar german-muzquiz avatar bencoffman avatar mikerowehl avatar robotnealan avatar karlomendozaarmory avatar drodio avatar link108 avatar jeffhart-armory avatar benmappen avatar dpb1857 avatar bpowell avatar alexmbe avatar away168 avatar avram avatar aimeeu avatar michaeldbrown avatar antonio-osorio avatar cj-taylor avatar mhumesf avatar

Watchers

James Cloos 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.