Built with openSUSE Jekyll Theme.
Note that this repo only contains the home page of the site. Actual documents are from:
sudo zypper in ruby ruby-devel ruby2.5-rubygem-bundler ruby2.5-rubygem-eventmachine gcc-c++
bundle install
Most changes, such as setting up a new product or guide, need to be made in the file _config.yml
.
make build
The resulting site will be in the _site
directory.
make serve
Visit http://localhost:4000/ in your browser. Press Ctrl-C to stop serving the site.
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.
Make sure that rn-config/etc/release-notes has required entry. Such configuration then needs to be deployed to pinot-i-o-o.
The make upload no longer works as community was decomissioned. See poo#162020 ticket for fixing of the process.
Make a local build && create archive of the "_site" build dir. Extract _site archive or rsync _site/* into community2.infra.opensuse.org:/srv/www/vhosts-legacy/doc-htdocs/ Ask admin@opensuse.org for root access or ping lkocman.
make upload_rn_config
First make sure the correct version is set in publishusers
.
make set_docs_current_version
- Clone the
doc-sle
repository locally:git clone https://github.com/SUSE/doc-sle
- Switch to the correct branch in the
doc-sle
repository:git -C /path/to/doc-sle checkout ...
- Open
doc-build-script
from this repository and make sure the following are set correctly (!!):- referenced guides (
$guides
) - the openSUSE Leap version number (
$version
)
- referenced guides (
- Run the script, from within this repo:
./doc-build-script /path/to/doc-sle
- (Optional) If a new version has been released and the links still point to the older version, see Setting the current docs version