https://github.com/suse/recipebook
Originates from the SUSE Hackweek 20 (March 2021): https://hackweek.suse.com/20/projects/open-sauce-is-in-our-genes but everyone is welcome to contribute.
https://github.com/suse/recipebook
Last synced: 5 months ago
JSON representation
Originates from the SUSE Hackweek 20 (March 2021): https://hackweek.suse.com/20/projects/open-sauce-is-in-our-genes but everyone is welcome to contribute.
- Host: GitHub
- URL: https://github.com/suse/recipebook
- Owner: SUSE
- License: cc-by-sa-4.0
- Created: 2021-03-19T08:50:16.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-21T20:43:30.000Z (over 1 year ago)
- Last Synced: 2025-03-26T18:54:39.183Z (7 months ago)
- Language: Shell
- Homepage:
- Size: 40 MB
- Stars: 19
- Watchers: 281
- Forks: 11
- Open Issues: 3
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
== 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* Open this project in
https://gitpod.io/#https://github.com/SUSE/recipebook[gitpod] and edit it
directly there.* The GitHub preview of the in-development recipes is at
<>.=== 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//
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//
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 wantIt 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/iaalpfgpbocpdfblpnhhgllgbdbchmiaAdd your recipe under recipes/ ... 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 nameAsciidoctor 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:
[source,shell]
----
bundle install
# or
gem install asciidoctor
----After installing asciidoctor, run the build:
[source,shell]
----
./docbuild.sh
# or if you installed asciidoctor via bundler
bundle exec -- ./docbuild.sh
----
The output of the build will be build/recipes.html