summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* bin: update feedrsiddharth2021-03-051-15/+16
| | | | Generate a single feed for all sections at /feed.atom
* add handling for "case-study" sectionrsiddharth2021-03-041-1/+1
| | | | | * bin/html (SECTIONS): add "case-study" * templates/html/case-study.html: Template for case-study section.
* bin/feed: update URLrsiddharth2020-09-181-1/+1
| | | | Switch to HTTPS.
* bin/html: update slugrsiddharth2020-09-181-1/+1
| | | | Use '0-9' instead of '\d' for matching numbers.
* bin/feed: update slugrsiddharth2020-09-181-1/+1
| | | | Update regex to match numbers too.
* bin/feed: update feedrsiddharth2020-09-181-1/+1
| | | | Capitalize feed name.
* feat: support numbers in slugAkshay S Dinesh2020-09-181-1/+1
| | | | useful for slugs like camp-2020
* bin/html: update markdownrsiddharth2020-09-141-1/+0
| | | | Remove extraneous blank line.
* bin/feed: update markdownrsiddharth2020-09-141-1/+0
| | | | Remove extraneous blank line.
* bin: remove markdownrsiddharth2020-09-141-1452/+0
| | | | Replaced by mistune.
* bin/feed: format via blackrsiddharth2020-09-141-51/+51
|
* bin/html: format via blackrsiddharth2020-09-141-40/+47
|
* bin/html: fix feedrsiddharth2020-09-141-1/+1
| | | | Change `p` call to `err`
* bin/html: fix markdownrsiddharth2020-09-141-1/+1
| | | | Change `p` call to `err`
* bin/feed: add spacingrsiddharth2020-09-141-0/+1
| | | | Separate mistune import from imports from standard lib.
* bin/html: add spacingrsiddharth2020-09-141-0/+1
| | | | Separate mistune import from imports from standard lib.
* switch to mistune markdown parserKarthik2020-09-142-16/+8
|
* bin/feed: add i18n handlingrsiddharth2020-07-251-7/+10
| | | | | | | | | * bin/feed (slug): Add regex to detect ISO 639-1 string. Return unique name, slug and the ISO 639-1 string. The third value returned is None when is there no ISO 639- string in the file name. (elink): Add argument `l` -- ISO 639-1 string. Append it to the URL if it is not None. (entry): Update slug and elink calls.
* add i18n supportrsiddharth2020-07-251-2/+7
| | | | | | | | * bin/html (html): Add argument `lm` -- langmap and add handling to insert lang block if the news item is available in more than one language. (process): Generate language map via `langmap` and pass it to the `html` call.
* bin/html: add langhtml.rsiddharth2020-07-251-0/+12
| | | | * bin/html (langhtml): New function.
* bin/html: update PH.rsiddharth2020-07-251-0/+1
| | | | * bin/html (PH): Add 'lang' placeholder.
* bin/html: add lhref.rsiddharth2020-07-251-0/+7
| | | | * bin/html (lhref): New function.
* bin/html: add langmap.rsiddharth2020-07-251-0/+18
| | | | * bin/html (langmap): New function.
* bin/html: detect i18n filesrsiddharth2020-07-251-6/+9
| | | | | | | | | | | * bin/html (slug): Add regex to identify ISO 639-1 string in file name. Return a tuple containing the file 'slug' and the IS0 639-1 string. The second element of the tuple is None when ISO 639-1 string is not found in the file name. (html): Read ISO 639-1 string into `l` and return it as the third element. (process): Add handling to write localized version at `SLUG/XX` where `XX` is a ISO 639-1 string.
* bin/markdown: Add license identifier.rsiddharth2020-07-221-0/+2
|
* bin/feed: Fix URL.rsiddharth2019-07-211-1/+1
|
* bin/html: Update write.rsiddharth2019-07-061-0/+5
| | | | * bin/html (write): Set permission on file.
* bin/html: Update author.rsiddharth2019-05-181-1/+1
| | | | * bin/html (author): Add period (.) to the regex.
* bin/feed: Update SECTIONS.rsiddharth2019-05-181-1/+1
| | | | * bin/feed (SECTIONS): Add article.
* bin/html: Update SECTIONS.rsiddharth2019-05-181-1/+1
| | | | * bin/html (SECTIONS): Add article.
* bin/html: Add ability set author.rsiddharth2019-05-181-0/+14
| | | | | | | | | * bin/html (PH): Add author field. (author): New function. (html): Set author if needed. * scss/style.scss: Update styling for '.meta'. Add styling '.author' and '.date' divs under meta. * templates/html/article.html: Add author in meta div.
* bin: Refactor html.rsiddharth2019-05-181-18/+20
| | | | | | | | | | | Update html to generate html for all sections written in markdown (news, articles). * bin/html (SECTIONS): New variable. (files): Add arg `sec`. (html, process): Rewrite functions. (run): Process different sections. * templates/html/news.html: Template NEW-ITEM-TITLE -> ITEM-TITLE.
* bin/feed: Update process.rsiddharth2019-05-171-5/+11
| | | | | * bin/feed (process): Sort entries. (entry): Return id, entry string.
* bin/feed: Add esort.rsiddharth2019-05-171-0/+10
|
* bin/feed: URL: Change to fsfi.ricketyspace.netrsiddharth2019-05-171-1/+1
|
* bin/html: files: Ignore backup files.rsiddharth2019-05-171-1/+10
|
* bin/html: Add fok.rsiddharth2019-05-171-0/+9
|
* bin/feed: process: Don't add \n between entries.rsiddharth2019-05-171-1/+1
|
* bin/feed: files: Ignore backup files.rsiddharth2019-05-171-1/+10
|
* bin/feed: Add fok.rsiddharth2019-05-171-0/+9
|
* bin/feed: Add err.rsiddharth2019-05-171-0/+6
|
* Add bin/feed.rsiddharth2019-05-161-0/+174
|
* bin/news -> bin/htmlrsiddharth2019-05-161-0/+0
|
* templates/news.html -> templates/html/news.htmlrsiddharth2019-05-161-1/+1
|
* bin/news: Update process.rsiddharth2019-05-151-0/+3
| | | | * bin/news (process): Dump html to _build/news/
* bin/news: Add write.rsiddharth2019-05-151-0/+11
|
* bin/news: Update process.rsiddharth2019-05-141-0/+3
| | | | * bin/news (process): Add html call.
* bin/news: Add html.rsiddharth2019-05-141-0/+9
| | | | * bin/news (html): New function.
* bin/news: Add markdown.rsiddharth2019-05-141-0/+14
| | | | * bin/news (markdown): New function.
* bin/news: Add datefmt.rsiddharth2019-05-141-0/+5
| | | | * bin/news (datefmt): New function.