Coder Social home page Coder Social logo

ryandeussing / foreman-documentation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from theforeman/foreman-documentation

0.0 1.0 0.0 58.84 MB

Documentation for the Foreman Project and its ecosystem

Home Page: https://docs.theforeman.org

License: Other

Makefile 2.75% Ruby 6.16% CSS 53.04% HTML 6.01% JavaScript 0.57% Shell 1.04% SCSS 30.08% Dockerfile 0.33%

foreman-documentation's Introduction

Foreman documentation

THIS IS A WORK IN PROGRESS. VISIT THE OFFICIAL FOREMAN OR KATELLO DOCUMENTATION IF YOU ARE SEEKING HELP.

This git repository contains PoC of improving Foreman documentation.

Foreman Guides

This is a tree of documentation based on Red Hat Satellite 6 official books. Contributions are welcome. See README in the guides/ subdirectory for more information.

Static Site

The landing page for docs.theforeman.org is available as a Hugo project. See README in the web/ subdirectory for more information.

Deployment

Github actions perform HTML (with link validation), PDF and WEB artifact creation and if succeeded and branch is master or stable, artifacts are downloaded, extracted and deployed (commited into gh-pages). Deployment does not delete files, in order to remove some unwanted content, manual deletion and push into gh-pages must be performed.

When a commit is pushed into master:

  • All artifacts are built.
  • Static WEB and HTML is downloaded and copied into / or /nightly respectively.
  • Changes are pushed into gh-pages branch.

When a commit is pushed into X.Y:

  • All artifacts are built.
  • HTML artifact is downloaded and copied into /X.Y.
  • Changes are pushed into gh-pages branch.

Branching new release

  • Create a copy of /web/content/2.3.md (or older version) as X.Y.md and edit it accordingly.
  • Edit /web/content/versions.md and add the new version to the menu.
  • Push the changes into master.
  • Check the site if links and landing page appeared correctly.
  • Create a new X.Y branch.
  • Update TargetVersion and TargetVersionMaintainUpgrade in guides/common/attributes.adoc
  • Push into X.Y branch.
  • HTML guildes should be deployed into /X.Y
  • Set DocState to unsupported in guides/common/attributes.adoc

License

See LICENSE files in individual subdirectories.

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.