Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added Guide-pratique-S3 2.pdf
Binary file not shown.
Binary file added Guide-pratique-S3.epub
Binary file not shown.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@

# clean everything, then build the site, the epub and the pdf
make clean
make setup
# for translations, remove or comment the targets that cannot be created for that language
make site
make epub
make ebook
make version
8 changes: 3 additions & 5 deletions config/ebook.tex
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
\documentclass[a5paper]{scrreprt}
\usepackage[french]{babel} % French lanugage
\usepackage[french]{babel} % French language
\usepackage{ebook-style}
\graphicspath{ {../../} }


\title{${_("A Practical Guide for Evolving Agile and Resilient Organizations with Sociocracy 3.0")}}
\author{Bernhard Bockelbrink\\James Priest\\Liliana David}
\date{${version}}
\titlepic{\includegraphics[width=6cm]{img/framework/logo.png}}
\titlepic{\includegraphics[width=6cm]{./img/framework/logo.png}}

\begin{document}
\maketitle
Expand All @@ -18,7 +16,7 @@
\setcounter{tocdepth}{1}
\tableofcontents
% reset counter for list of figures
\include{tmp-ebook-compiled}
\include{ebook-compiled}
\setcounter{tocdepth}{1}
\listoffigures
\end{document}
3 changes: 3 additions & 0 deletions config/local-conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

# filename for the slide deck
TARGETFILE=Guide-pratique-S3
153 changes: 133 additions & 20 deletions config/project.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,142 @@
defaults:
# these are available for substitution in templates
variables:
# Version of the practical guide (added to all releases)
version: "v2021-02-06"
# Language and text direction for Jekyll site and epub
html-language: "fr"
html-dir: "ltr"

# Language and text direction for Jekyll site
html_language: "fr"
html_dir: "ltr"
# File name used for build targets
target-filename: "guide-pratique-S3"

# CNAME for GitHub-Page
microsite_cname: "patterns-fr.sociocracy30.org"
source: content/src
structure: config/structure.yaml
# That must be .po for translations, and .pot for the source language!
localization: content/localization.pot

# File name used for build targets in makefile
target_filename: "Guide-pratique-S3"
# glossary: yaml file with glossary terms
glossary: content/glossary.yaml
# glossary-items: number of glossary items per page (used for deckset and revealjs)
glossary-items: 20
# glossary-style: plain:glossary style for ebook builder (plain(default)|footnotes|underline)
glossary-style: plain

# autogenerated prefix for each pattern headline(e.g. "Pattern 1.5: Describe Organizational Drivers")
pattern_prefix: " Pratique %(chapter)s.%(section)s:"
# target::Target file (for reveal.js and deckset) or folder (for wordpress or jekyll).
target: ""
# template: The template to use (deckset, revealjs, and jekyll output)
template: ""
# the target format (html, markdown, latex)
target-format: ""
# autogenerated prefix for each pattern headline(e.g. "Pattern 1.5: Describe Organizational Drivers")
pattern-prefix: " Pratique %(chapter)s.%(section)s:"

# Version of the practical guide (added to all releases)
version: "v2019-12-22-fr-0.05"
presets:
jekyll:
renderer: jekyll
target-format: html
noob_menu: true
# add "read next" below content pages
read-next-navigation: true
read-next-shortcuts: true
variables:
# CNAME for GitHub-Page
microsite-cname: "patterns-fr.sociocracy30.org"
# URL o the Github project
github-url: "https://github.com/S3-working-group/s3-practical-guide-french"
# URL of the website
site-url: "https://patterns-fr.sociocracy30.org"

# URL o the Github project
github_url: "https://github.com/S3-working-group/s3-practical-guide-french"
# build content files
target: docs/

# URL of the website
site_url: "https://patterns-fr.sociocracy30.org"
templates:
# main website index.html, 404 and map
- source: content/website/_templates/index.html
destination: docs/index.html
mode: markdown
- source: content/website/_templates/404.md
destination: docs/404.md
mode: copy
- source: templates/website/pattern-map.html
destination: docs/_includes/pattern-map.html
- source: templates/website/map.md
destination: docs/map.md
mode: copy
# layouts for website
- source: templates/website/_layouts/default.html
destination: docs/_layouts/default.html
- source: templates/website/_layouts/plain.html
destination: docs/_layouts/plain.html
# includes for website (header contains {{menu}})
- source: content/website/_includes/footer.html
destination: docs/_includes/footer.html
- source: content/website/_includes/header.html
destination: docs/_includes/header.html
mode: html
# other website config files
- source: templates/website/_config.yml
destination: docs/_config.yml
- source: templates/website/CNAME
destination: docs/CNAME

# directive for makefile to generate translatable pattern index
# must be set to "NO" for translations, and "YES" for source language (English)
build_index: "NO"
all-in-one-jekyll-page:
# a single-page-version for the website
renderer: ebook
template: templates/website/all-in-one-page.md
target: docs/all.md
target-format: html
header-offset: 1

# reveal.js config option for RTL languages
revealjs_rtl: "false"
epub:
renderer: ebook
target: tmp/epub-compiled.md
target-format: epub
template: templates/epub-header.md
templates:
- source: templates/covers/s3-practical-guide-cover-70dpi.png
destination: tmp/epub-cover.png
mode: copy
- source: templates/epub.css
destination: tmp/epub.css


supporter-epub:
# render epub for supporter edition

# render intro, chapters and appendix to separate md files
# mdslides build ebook content/structure-supporter-edition.yaml $(SOURCE) tmp/ --glossary=$(GLOSSARY) --section-prefix="$(SECTIONPREFIX)"
target: tmp/supporter-epub-compiled.md
template: templates/supporter-edition-master.md

# prepare and copy template, metadata, CSS and cover
templates:
- source: templates/supporter-edition-metadata.yaml
destination: tmp/supporter-edition-metadata.yaml
# those were just copied
- source: templates/epub.css
destination: tmp/supporter-edition.css
- source: templates/covers/s3-practical-guide-cover-supporter-edition-70dpi.png
destination: tmp/supporter-edition-cover.png

ebook:
renderer: ebook
target-format: latex
target: tmp/ebook-compiled.md
# template is empty on purpose, because it is not required
template: ""
# copy md and LaTeX templates
templates:
- source: config/ebook.tex
destination: tmp/ebook.tex
- source: config/ebook-style.sty
destination: tmp/ebook-style.sty

gitbook:
renderer: gitbook
target: gitbook/

revealjs:
renderer: revealjs
# reveal.js config option for RTL languages
revealjs-rtl: "false"
25 changes: 25 additions & 0 deletions config/structure-csf-booklet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
parts:
- csf-booklet-title
- thrive
- ten-principles
- id: orientation
parts:
- clarify-purpose
- develop-strategy
- id: navigation
parts:
- focus-on-value
- sense-respond
- run-experiments
- id: structure
parts:
- enable-autonomy
- collaborate-on-dependencies
- id: transformation
parts:
- invest-in-learning
- develop-culture
- shared-mental-models
- where-to-start
- csf-and-s3
- 10-principles-one-page
Loading