| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Addresses #1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added two mutually exclusive switches:
--schedule
--speakers
If --schedule switch is used, the lps_gen inteprets that the template
and the MD file corresponding to LP schedule.
If --speakers switch is used, the lps_gen inteprets that the template
and the MD file corresponding to LP speakers.
Address issue #1.
|
|
|
|
|
| |
Made it generic so that it can be used to render both the schedule and
the speakers'.
|
|
|
|
|
|
|
|
|
|
| |
Changed the way speaker' bio are parsed into the lpspeakers_dict
dictionary.
As a side effect, there is no need to put a placeholder (NO_IMAGE) when
the image for a speaker is not available.
Addresses issue #1.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- New classes:
- LPSpeakersRenderer
- LPSpeakersMarkdown
+ tests for them
- New package dependency
- unidecode
Address issue #1.
|
| |
|
|
|
|
|
|
| |
Added link to lp-schd-sessions-only.md
Fixed link to lp-schd.md
|
| |
|
|
|
|
|
|
|
|
|
| |
As per Zak's request, the script now requires the user to pass the
template as (the first) argument to the script.
The script does not use the template that is part of the
lpschedule-generator module; indeed the internal template will be
deleted later.
|
|
|
|
|
|
|
| |
- "Day" and "Timeslots" are not collapsible.
- Changed the organization of session content.
- Room is not part of the collapsible content.
- Room and "Details" button are on the same line.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The function now reads the LP `year` and the path to the LP schedule
markdown file from the commandline and stdouts the HTML version of the
LP schedule.
|
|
|
|
| |
When template is not found, instead of returning, it calls sys.exit(1).
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Added:
- long_description
- platforms
- license
- entry_points: (lps_gen:main)
Updated:
- version: now read from lps_gen.__version__
|
|
|
|
|
| |
- Now handles the case when the template does not exist.
- HTML output is now prettified by BeautifulSoup.
|
|
|
|
| |
`speakers` is always a list.
|
| |
|
|
|
|
|
|
| |
`RenderHTML` (was `HTMLRender`) now uses `PackagLoader` instead of
FileSystemLoader and the template are loaded from the templates/
directory.
|
| |
|
| |
|
|
|
|
|
| |
main() reads a markdown version of LP schedule, converts it into a
python dictionary and stdouts the json version of the python dictionary.
|
| |
|
|
Contains `LPSRenderer` and `LPSMarkdown` classes which convert a given
Markdown LP schedule text to a python dictionary (OrderedDict).
|