Code Monkey home page Code Monkey logo

caasp-release-notes's Introduction

Release Notes for SUSE CaaS Platform

You can view these release notes in two ways:

Contributing

Want to help? We love to hear that! Below are a few hints to guide you.

Writing

These release notes are written in the AsciiDoc (*.adoc) format. For some great AsciiDoc documentation, see https://asciidoctor.org/docs/asciidoc-writers-guide/.

Updating Content

  1. Fork this repository.

  2. Make the intended changes. (Make sure to read Keeping the GitHub/GitLab Preview of These Release Notes Intact.)

  3. Validate and build a test version (see below for more details)

  4. Submit the changes as a pull request

Building the Release Notes Documents

The final version for the product is build in the SUSE Build Service.

For validation and test purposes follow the steps below:

  1. Install the DocBook Authoring and Publishing Suite (daps) package from the Documentation:Tools openSUSE Build Service project.

  2. Use the make to build all required documents. For a single HTML document, for example make single-html.

Keeping the GitHub/GitLab Preview of These Release Notes Intact

The GitHub/GitLab preview mode is handy but comes with a couple of snags compared to the build of the release notes that is used for the SUSE Web site:

  • GitHub/GitLab will simply render a preview of a single *.adoc file using AsciiDoctor’s built-in HTML conversion. GitHub/GitLab previews do not support embedding one AsciiDoc file in another, you can only use links between them.

  • The SUSE Web site build combines multiple *.adoc files into a single HTML output file. It is based on AsciiDoctor’s AsciiDoc-to-DocBook-XML conversion, the result of which is then further converted into HTML/PDF using DAPS and the DocBook XSL stylesheets.

For this reason, the central file adoc/MAIN.release-notes.adoc contains somewhat unsightly ifdef/ifndef blocks that check whether the file is displayed in the GitHub/GitLab preview, switching between using links to other files for GitHub/GitLab and include:: statement in all other cases.

The issue of not being able to embed other AsciiDoc files when using the GitHub/GitLab preview also affects the "attribute entries" file adoc/entities.adoc. Attribute entries allow easily referencing text used multiple (similar to entities in XML). Hence, for the GitHub/GitLab preview, each file contains a copy of the entire attribute entry file at the top. When updating attribute entries, always make sure to:

  1. Edit adoc/entities.adoc first (these are used for the regular build)

  2. Run make update-entries to update the dependent attribute entries in each of the *.adoc files (these are used for GitHub/GitLab previews).

Updating the Release Notes on the Website

The website is automatically updated when we release a new version of the release-notes-caasp package as maintenance update.

caasp-release-notes's People

Contributors

ereslibre avatar evrardjp avatar flavio avatar jordimassaguerpla avatar nkoranova avatar thehejik avatar

Watchers

 avatar  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.