Giter Site home page Giter Site logo

terrorizer1980 / obs-docu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opensuse/obs-docu

0.0 1.0 0.0 8.9 MB

Official Open Build Service Documentation. Content gets reviewed and edited. Generated books are available at http://www.openbuildservice.org

Dockerfile 100.00%

obs-docu's Introduction

Open Build Service Documentation

This is the official, edited and reviewed documentation for the Open Build Service (OBS).

The documentation is currently split into these books:

  • The OBS User Guide
  • The OBS Administration Guide

For more ideas and TODOs, see the Trello board at https://trello.com/b/DxiucSKw/obs-documentation

Building the books

To build those documents you need to install openSUSEs DocBook Authoring and Publishing Suite (daps).

After editing the document validate your changes via the following commands, for example:

$ daps -d DC-obs-user-guide validate

Similar for other guides. HTML documentation can get generated via

$ daps -d DC-obs-user-guide html

Development Environment

We are also shipping a docker/docker-compose based development environment that you can use.

  1. Since we mount the repository into our container, we need to map your local user id to the one of the container user:

    sed "s/REPLACE_THIS_WITH_YOUR_ID/`id -u`/" docker-compose.override.yml.example > docker-compose.override.yml
  2. Then you can build the development environment with:

    docker-compose build
  3. And after it's built, you can run any command in it via:

    docker-compose run --rm obs-docu daps -vv -d DC-obs-all html

Podman-based Development Environment

If you are not using docker and docker-compose, then you can achieve the same using podman and buildah:

$ buildah bud --layers --build-arg CONTAINER_USERID=0 --build-arg USER=root --tag obs-docu .
$ podman run --rm -v $(pwd):/obs-docu:Z localhost/obs-docu daps -vv -d DC-obs-all html

Update Documentation

The first steps to update the documentation are:

  • Fork obs-docu project and clone the fork on your computer.
  • Prepare the development environment following the instructions above.
  • Add or correct a piece of documentation.
  • Commit your changes in a new branch and send a Pull Request (as in any other repository).
  • Wait until your changes are merged.

Once the Pull Request is approved and merged, your changes are ready to be deployed. However, the OBS documentation is hosted online at openbuildservice.org, so you should move to obs-landing repository where you'll find the instructions to deploy.

obs-docu's People

Contributors

adrianschroeter avatar tomschr avatar bgeuken avatar hennevogel avatar saraycp avatar eduardoj avatar fsundermeyer avatar martin-a-brown avatar dcermak avatar davidkang avatar nkoranova avatar chrisbr avatar ana06 avatar dmarcoux avatar cschneemann avatar krauselukas avatar mdeniz avatar mlschroe avatar quatran avatar perlpunk avatar m0ses avatar dsamx avatar danidoni avatar rubhanazeem avatar jubalh avatar mwilck avatar lethliel avatar aspiers avatar bischoff avatar probonopd 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.