| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* docs/install/index.rst: Update output of `lps_gen --help`
* docs/schedule/index.rst: Update `lps_gen` command.
* lps_gen.py (main): Rename '-s' switch to '-sc'.
|
|
|
|
| |
* lps_gen.py (main): Barf informational message on exit 1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* docs/install/index.rst: Update usage command output.
* docs/schedule/index.rst: Update lps_gen command example.
* docs/speakers/index.rst: Update lps_gen command example.
* lps_gen.py (RenderHTML): Change argument template ->
template_name. Read template from package.
(main): Remove `lp_t` command line argument.
* tests/test_lps_gen.py (TestLPS.test_RenderHTML)
(TestLPS.test_RenderHTML_sessions_only)
(TestLPS.test_RenderHTML_nonexistent_template)
(TestLPSTBA.setup, TestLPSpeakers.test_RenderHTML): Update RenderHTML
call; pass template name instead of template path.
|
|
|
|
|
|
| |
* lps_gen.py (template_read): Add template file extension.
* tests/test_lps_gen.py (TestTemplates.test_read): Don't specify
template file extension.
|
|
|
|
|
|
|
| |
* lps_gen.py (template_read): Add exception handling for non-existent
templates.
* tests/test_lps_gen.py (TestTemplates.test_read): Add non-existent
template test.
|
|
|
|
|
| |
* lps_gen.py (template_read): New function.
* tests/test_lps_gen.py (TestTemplates): New test class.
|
|
|
|
| |
* lps_gen.py (main): Use format for formatted string.
|
|
|
|
| |
* lps_gen.py (LPSRenderer.link): Use format for formatted string.
|
|
|
|
|
| |
* lps_gen.py (LPiCal.to_ical): Use format for formatted string.
* tests/test_lps_gen.py (TestLPiCal.test_to_ical): Update test.
|
|
|
|
| |
* lps_gen.py (LPiCal.mk_datetime): Use format for formatted string.
|
|
|
|
| |
* lps_gen.py (LPiCal.gen_uid): Use format for formatted string.
|
|
|
|
|
|
| |
* lps_gen.py (LPiCal.__init__): Use format function for formatted
string.
* tests/test_lps_gen.py (TestLPiCal.test_init): New test.
|
|
|
|
| |
* lps_gen.py (read_file): Change file mode to just 'r'.
|
|
|
|
| |
* lps_gen.py (write_file): Change file mode to just 'w'.
|
|
|
|
| |
* lps_gen.py (LPiCal.gen_ical): Wrap returned string around str().
|
| |
|
|
|
|
|
|
|
| |
unicode(STRING) -> str(STRING)
* lps_gen.py (LPSRenderer.get_uid)
(LPSpeakersRenderer.mk_uid): Update methods.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile: Put under CC0-1.0.
* docs/conf.py: Put under CC0-1.0.
* libreplanet-templates/2016/lp-schedule.jinja2: Put under CC0-1.0.
* libreplanet-templates/2016/lp-speakers.jinja2: Put under CC0-1.0.
* libreplanet-templates/2017/lp-schedule.jinja2: Put under CC0-1.0.
* libreplanet-templates/2018/lp-schedule.jinja2: Put under CC0-1.0.
* lps_gen.py: Put under CC0-1.0.
* lpschedule_generator/_version.py: Put under CC0-1.0.
* setup.py: Put under CC0-1.0.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now matches time slots of the form:
09:45 - 10:30: Lorem ipsum dolor sit.
or
09:45 - 10:30 - Lorem ipsum dolor sit.
or
09:45 - 10:30
* lps_gen.py (LPiCal.timeslot_r): Update variable.
(LPiCal.get_timeslot): Update method.
* tests/test_lps_gen.py (TestLPiCal.test_get_timeslot): Update test.
|
|
|
|
| |
Fixes ical generation.
|
|
|
|
|
|
|
|
| |
* lps_gen.py (LPSRenderer.paragraph): Update method.
* tests/files/lp-sch-sessions-only.md: Update file.
* tests/files/lp-sch-tba.md: Update file.
* tests/files/lp-sch.md: Update file.
* tests/files/lp-sessions-autolink.md: Update file.
|
|
|
|
| |
* lps_gen.py (LPSRenderer._process_video): New method.
|
|
|
|
| |
* lps_gen.py (LPiCal.gen_ical): Update method.
|
|
|
|
|
|
|
| |
Use `print` as a function.
* lps_gen.py (read_file, write_file, RenderHTML, main): Update functions.
* lpschedule_generator/_version.py (__version__): Update variable.
|
|
|
|
| |
Giggity doesn't like when it's missing.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* lps_gen.py (LPiCal.add_event): Update method. New argument `t_name`.
(gen_ical): Update method.
* tests/test_lps_gen.py (TestLPiCal.test_add_event): Update method.
|
|
|
|
|
| |
* lps_gen.py (LPSRenderer._check_session_title_exists): New method.
(LPSRenderer.header, LPSRenderer.paragraph): Update methods.
|
| |
|
|
|
|
|
|
|
| |
- Detects when timeslot is not given and ignores that timeslot.
- Detects when month, day not given and ignores that day.
Addresses issue #8.
|
|
|
|
|
|
|
| |
- With --ical ON and when LP schedule is given, `lps_gen` writes an
LP schedule iCal to disk.
Addresses issue #8.
|
|
|
|
|
|
| |
- Arg lp_year is stringified before getting copied to self.lp_year.
Addresses issue #8.
|
|
|
|
| |
Addresses issue #8.
|
|
|
|
|
|
|
|
|
| |
Contains two methods at the moment:
- get_timeslot
- get_month_day
Addresses issue #8.
|
|
|
|
| |
It is now at lpschedule_generator/_version.py
|
|
|
|
|
|
|
| |
It does not "prettify" the HTML output using BeautifulSoup, instead it
just strips extraneous spaces and returns the HTML.
Addresses issue #3.
|
|
|
|
|
|
|
| |
- version info is loaded from _version.py
- to read the README.rst (for long_description), we now use a function
defined in setup.py instead of using `lps_gen.read_file` function.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
sub-section under "LP schedule" section.
Addresses issue #7.
|
| |
|
|
|
|
| |
Arg `text` -> `speaker_block`.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If "John Hacker" is the speaker that has to be autolinked in the
sessions MD file; the markup to autolink is [John Hacker]().
[John Hacker]() -> <a href="speakers.html#hacker">John Hacker</a>, if id
for "John Hacker" is available in the `speaker.ids` file[1].
[1]: The `speakers.ids` file is automatically written to the disk (in
the current working directory) when the speakers' bio page is generated.
List of speakers that are autolinked but don't have an id, are written
to the `speakers.noid` file when the sessions page is generated.
Addresses issue #7.
|
| |
|