openSUSE / doc-o-o

Resources for the doc.opensuse.org website

Home Page:https://doc.opensuse.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

doc.opensuse.org

Built with openSUSE Jekyll Theme.

Note that this repo only contains the home page of the site. Actual documents are from:

Development

Setting up the environment

sudo zypper in ruby ruby-devel ruby2.5-rubygem-bundler ruby2.5-rubygem-eventmachine gcc-c++
bundle install

Making changes

Most changes, such as setting up a new product or guide, need to be made in the file _config.yml.

Building the navigation

make build

The resulting site will be in the _site directory.

Serving the navigation locally

make serve

Visit http://localhost:4000/ in your browser. Press Ctrl-C to stop serving the site.

Syncing the site

Prerequisites

Contact the openSUSE admin team to be granted VPN access, and SSH access to relsync@pinot.infra.opensuse.org (was community-i-o-o). For that you need a GPG key with the encryption capability.

Adding release notes for new release

Make sure that rn-config/etc/release-notes has required entry. Such configuration then needs to be deployed to pinot-i-o-o.

Syncing documentation navigation

make upload

Syncing configuration for the release notes

make upload_rn_config

Setting the current docs version

First make sure the correct version is set in publishusers.

make set_docs_current_version

Building and syncing documentation content

  1. Clone the doc-sle repository locally: git clone https://github.com/SUSE/doc-sle
  2. Switch to the correct branch in the doc-sle repository: git -C /path/to/doc-sle checkout ...
  3. Open doc-build-script from this repository and make sure the following are set correctly (!!):
    • referenced guides ($guides)
    • the openSUSE Leap version number ($version)
  4. Run the script, from within this repo: ./doc-build-script /path/to/doc-sle
  5. (Optional) If a new version has been released and the links still point to the older version, see Setting the current docs version

About

Resources for the doc.opensuse.org website

https://doc.opensuse.org/

License:GNU General Public License v3.0


Languages

Language:Shell 68.9%Language:Makefile 15.0%Language:HTML 12.1%Language:CSS 2.8%Language:Ruby 1.3%