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
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.
Get the details about the SSH setup from someone in the know (e.g. @sknorr).
Have your SSH key added to the .ssh/authorized_keys
on the server.
Create a file publishusers
within the local repository clone:
port=[SSH_PORT]
server=[SERVER]
userdoc=[USER_NAME_DOC]
userrn=[USER_NAME_RELEASE_NOTES]
make upload
make upload_rn_config
- 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