| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
* tests/test_lps_gen.py (TestLPiCal.setup_class)
(TestLPS.setup_class, TestLPSTBA.setup_class): Remove reference of
path of 'schedule.jinja2' template.
(TestLPSpeakers.setup_class): Remove reference of
path of 'speakers.jinja2' template.
(TestSpeakersAutoLinking.setup_class): Remove reference of
path of 'speakers.jinja2' and 'schedule.jinja2' templates.
|
|
|
|
|
| |
* tests/test_lps_gen.py (TestTemplates.test_read): Suppress output to
stderr.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* tests/test_lps_gen.py (TestLPiCal.setup_class, TestLPS.setup_class)
(TestLPSTBA.setup_class, TestLPSSpeakers.setup_class)
(TestSpeakersAutoLinking): Update template path.
|
|
|
|
|
| |
* 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.__init__): Use format function for formatted
string.
* tests/test_lps_gen.py (TestLPiCal.test_init): New test.
|
|
|
|
|
|
|
|
|
| |
DICT.iteritems() -> DICT.items().
* tests/test_lps_gen.py
(TestLPiCal.test_get_timeslot)
(TestLPiCal.test_get_month_day)
(TestLPiCal.test_add_event): Update methods.
|
|
|
|
|
|
|
|
|
|
|
|
| |
DICT.has_key(KEY) -> 'KEY' in DICT.
* tests/test_lps_gen.py
(TestLPSpeakers.test_LPSpeakersMarkdown_keynotespeakers_imgurl)
(TestLPSpeakers.test_LPSpeakersMarkdown_keynotespeakers_imgalt)
(TestLPSpeakers.test_LPSpeakersMarkdown_keynotespeakers_bio)
(TestLPSpeakers.test_LPSpeakersMarkdown_speakers_imgurl)
(TestLPSpeakers.test_LPSpeakersMarkdown_speakers_imgalt)
(TestLPSpeakers.test_LPSpeakersMarkdown_speakers_bio): Update methods.
|
| |
|
|
|
|
| |
* tests/test_lps_gen.py (TestJSONUtils.setup_class): Update method.
|
| |
|
|
|
|
|
|
|
| |
* tests/test_lps_gen.py (TestLPiCal.test_gen_ical)
(TestLPiCal.test_gen_ical_sessions_only)
(TestLPS.test_RenderHTML)
(TestLPS.test_RenderHTML_sessions_only): Update methods.
|
| |
|
|
|
|
|
|
|
|
|
| |
* tests/test_lps_gen.py (TestLPiCal.setup_class)
(TestLPiCal.setup, TestLPiCal.test_mk_datetime)
(TestLPiCal.test_gen_ical_sessions_only)
(TestLPiCal.test_to_ical)
(TestLPS.setup_class)
(TestSpeakersAutoLinking.setup_class): Update tests.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* tests/test_lps_gen.py
(TestLPS.test_LPSMarkdown_desc): New test.
|
|
|
|
| |
* tests/test_lps_gen.py (TestLPS.test_LPSMarkdown_video): New test.
|
|
|
|
|
| |
* tests/test_lps_gen.py
(TestSpeakersAutoLinking.setup_class): Update method.
|
|
|
|
| |
* tests/test_lps_gen.py (TestLPSTBA.setup_class): Update method.
|
|
|
|
|
| |
* tests/test_lps_gen.py
(TestLPSpeakers.test_RenderHTML): Add TODO.
|
|
|
|
|
| |
* tests/test_lps_gen.py
(TestLPS.test_RenderHTML_sessions_only): Add TODO.
|
|
|
|
| |
* tests/test_lps_gen.py (TestLP.test_RenderHTML): Add TODO.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* tests/files/lp-sch.md: Update file.
* tests/test_lps_gen.py (setup_class)
(test_LPSMarkdown_timeslot)
(test_LPSMarkdown_session): Update methods.
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
| |
From now on `DescTBA` can be given if the description for a session is
not decided yet; `DescTBA` will be filtered out of the generated HTML.
Addresses issue #4.
|
|
|
|
| |
Addresses issue #4.
|
|
|
|
|
|
|
|
| |
From now on `SpeakerTBA` can be given if the speaker for a session is
not decided yet; `SpeakerTBA` will be filtered out of the generated
HTML.
Addresses issue #4.
|
|
|
|
|
|
|
| |
- Detects when timeslot is not given and ignores that timeslot.
- Detects when month, day not given and ignores that day.
Addresses issue #8.
|
| |
|
|
|
|
| |
Addresses issue #8.
|
|
|
|
|
|
|
|
|
| |
Contains two methods at the moment:
- get_timeslot
- get_month_day
Addresses issue #8.
|
|
|
|
|
|
| |
In some places use inline links.
Addresses issue #3.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
As described here:
https://stackoverflow.com/questions/4823468/comments-in-markdown
Addresses #5.
|
| |
|
| |
|
|
|
|
|
|
| |
Used for testing autolinking in sessions.
Addresses issue #7.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
The `speaker.ids` file contains a mapping of the speakers and their
corresponding ids. This file will later be used by LPSMarkdown and
LPSRenderer to auto link speakers while generating the sessions page.
Addresses issue #7
|
|
|
|
| |
json_read and json_write
|
|
|
|
| |
Context changed from `schedule` -> `lp_dict`.
|
|
|
|
| |
Address issue #1.
|