Giter VIP home page Giter VIP logo

docs-installation-guide's Introduction

CentOS Installation Guide

This repository contains the sources that make up the CentOS Installation Guide. Please report Issues and submit Pull Requests for Content Fixes here. For other issues or fixes, use:

  • CentOS_Docs - the builder repository for the entire website, including for example structure configuration
  • CentOS_Docs_Web_UI - the website's user interface (e.g. CSS styling) sources

Repository structure

The documentation is broken up into two top level directories. The legacy_docs directory contains the debranded single-page html documentation. As the directory name implies, the contents of this directory are to be considered legacy and updates will likely not happen.

The modules directory contains ASCIIDoc sources which are actively maintained and which can be used to build the CentOS 7 Installation Guide using the build.sh and preview.sh scripts, as described below. The build script used a Docker container to run the Antora publishing system and compose a static website out of the ASCIIDoc sources, and the preview script runs another container with nginx that allows you to preview the site locally. Details are described further in this document.

Structure

|-- README.md
|-- antora.yml ....................... 1.
|-- build.sh ......................... 2.
|-- preview.sh ....................... 3.
|-- site.yml ......................... 4.
`-- modules
    `-- ROOT ......................... 5.
        |-- assets
        |   `-- images ............... 6.
        |       `-- pizza.png
        |-- nav.adoc ................. 7.
        `-- pages .................... 8.
            |-- architecture.adoc
            |-- community.adoc
            |-- faq.adoc
            |-- index.adoc
            |-- pizza-dough.adoc
            `-- pizza-owen.adoc
  1. Metadata definition.
  2. A script that does a local build. Uses docker.
  3. A script that shows a preview of the site in a web browser by running a local web server. Uses docker.
  4. A definition file for the build script.
  5. A "root module of this documentation component". Please read below for an explanation.
  6. Images to be used on any page.
  7. Menu definition. Also defines the hierarchy of all the pages.
  8. Pages with the actual content. They can be also organised into subdirectories if desired.

Components and Modules

Antora introduces two new terms:

  • Component — Simply put, a component is a part of the documentation website with its own menu. Components can also be versioned.
  • Module — A component can be broken down into multiple modules. Modules still share a single menu on the site, but their sources can be stored in different git repositories, even owned by different groups. The default module is called ROOT (that's what is in this example; the guide actually uses install-guide). If you don't want to use multiple modules, you can use ROOT. But to define more modules, simply duplicate the ROOT directory and name it anything you want. You can store modules in one or more git repositories.

How to edit these documents

All of this is written in AsciiDoc. It's a simple mostly-plain-text markup language. You may want to look at:

Local preview

This repo includes scripts to build and preview the contents of this repository. Both scripts use docker, so please make sure you have it installed on your system. Please see below for instructions.

To build and preview the site, run:

$ ./build.sh && ./preview.sh

The result will be available at http://localhost:8080.

Installing docker on Fedora

$ sudo dnf install docker
$ sudo systemctl start docker && sudo systemctl enable docker

docs-installation-guide's People

Contributors

andreamtp avatar arrfab avatar david-pulkowski avatar ebeagle avatar gelob avatar illumino avatar josephharney avatar larkly avatar nothing4you avatar pbokoc avatar rjordway avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs-installation-guide's Issues

Fix other product mentions

In several places the book refers to other Red Hat products such as Satellite, RHEL Atomic Host, or RHEV. We should identify the upstream for each such product and refer to that instead.

(Migrated from CentOS/docs#18)

Review lorax chapter

The chapter on Lorax is probably not fully accurate since it was taken directly from RHEL7 and it references some RHEL-specific workflows. Determine how this works on CentOS and adjust for any differences.

(Migrated from CentOS/docs#16)

Fix iso names

In a lot of places the guide references ISO images and uses the Red Hat format for their filenames. This should be changed to the format CentOS uses.

(Migrated from CentOS/docs#15)

Prepare for 7.6.1810

We'll need to identify new content added to the guide in RHEL 7.6, determine if it applies to us (e.g. we don't care about s390x changes), and migrate what does to our guide.

We'll also need to do stuff like bump the version number to 7.6.1810 everywhere, check that the publication year is correct, update version history, etc.

Then we can release for 1810.

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.