Skip to content

Commit

Permalink
WIP: Add basic talk layout and files
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicoretti committed Aug 12, 2024
1 parent fb4f697 commit 44468b8
Show file tree
Hide file tree
Showing 12 changed files with 184 additions and 0 deletions.
1 change: 1 addition & 0 deletions talk/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python-toolbox.html
6 changes: 6 additions & 0 deletions talk/00-metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: 🔧 Python-Toolbox
subtitle: A Vision of a Better Future
author: Nicola Coretti
date: 2024-??-??
---
26 changes: 26 additions & 0 deletions talk/01-why.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Why? (42)

## Why This Talk
* Aling understanding and vision of the toolbox
* Team effort

::: notes

At least on the usage side, ideally on usage + impl

:::


## Why the toolbox
* xx Projects and increasing
* minimizing/reducing cognitive overhead
* simplify future changes/transitions (example pylint/ruff, black/ruff-fmt)
* "Central" place for project maintaince knowlege


::: notes
Add revised version of design doc with learings and adjustments to documentation
:::


* [Test Link](https://www.google.de)
Empty file added talk/10-vision.md
Empty file.
9 changes: 9 additions & 0 deletions talk/20-current-status.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Today


## What have been done

* poetry
* pypi
* nox

6 changes: 6 additions & 0 deletions talk/30-the-path.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Walking the Path

## What needs to be done

* Regular effort
* Minimizing "new legacy"
3 changes: 3 additions & 0 deletions talk/80-open-questions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Open Questions

* Single project repos (combinatory explosion and overhead)
1 change: 1 addition & 0 deletions talk/90-questions-and-feedback.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Questions & Feedback ?
37 changes: 37 additions & 0 deletions talk/flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
description = "A nix flake containing the dev stack for the python-toolbox talk slides";

inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-24.05";
};

outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
with pkgs;
{
devShell = {
x86_64-linux = pkgs.mkShell {
buildInputs = [
pkgs.starship
pkgs.fish
pkgs.pandoc
pkgs.just
pkgs.nodejs_18
pkgs.docker
pkgs.maven
pkgs.antlr4_9
pkgs.jq
];
shellHook = ''
if [ -n "$PS1" ]; then
exec fish
fi
'';
};
};
};
}

Binary file added talk/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions talk/justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
default_theme := 'solarized'

@default:
just --list

@list-themes:
echo "* black"
echo "* white"
echo "* league"
echo "* beige"
echo "* night"
echo "* serif"
echo "* simple"
echo "* solarized"
echo "* moon"
echo "* dracula"
echo "* sky"
echo "* blood"


@build theme=default_theme:
echo "Building Presentation..."
pandoc --to=revealjs --embed-resources --standalone \
--resource-path=./images \
00-metadata.yml *.md \
--slide-level=3 --variable "progress=true" \
--variable "mainfont=Courier" \
--highlight-style haddock \
--include-in-header=slides.css \
-o python-toolbox.html
#--css style.css # --variable "theme={{theme}}" \

@open:
xdg-open python-toolbox.html
61 changes: 61 additions & 0 deletions talk/slides.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<style>
:root {
--r-background-color: #fff;
--r-main-color: #56565A;
--r-heading-color: #76BC1C;
--r-link-color: #589BD4;
--r-link-color-hover: #EEE65D;
/** --r-main-font: #{$mainFont};
--r-main-font-size: #{$mainFontSize};
--r-block-margin: #{$blockMargin};
--r-heading-margin: #{$headingMargin};
--r-heading-font: #{$headingFont};
--r-heading-line-height: #{$headingLineHeight};
--r-heading-letter-spacing: #{$headingLetterSpacing};
--r-heading-text-transform: #{$headingTextTransform};
--r-heading-text-shadow: #{$headingTextShadow};
--r-heading-font-weight: #{$headingFontWeight};
--r-heading1-text-shadow: #{$heading1TextShadow};
--r-heading1-size: #{$heading1Size};
--r-heading2-size: #{$heading2Size};
--r-heading3-size: #{$heading3Size};
--r-heading4-size: #{$heading4Size};
--r-code-font: #{$codeFont};
--r-link-color: #{$linkColor};
--r-link-color-dark: #{darken($linkColor , 15% )};
--r-link-color-hover: #{$linkColorHover};
--r-selection-background-color: #{$selectionBackgroundColor};
--r-selection-color: #{$selectionColor};
--r-overlay-element-bg-color: #{$overlayElementBgColor};
--r-overlay-element-fg-color: #{$overlayElementFgColor}; */
}

.reveal-viewport {
background-image: url(logo.png);
background-size: 5%;
background-repeat: no-repeat;
background-position: 3% 97%;
}

.slides {
font-size: 0.75em;
}

img {
max-height: 350px !important;
}

figcaption {
font-size: 0.6em !important;
font-style: italic !important;
}

.subtitle {
font-style: italic !important;
font-size: 0.75em;
}

.date {
font-size: 0.75em !important;
}
</style>

0 comments on commit 44468b8

Please sign in to comment.