Giter VIP home page Giter VIP logo

armory_documentation's Introduction

documentation

This repo is archived. Use https://github.com/armory/docs/.

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). Update 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>

armory_documentation's People

Contributors

kevinawoo avatar imosquera avatar andrewbackes avatar 317brian avatar dotdotdotpaul avatar justinrlee avatar ncknt avatar lesandeep avatar ckmonad avatar kathrynlewis avatar german-muzquiz avatar karlomendozaarmory avatar ethanfrogers avatar michaeldbrown avatar aimeeu avatar bencoffman avatar dogonthehorizon avatar mikerowehl avatar robotnealan avatar drodio avatar link108 avatar jeffhart-armory avatar benmappen avatar bpowell avatar dpb1857 avatar avram avatar away168 avatar alexmbe avatar armory-jenkins avatar cristhian-castaneda avatar

Watchers

 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.