index.rst 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. .. _lps-doc-sec-speakers:
  2. LP speakers
  3. -----------
  4. Markdown structure
  5. ~~~~~~~~~~~~~~~~~~
  6. ::
  7. # Keynote speaker name 1
  8. ![Keynote speaker name 1 - Photo](//fsf.org/images/ks1.jpg)
  9. Lorem ipsum dolor sit amet keynote speaker 1 bio; can contain
  10. inline HTML.
  11. # Keynote speaker name 2
  12. ![Keynote speaker name 2 - Photo](//fsf.org/images/ks2.jpg)
  13. Lorem ipsum dolor sit amet keynote speaker 2 bio; can contain
  14. inline HTML.
  15. ...
  16. ## Speaker name 1
  17. ![Speaker name 1 - Photo](//fsf.org/images/s1.jpg)
  18. Lorem ipsum dolor sit amet speaker 1 bio; can contain inline HTML.
  19. ## Speaker name 2
  20. ![Speaker name 2 - Photo](//fsf.org/images/s2.jpg)
  21. Lorem ipsum dolor sit amet speaker 2 bio; can contain inline HTML.
  22. ...
  23. Everything except the speaker name is optional.
  24. Sample: https://notabug.org/rsd/lpschedule-generator/raw/dev/tests/files/lp-speakers.md
  25. Speaker's ID generation
  26. +++++++++++++++++++++++
  27. The last name of the speaker is automatically made the ID; if a
  28. speaker' name is "John Hacker", the ID for this speaker will be
  29. ``hacker``.
  30. - If two or more speakers have the same last name, then, the first
  31. speaker will have their last name as their ID and from the second to
  32. the n^th speaker will have their full name as their ID; if "Bill
  33. Hacker" and "Jill Hacker" are two speakers, "Bill" will get
  34. ``hacker`` as his ID and "Jill" will get ``jill_hacker`` as her ID.
  35. - The IDs are transliterated to ASCII; if a speaker' name is "John
  36. HÖcker", the ID for this speaker will be ``hacker``.
  37. Generate HTML from Markdown
  38. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  39. ::
  40. $ lps_gen -sp path/to/lp-speakers.md > path/to/speakers-content.html
  41. or::
  42. $ lps_gen --speakers path/to/lp-speakers.md > path/to/speakers-content.html
  43. If you run into issues, ask for :ref:`help <lps-doc-sec-help>`.
  44. Next, you might want to look at the :ref:`lps-doc-sec-schedule` section or the :ref:`lps-doc-sec-general` section.