arctraining / hackpad-templator Goto Github PK
View Code? Open in Web Editor NEWGitHub action based repo for generating HackMD pages for training sessions
GitHub action based repo for generating HackMD pages for training sessions
Hackmd-cli is now on v2.0.0, should look at updating this.
Converting repo to public will resolve this.
After running the hackpad for swd1a in person the agenda appears as a preformatted block rather than a markdown table.
This is because the section is indented.
Update github action to not use set-output.
The links here are not working
hackpad-templator/templates/hpc0.md.j2
Lines 21 to 22 in e0fcb30
change the slides to: https://docs.google.com/presentation/d/1-iMN4PQ8gt2HEw5kERHDSY-OzcFK-Rrz/edit?rtpof=true
change the solution to: (?)
I usually create a hackpad by navigating to the GitHub repository, clicking full stop on the keyboard and getting the quick github.dev editor.
Within this I create a branch and update the config and add this commit (which is automagically pushes to the repository).
However, this always leads to duplicate hackpads being created because the action runs on any push to a branch that isn't main
, dev-*
or master
. So the very action of creating a new branch triggers the create template action.
The simple fix for this is for me to not use this method of creating a hackpad branch and just do it locally or via a codespace. This should be documented potentially to avoid this issue.
Currently template files work on the assumption the training is half days. When training is in-person the schedule should be for a full day 0930-1600.
Suggested changes:
config.yaml
should have different syntax:date: "2021-11"
timing: all-day # accepted values being `morning`, `afternoon`, `all-day`
The jinja logic will become:
{% if timing == "morning" %}
Morning timetable
{% else if timing == "afternoon" %}
Afternoon timetable
{% else if timing == "all-day" %}
All-day timetable
{% endif %}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.