Commit graph

86 commits

Author SHA1 Message Date
Maximilian Keßler
51b5c5dd00 rename script into notes 2021-09-16 18:02:36 +02:00
Maximilian Keßler
b3cae8ff05 add python script file to add a new lecture 2021-09-16 15:42:14 +02:00
Maximilian Keßler
ff4e303d42 adjust compilation of all master files to new script class 2021-09-16 15:39:14 +02:00
Maximilian Keßler
68351ebc5f adjust lecture view picker to new script class 2021-09-16 15:37:30 +02:00
Maximilian Keßler
896c90a822 adjust lecture pickure to new script class 2021-09-16 15:34:26 +02:00
Maximilian Keßler
7cbb6ea389 refactor utils file and move MAX_LEN parameter into config file 2021-09-16 15:27:35 +02:00
Maximilian Keßler
13b4852051 introduce script class
A course now does not handle its lectures directly, but has a
'script' property. The script essentially works as the course before,
except that some methods have been moved from the lectures class to the
script class as well.

This ensures further modulation of the course class, to introduce e.g.
an exercise class in the future that a course can also have.

Additionally, with this come further configurations in the info.yaml
file so that the script can have a different relative path from the
course, and the lectures a relative path from the script.
2021-09-16 14:59:00 +02:00
Maximilian Keßler
b8c2f236a4 refactor files 2021-09-16 13:28:51 +02:00
Maximilian Keßler
6fe7fc4938 update gitignore 2021-09-16 13:28:27 +02:00
Maximilian Keßler
0300e40fb7 change date format 2021-09-16 13:27:58 +02:00
Maximilian Keßler
cd28d026fe introduce yaml config parameter for master file name
Specify a line master_file: 'name.tex' in your yaml.info in some
course directory to change the name of the master file that is used
2021-09-16 13:08:05 +02:00
Maximilian Keßler
8d57fd37f5 use safe load method for loading yaml files
since yaml.load() is deprecated, and the loaded stuff does not need
to be complex anyways, use yaml.safe_load(). This gets rid of the
deprecated yaml.load() method and uses the safe approach for loading
yaml files
2021-09-16 12:52:31 +02:00
Maximilian Keßler
08c2fae662 add config parameter for course info file 2021-09-16 12:46:59 +02:00
Maximilian Keßler
e51e9e7539 add config parameter for name of courseignore file 2021-09-16 12:46:59 +02:00
Maximilian Keßler
06f34ba5fe introduce .courseignore file
You can now place a file name '.courseignore' in the ROOT directory
and specify - in each line - the name of a directory. Directories named
this way and located in the ROOT directory will not be treated as course
directories
2021-09-16 12:45:59 +02:00
Maximilian Keßler
704793af5a change ROOT path 2021-09-16 12:06:07 +02:00
Maximilian Keßler
a9a4b15481 introduce setting for locale in lectures.py - and set it to german 2021-09-16 12:05:44 +02:00
Maximilian Keßler
427f2b3769 add gitignore file 2021-09-16 12:02:54 +02:00
Gilles Castel
16ec634e1c
Merge pull request #8 from SalmonA/master
Adding script to initialize all courses
2020-08-06 10:22:19 +02:00
Alex Salmon
44035b1dbc Updated docs 2020-08-01 14:06:53 +02:00
Alex Salmon
a298c6e66e added file to initialize all courses 2020-08-01 00:24:42 +02:00
Gilles Castel
09561eac7f Update docs 2020-05-19 17:58:45 +02:00
Gilles Castel
9038974707 Update docs 2020-05-19 17:57:24 +02:00
Gilles Castel
ce67d74415 Merge branch 'master' of github.com:gillescastel/university-setup 2020-05-19 17:53:59 +02:00
Gilles Castel
c45e17e531 Improve LaTeX compilation code 2020-05-19 17:52:06 +02:00
Gilles Castel
f7af1b4863 Remove unused code from lectures.py 2020-05-19 17:51:51 +02:00
Gilles Castel
7123805424 Some documentation 2020-05-19 17:51:36 +02:00
Gilles Castel
503c32ae9e
Merge pull request #6 from cramermarius/master
Start on documentation and improve setup experience
2020-05-19 16:56:51 +02:00
Marius Cramer
79849610ab link calendarId to config.py to ease user setup 2020-05-18 20:42:34 +02:00
Marius Cramer
0c9e76e23d add documentation for Google Calendar integration setup 2020-05-18 20:42:13 +02:00
Gilles Castel
d5fa0b46bf
Move \pdfminorversion to the top (siemdejong)
Move \pdfminorversion to the top
2020-04-11 22:47:13 +02:00
Siem de Jong
c1d2b1e182 move pdfminorversion to the top 2020-04-11 17:06:30 +02:00
Gilles Castel
c20d64e96d Add Google Calendar instructions 2019-09-15 22:46:07 +02:00
Gilles Castel
8a78337c29
Create README 2019-09-15 21:56:58 +02:00
Gilles Castel
45705f7961
Add licence 2019-09-15 20:45:40 +02:00
Gilles Castel
e612b471a5 Initial commit 2019-09-15 20:42:11 +02:00