Code Monkey home page Code Monkey logo

recipebook's Introduction

Innovate Everywhere Recipes

The latest version of the recipe book can be found here: https://suse.github.io/recipebook/recipes.html

  • Clone the repo and open recipes.adoc locally in a browser that supports AsciiDoc or in another tool such as asciidoctor

  • The GitHub preview of the in-development recipes is at recipes.adoc.

Contributing

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

  1. Create a new recipe file under recipes/<appropriate_directory>/ Consider copying the recipe_template.adoc from the top level folder to have a baseline to work from.

  2. Make sure you include a section identifier [id='sec.recipe_name'] and a title === Recipe Name each on their own line and separated by an empty line from other content

  3. Add a reference to the new recipe to recipes.adoc in the top level

  4. Add any images to images/<recipe_name>/

  5. build the docs with docbuild.sh (requires asciidoctor, see below for install details)

  6. check the output at build/recipes.html to verify it matches the formatting you want

It is recommended to start your recipe by copying recipe_template.adoc from the top level folder. Alternately, look at the existing recipes to copy the formatting for setting the images folder, which is a little awkward as we want it to render correctly with github’s preview.

Writing

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

Viewing asciidoc is most easily done via a plugin to Chrome such as https://chrome.google.com/webstore/detail/asciidoctorjs-live-previe/iaalpfgpbocpdfblpnhhgllgbdbchmia

Add your recipe under recipes/<recipe-type> …​ desserts go under recipes/desserts for example

Images associated with the recipe should be added under the images folder at the top level, then inside a sub-folder with the recipe name

Asciidoctor can be installed for Leap 15.2 at https://software.opensuse.org/package/rubygem-asciidoctor Other distributions can be found at https://asciidoctor.org/#a-linux-package-managers. You can also install it using bundler or via gem directly:

bundle install
# or
gem install asciidoctor

After installing asciidoctor, run the build:

./docbuild.sh
# or if you installed asciidoctor via bundler
bundle exec -- ./docbuild.sh

The output of the build will be build/recipes.html

recipebook's People

Contributors

aosthof avatar asettle avatar bmwiedemann avatar dcermak avatar guangyee avatar jeremy-moffitt avatar keithmnemonic avatar kvanderveer avatar markgharvey avatar ml8mr avatar rsimai avatar smarlowucf avatar tamara-schmitz 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.