summaryrefslogtreecommitdiffstats
path: root/lps_gen.py
Commit message (Collapse)AuthorAgeFilesLines
* update copyright.rsiddharth2016-05-111-1/+1
|
* Update LPiCal class.rsiddharth2016-03-191-0/+14
| | | | | | | - Detects when timeslot is not given and ignores that timeslot. - Detects when month, day not given and ignores that day. Addresses issue #8.
* Add --ical switchrsiddharth2016-03-181-0/+6
| | | | | | | - With --ical ON and when LP schedule is given, `lps_gen` writes an LP schedule iCal to disk. Addresses issue #8.
* Update LPiCal.__init__ method.rsiddharth2016-03-181-1/+1
| | | | | | - Arg lp_year is stringified before getting copied to self.lp_year. Addresses issue #8.
* Initial version of LPiCal class done.rsiddharth2016-03-181-5/+134
| | | | Addresses issue #8.
* Add LPiCal classrsiddharth2016-03-151-0/+39
| | | | | | | | | Contains two methods at the moment: - get_timeslot - get_month_day Addresses issue #8.
* Moved _version elsewhere.rsiddharth2016-03-051-1/+1
| | | | It is now at lpschedule_generator/_version.py
* changed RenderHTML.rsiddharth2016-03-051-1/+1
| | | | | | | It does not "prettify" the HTML output using BeautifulSoup, instead it just strips extraneous spaces and returns the HTML. Addresses issue #3.
* fixed setup.pyrsiddharth2016-03-051-1/+2
| | | | | | | - 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.
* bumped to version 0.3.1v0.3.1rsiddharth2016-02-191-1/+1
|
* bumped to version 0.3.0v0.3.0rsiddharth2016-02-131-1/+1
|
* setup.py: updated `data_files`.rsiddharth2016-02-131-1/+1
|
* README.rst: Added "Auto-linking speakers names"rsiddharth2016-02-131-1/+1
| | | | | | sub-section under "LP schedule" section. Addresses issue #7.
* lps_gen.py: removed extraneous blank line.rsiddharth2016-02-131-1/+0
|
* Readability change to LPSpeakersRenderer.mk_uidrsiddharth2016-02-131-2/+2
| | | | Arg `text` -> `speaker_block`.
* Edited comment in LPSpeakersMarkdown.rsiddharth2016-02-131-1/+1
|
* Autolinking of speakers in sessions page ready.rsiddharth2016-02-131-3/+54
| | | | | | | | | | | | | | | | 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.
* Fixed comment in LPSpeakersRendererrsiddharth2016-02-131-1/+1
|
* LPSpeakersMarkdown writes speakers.ids to disk.rsiddharth2016-02-131-12/+18
| | | | | | | | 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
* read_file: docstring update.rsiddharth2016-02-131-1/+2
|
* lps_gen.py: blank line fix.rsiddharth2016-02-131-0/+1
|
* Introduced JSON utils.rsiddharth2016-02-131-1/+41
| | | | json_read and json_write
* bumped to 0.2.0v0.2.0rsiddharth2016-02-071-1/+1
| | | | Addresses #1
* updated main()rsiddharth2016-02-071-1/+15
| | | | | | | | | | | | | | | 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.
* updated RenderHTML function.rsiddharth2016-02-071-4/+4
| | | | | Made it generic so that it can be used to render both the schedule and the speakers'.
* updated LPSpeakersRenederer class.rsiddharth2016-02-071-4/+5
| | | | | | | | | | 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.
* Initial version LP Speakers Renderer ready.rsiddharth2016-02-061-0/+109
| | | | | | | | | | | | - New classes: - LPSpeakersRenderer - LPSpeakersMarkdown + tests for them - New package dependency - unidecode Address issue #1.
* bumped to version 0.1.1v0.1.1rsiddharth2016-01-281-1/+1
|
* updated README.rstrsiddharth2016-01-281-1/+1
| | | | | | Added link to lp-schd-sessions-only.md Fixed link to lp-schd.md
* bumped to 0.1.1b1rsiddharth2016-01-281-1/+1
|
* lps_gen accepts template as arg.rsiddharth2016-01-281-16/+15
| | | | | | | | | 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.
* changed 2016 template.rsiddharth2016-01-281-1/+1
| | | | | | | - "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.
* bumped to 0.1.0v0.1.0rsiddharth2015-12-201-1/+1
|
* updated README.rstrsiddharth2015-12-201-1/+1
|
* Added --version switch to `lps_gen`rsiddharth2015-12-201-1/+4
|
* Updated README.rstrsiddharth2015-12-201-1/+1
|
* updated README.rstrsiddharth2015-12-201-1/+1
|
* bumped to 0.1.0.dev4rsiddharth2015-12-201-1/+1
|
* README.md -> README.rstrsiddharth2015-12-201-1/+1
|
* Moved templates/ under lpschedule_generator modulersiddharth2015-12-191-2/+2
|
* bumped to 0.1.0.dev1rsiddharth2015-12-191-1/+1
|
* updated lps_gen.mainrsiddharth2015-12-191-2/+15
| | | | | | 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.
* updated lps_gen.RenderHTMLrsiddharth2015-12-191-1/+1
| | | | When template is not found, instead of returning, it calls sys.exit(1).
* lps_gen.read_file: Added error handling.rsiddharth2015-12-191-3/+6
|
* Updated setup.pyrsiddharth2015-12-191-0/+1
| | | | | | | | | | | Added: - long_description - platforms - license - entry_points: (lps_gen:main) Updated: - version: now read from lps_gen.__version__
* updated lps_gen.RenderHTMLrsiddharth2015-12-191-2/+14
| | | | | - Now handles the case when the template does not exist. - HTML output is now prettified by BeautifulSoup.
* 'speaker' -> 'speakers'rsiddharth2015-12-161-5/+2
| | | | `speakers` is always a list.
* came up with a clean fix for the utf8 issue.rsiddharth2015-12-161-8/+7
|
* HTMLRender -> RenderHTML + changes to it.rsiddharth2015-12-151-16/+22
| | | | | | `RenderHTML` (was `HTMLRender`) now uses `PackagLoader` instead of FileSystemLoader and the template are loaded from the templates/ directory.
* comment addedjantwisted2015-12-161-9/+12
|