Giter Site home page Giter Site logo

docs-11's Introduction

CentOS Docs website builder

This repository hosts the site builder for https://docs.centos.org/. It pulls content from other repositories defined in the site.yml Antora playbook, builds them together using a structure defined in this repository, and applies a UI bundle to them, creating the whole site. Submit PRs and issues to this repository for publishing fixes. The other repositories are:

Adding new content

To add a new content repository, you must:

  1. Add the repository to the site.yml file. Use the repositories already defined for guidance.
  2. Add a link to the front page of the new repository into pages/homepage/modules/ROOT/pages/index.adoc. Note that you will need to do this in raw HTML, the page uses a passthrough block. Again, use the other links already on the page for guidance.
  3. Build this repository and publish - see below.

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

How to publish

  1. Build the site using the build.sh script.
  2. Open the CentOS_Docs_Web and switch to branch prod.
  3. Copy the public/ folder of this repository into the en-US folder of the docs-web repository.
  4. Ask someone to pull from the repository and republish. (In the future this will happen automatically, this is only a temporary workaround.)

docs-11's People

Contributors

arrfab avatar batool-ahmed avatar jperrin avatar pbokoc avatar quaid avatar tigalch 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.