Skip to content

rodehoed/theforeman.org

This branch is 2209 commits behind theforeman/theforeman.org:gh-pages.

Folders and files

NameName
Last commit message
Last commit date
Aug 21, 2015
Aug 24, 2015
Aug 4, 2015
Jul 22, 2015
Aug 24, 2015
Jul 8, 2015
Apr 10, 2014
Aug 21, 2015
Mar 14, 2014
Jul 10, 2013
Jul 10, 2013
Mar 1, 2013
Aug 4, 2015
Jul 10, 2013
Aug 18, 2015
Nov 27, 2012
Dec 17, 2013
Jan 7, 2014
Jun 5, 2015
Aug 21, 2015
Jan 9, 2013
Feb 3, 2014
Jun 20, 2015
Sep 23, 2014
Mar 5, 2015
Jul 15, 2015
May 12, 2015
Jul 22, 2015

Repository files navigation

theforeman.org

This repo contains the source code for theforeman.org. All of the site's content is written in Markdown. If you're not familiar with it, fear not; it's easy to learn and to become rapidly productive!

Everything you push into the gh-pages branch goes live immediately!

Testing locally

To test your changes locally use

# rake

to generate your site in the _site directory, or

# rake server

To start Jekyll server locally.

Contributing

  1. Fork this repo to your account.
  2. Clone the fork.
  3. Run bundle install in the root of the freshly cloned repo. This will install Jekyll, the tool we use to build the site.
  4. Run jekyll serve --watch and open your browser to http://localhost:4000.
  5. Make some changes, refresh your browser to preview them.
  6. Submit a pull request.

Updating API Auto-Generated Docs by apipie

Generate API docs in Foreman

  1. cd to foreman directory
  2. rake apipie:cache

Prepare folder for the new version (X.Y)

  1. cd to theforeman.org/api directory
  2. cp -r new_version_template X.Y
  3. edit file X.Y/index.md and set correct version

Copy docs to repo

  1. cp -r dir/to/foreman/public/apipie-cache/apidoc/* Y.Y/apidoc

About

The new and improved Foreman website.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 99.2%
  • Other 0.8%