[Creativecommons-website-commits] [creativecommons/creativecommons.org] be56a4: add HTML comments, update style, and minor fixes

Timid Robot Zehta noreply at github.com
Thu Jan 30 15:52:27 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/creativecommons/creativecommons.org
  Commit: be56a4582b56a1c2beca3d971fac700fd960ca0e
      https://github.com/creativecommons/creativecommons.org/commit/be56a4582b56a1c2beca3d971fac700fd960ca0e
  Author: Timid Robot Zehta <timid at creativecommons.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M tools/prep_cc4_code.py

  Log Message:
  -----------
  add HTML comments, update style, and minor fixes

- add legalcode HTML comments (for increased translation clarity)
- add language footer HTML comments (to support future work to resolve
  https://github.com/creativecommons/creativecommons.org/issues/1063)
- replace string concatenation with f-strings
- remove unused option handling
- skip symlinks


  Commit: 9df12b58860f3b69e62c3342ab882351af80b6bb
      https://github.com/creativecommons/creativecommons.org/commit/9df12b58860f3b69e62c3342ab882351af80b6bb
  Author: Timid Robot Zehta <timid at creativecommons.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M docroot/legalcode/by-nc-nd_4.0.html
    M docroot/legalcode/by-nc-nd_4.0_ar.html
    M docroot/legalcode/by-nc-nd_4.0_cs.html
    M docroot/legalcode/by-nc-nd_4.0_de.html
    M docroot/legalcode/by-nc-nd_4.0_el.html
    M docroot/legalcode/by-nc-nd_4.0_es.html
    M docroot/legalcode/by-nc-nd_4.0_eu.html
    M docroot/legalcode/by-nc-nd_4.0_fi.html
    M docroot/legalcode/by-nc-nd_4.0_fr.html
    M docroot/legalcode/by-nc-nd_4.0_hr.html
    M docroot/legalcode/by-nc-nd_4.0_id.html
    M docroot/legalcode/by-nc-nd_4.0_it.html
    M docroot/legalcode/by-nc-nd_4.0_ja.html
    M docroot/legalcode/by-nc-nd_4.0_ko.html
    M docroot/legalcode/by-nc-nd_4.0_lt.html
    M docroot/legalcode/by-nc-nd_4.0_lv.html
    M docroot/legalcode/by-nc-nd_4.0_mi.html
    M docroot/legalcode/by-nc-nd_4.0_nl.html
    M docroot/legalcode/by-nc-nd_4.0_no.html
    M docroot/legalcode/by-nc-nd_4.0_pl.html
    M docroot/legalcode/by-nc-nd_4.0_pt.html
    M docroot/legalcode/by-nc-nd_4.0_ru.html
    M docroot/legalcode/by-nc-nd_4.0_sv.html
    M docroot/legalcode/by-nc-nd_4.0_tr.html
    M docroot/legalcode/by-nc-nd_4.0_uk.html
    M docroot/legalcode/by-nc-nd_4.0_zh-Hans.html
    M docroot/legalcode/by-nc-nd_4.0_zh-Hant.html
    M docroot/legalcode/by-nc-sa_4.0.html
    M docroot/legalcode/by-nc-sa_4.0_ar.html
    M docroot/legalcode/by-nc-sa_4.0_cs.html
    M docroot/legalcode/by-nc-sa_4.0_de.html
    M docroot/legalcode/by-nc-sa_4.0_el.html
    M docroot/legalcode/by-nc-sa_4.0_es.html
    M docroot/legalcode/by-nc-sa_4.0_eu.html
    M docroot/legalcode/by-nc-sa_4.0_fi.html
    M docroot/legalcode/by-nc-sa_4.0_fr.html
    M docroot/legalcode/by-nc-sa_4.0_hr.html
    M docroot/legalcode/by-nc-sa_4.0_id.html
    M docroot/legalcode/by-nc-sa_4.0_it.html
    M docroot/legalcode/by-nc-sa_4.0_ja.html
    M docroot/legalcode/by-nc-sa_4.0_ko.html
    M docroot/legalcode/by-nc-sa_4.0_lt.html
    M docroot/legalcode/by-nc-sa_4.0_lv.html
    M docroot/legalcode/by-nc-sa_4.0_mi.html
    M docroot/legalcode/by-nc-sa_4.0_nl.html
    M docroot/legalcode/by-nc-sa_4.0_no.html
    M docroot/legalcode/by-nc-sa_4.0_pl.html
    M docroot/legalcode/by-nc-sa_4.0_pt.html
    M docroot/legalcode/by-nc-sa_4.0_ru.html
    M docroot/legalcode/by-nc-sa_4.0_sv.html
    M docroot/legalcode/by-nc-sa_4.0_tr.html
    M docroot/legalcode/by-nc-sa_4.0_uk.html
    M docroot/legalcode/by-nc-sa_4.0_zh-Hans.html
    M docroot/legalcode/by-nc-sa_4.0_zh-Hant.html
    M docroot/legalcode/by-nc_4.0.html
    M docroot/legalcode/by-nc_4.0_ar.html
    M docroot/legalcode/by-nc_4.0_cs.html
    M docroot/legalcode/by-nc_4.0_de.html
    M docroot/legalcode/by-nc_4.0_el.html
    M docroot/legalcode/by-nc_4.0_es.html
    M docroot/legalcode/by-nc_4.0_eu.html
    M docroot/legalcode/by-nc_4.0_fi.html
    M docroot/legalcode/by-nc_4.0_fr.html
    M docroot/legalcode/by-nc_4.0_hr.html
    M docroot/legalcode/by-nc_4.0_id.html
    M docroot/legalcode/by-nc_4.0_it.html
    M docroot/legalcode/by-nc_4.0_ja.html
    M docroot/legalcode/by-nc_4.0_ko.html
    M docroot/legalcode/by-nc_4.0_lt.html
    M docroot/legalcode/by-nc_4.0_lv.html
    M docroot/legalcode/by-nc_4.0_mi.html
    M docroot/legalcode/by-nc_4.0_nl.html
    M docroot/legalcode/by-nc_4.0_no.html
    M docroot/legalcode/by-nc_4.0_pl.html
    M docroot/legalcode/by-nc_4.0_pt.html
    M docroot/legalcode/by-nc_4.0_ru.html
    M docroot/legalcode/by-nc_4.0_sv.html
    M docroot/legalcode/by-nc_4.0_tr.html
    M docroot/legalcode/by-nc_4.0_uk.html
    M docroot/legalcode/by-nc_4.0_zh-Hans.html
    M docroot/legalcode/by-nc_4.0_zh-Hant.html
    M docroot/legalcode/by-nd_4.0.html
    M docroot/legalcode/by-nd_4.0_ar.html
    M docroot/legalcode/by-nd_4.0_cs.html
    M docroot/legalcode/by-nd_4.0_de.html
    M docroot/legalcode/by-nd_4.0_el.html
    M docroot/legalcode/by-nd_4.0_es.html
    M docroot/legalcode/by-nd_4.0_eu.html
    M docroot/legalcode/by-nd_4.0_fi.html
    M docroot/legalcode/by-nd_4.0_fr.html
    M docroot/legalcode/by-nd_4.0_hr.html
    M docroot/legalcode/by-nd_4.0_id.html
    M docroot/legalcode/by-nd_4.0_it.html
    M docroot/legalcode/by-nd_4.0_ja.html
    M docroot/legalcode/by-nd_4.0_ko.html
    M docroot/legalcode/by-nd_4.0_lt.html
    M docroot/legalcode/by-nd_4.0_lv.html
    M docroot/legalcode/by-nd_4.0_mi.html
    M docroot/legalcode/by-nd_4.0_nl.html
    M docroot/legalcode/by-nd_4.0_no.html
    M docroot/legalcode/by-nd_4.0_pl.html
    M docroot/legalcode/by-nd_4.0_pt.html
    M docroot/legalcode/by-nd_4.0_ru.html
    M docroot/legalcode/by-nd_4.0_sv.html
    M docroot/legalcode/by-nd_4.0_tr.html
    M docroot/legalcode/by-nd_4.0_uk.html
    M docroot/legalcode/by-nd_4.0_zh-Hans.html
    M docroot/legalcode/by-nd_4.0_zh-Hant.html
    M docroot/legalcode/by-sa_4.0.html
    M docroot/legalcode/by-sa_4.0_ar.html
    M docroot/legalcode/by-sa_4.0_cs.html
    M docroot/legalcode/by-sa_4.0_de.html
    M docroot/legalcode/by-sa_4.0_el.html
    M docroot/legalcode/by-sa_4.0_es.html
    M docroot/legalcode/by-sa_4.0_eu.html
    M docroot/legalcode/by-sa_4.0_fi.html
    M docroot/legalcode/by-sa_4.0_fr.html
    M docroot/legalcode/by-sa_4.0_hr.html
    M docroot/legalcode/by-sa_4.0_id.html
    M docroot/legalcode/by-sa_4.0_it.html
    M docroot/legalcode/by-sa_4.0_ja.html
    M docroot/legalcode/by-sa_4.0_ko.html
    M docroot/legalcode/by-sa_4.0_lt.html
    M docroot/legalcode/by-sa_4.0_lv.html
    M docroot/legalcode/by-sa_4.0_mi.html
    M docroot/legalcode/by-sa_4.0_nl.html
    M docroot/legalcode/by-sa_4.0_no.html
    M docroot/legalcode/by-sa_4.0_pl.html
    M docroot/legalcode/by-sa_4.0_pt.html
    M docroot/legalcode/by-sa_4.0_ru.html
    M docroot/legalcode/by-sa_4.0_sv.html
    M docroot/legalcode/by-sa_4.0_tr.html
    M docroot/legalcode/by-sa_4.0_uk.html
    M docroot/legalcode/by-sa_4.0_zh-Hans.html
    M docroot/legalcode/by-sa_4.0_zh-Hant.html
    M docroot/legalcode/by_4.0.html
    M docroot/legalcode/by_4.0_ar.html
    M docroot/legalcode/by_4.0_cs.html
    M docroot/legalcode/by_4.0_de.html
    M docroot/legalcode/by_4.0_el.html
    M docroot/legalcode/by_4.0_es.html
    M docroot/legalcode/by_4.0_eu.html
    M docroot/legalcode/by_4.0_fi.html
    M docroot/legalcode/by_4.0_fr.html
    M docroot/legalcode/by_4.0_hr.html
    M docroot/legalcode/by_4.0_id.html
    M docroot/legalcode/by_4.0_it.html
    M docroot/legalcode/by_4.0_ja.html
    M docroot/legalcode/by_4.0_ko.html
    M docroot/legalcode/by_4.0_lt.html
    M docroot/legalcode/by_4.0_lv.html
    M docroot/legalcode/by_4.0_mi.html
    M docroot/legalcode/by_4.0_nl.html
    M docroot/legalcode/by_4.0_no.html
    M docroot/legalcode/by_4.0_pl.html
    M docroot/legalcode/by_4.0_pt.html
    M docroot/legalcode/by_4.0_ru.html
    M docroot/legalcode/by_4.0_sv.html
    M docroot/legalcode/by_4.0_tr.html
    M docroot/legalcode/by_4.0_uk.html
    M docroot/legalcode/by_4.0_zh-Hans.html
    M docroot/legalcode/by_4.0_zh-Hant.html

  Log Message:
  -----------
  updated 4.0 legalcode with new HTML comments


  Commit: 754e6de951783d37176fa0bf710f9b3d166ff935
      https://github.com/creativecommons/creativecommons.org/commit/754e6de951783d37176fa0bf710f9b3d166ff935
  Author: Timid Robot Zehta <timid at creativecommons.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:

  Log Message:
  -----------
  Merge branch 'master' into add-legalcode-and-lang-footer-comments


  Commit: b7296284a180dbde58a982d4b71ee814d46ca531
      https://github.com/creativecommons/creativecommons.org/commit/b7296284a180dbde58a982d4b71ee814d46ca531
  Author: Timid Robot Zehta <timid at creativecommons.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M tools/prep_cc4_code.py

  Log Message:
  -----------
  added regex comments


  Commit: f289bcb48cf0f6bb4048879225e66bc40e91406d
      https://github.com/creativecommons/creativecommons.org/commit/f289bcb48cf0f6bb4048879225e66bc40e91406d
  Author: Timid Robot Zehta <timid at creativecommons.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M tools/prep_cc4_code.py

  Log Message:
  -----------
  added regex comments


  Commit: 46a308b9f8b01cc7bb42d43480915c0b13fc6fcf
      https://github.com/creativecommons/creativecommons.org/commit/46a308b9f8b01cc7bb42d43480915c0b13fc6fcf
  Author: Timid Robot Zehta <timid at creativecommons.org>
  Date:   2020-01-30 (Thu, 30 Jan 2020)

  Changed paths:
    M docroot/legalcode/by-nc-nd_4.0.html
    M docroot/legalcode/by-nc-nd_4.0_ar.html
    M docroot/legalcode/by-nc-nd_4.0_cs.html
    M docroot/legalcode/by-nc-nd_4.0_de.html
    M docroot/legalcode/by-nc-nd_4.0_el.html
    M docroot/legalcode/by-nc-nd_4.0_es.html
    M docroot/legalcode/by-nc-nd_4.0_eu.html
    M docroot/legalcode/by-nc-nd_4.0_fi.html
    M docroot/legalcode/by-nc-nd_4.0_fr.html
    M docroot/legalcode/by-nc-nd_4.0_hr.html
    M docroot/legalcode/by-nc-nd_4.0_id.html
    M docroot/legalcode/by-nc-nd_4.0_it.html
    M docroot/legalcode/by-nc-nd_4.0_ja.html
    M docroot/legalcode/by-nc-nd_4.0_ko.html
    M docroot/legalcode/by-nc-nd_4.0_lt.html
    M docroot/legalcode/by-nc-nd_4.0_lv.html
    M docroot/legalcode/by-nc-nd_4.0_mi.html
    M docroot/legalcode/by-nc-nd_4.0_nl.html
    M docroot/legalcode/by-nc-nd_4.0_no.html
    M docroot/legalcode/by-nc-nd_4.0_pl.html
    M docroot/legalcode/by-nc-nd_4.0_pt.html
    M docroot/legalcode/by-nc-nd_4.0_ru.html
    M docroot/legalcode/by-nc-nd_4.0_sv.html
    M docroot/legalcode/by-nc-nd_4.0_tr.html
    M docroot/legalcode/by-nc-nd_4.0_uk.html
    M docroot/legalcode/by-nc-nd_4.0_zh-Hans.html
    M docroot/legalcode/by-nc-nd_4.0_zh-Hant.html
    M docroot/legalcode/by-nc-sa_4.0.html
    M docroot/legalcode/by-nc-sa_4.0_ar.html
    M docroot/legalcode/by-nc-sa_4.0_cs.html
    M docroot/legalcode/by-nc-sa_4.0_de.html
    M docroot/legalcode/by-nc-sa_4.0_el.html
    M docroot/legalcode/by-nc-sa_4.0_es.html
    M docroot/legalcode/by-nc-sa_4.0_eu.html
    M docroot/legalcode/by-nc-sa_4.0_fi.html
    M docroot/legalcode/by-nc-sa_4.0_fr.html
    M docroot/legalcode/by-nc-sa_4.0_hr.html
    M docroot/legalcode/by-nc-sa_4.0_id.html
    M docroot/legalcode/by-nc-sa_4.0_it.html
    M docroot/legalcode/by-nc-sa_4.0_ja.html
    M docroot/legalcode/by-nc-sa_4.0_ko.html
    M docroot/legalcode/by-nc-sa_4.0_lt.html
    M docroot/legalcode/by-nc-sa_4.0_lv.html
    M docroot/legalcode/by-nc-sa_4.0_mi.html
    M docroot/legalcode/by-nc-sa_4.0_nl.html
    M docroot/legalcode/by-nc-sa_4.0_no.html
    M docroot/legalcode/by-nc-sa_4.0_pl.html
    M docroot/legalcode/by-nc-sa_4.0_pt.html
    M docroot/legalcode/by-nc-sa_4.0_ru.html
    M docroot/legalcode/by-nc-sa_4.0_sv.html
    M docroot/legalcode/by-nc-sa_4.0_tr.html
    M docroot/legalcode/by-nc-sa_4.0_uk.html
    M docroot/legalcode/by-nc-sa_4.0_zh-Hans.html
    M docroot/legalcode/by-nc-sa_4.0_zh-Hant.html
    M docroot/legalcode/by-nc_4.0.html
    M docroot/legalcode/by-nc_4.0_ar.html
    M docroot/legalcode/by-nc_4.0_cs.html
    M docroot/legalcode/by-nc_4.0_de.html
    M docroot/legalcode/by-nc_4.0_el.html
    M docroot/legalcode/by-nc_4.0_es.html
    M docroot/legalcode/by-nc_4.0_eu.html
    M docroot/legalcode/by-nc_4.0_fi.html
    M docroot/legalcode/by-nc_4.0_fr.html
    M docroot/legalcode/by-nc_4.0_hr.html
    M docroot/legalcode/by-nc_4.0_id.html
    M docroot/legalcode/by-nc_4.0_it.html
    M docroot/legalcode/by-nc_4.0_ja.html
    M docroot/legalcode/by-nc_4.0_ko.html
    M docroot/legalcode/by-nc_4.0_lt.html
    M docroot/legalcode/by-nc_4.0_lv.html
    M docroot/legalcode/by-nc_4.0_mi.html
    M docroot/legalcode/by-nc_4.0_nl.html
    M docroot/legalcode/by-nc_4.0_no.html
    M docroot/legalcode/by-nc_4.0_pl.html
    M docroot/legalcode/by-nc_4.0_pt.html
    M docroot/legalcode/by-nc_4.0_ru.html
    M docroot/legalcode/by-nc_4.0_sv.html
    M docroot/legalcode/by-nc_4.0_tr.html
    M docroot/legalcode/by-nc_4.0_uk.html
    M docroot/legalcode/by-nc_4.0_zh-Hans.html
    M docroot/legalcode/by-nc_4.0_zh-Hant.html
    M docroot/legalcode/by-nd_4.0.html
    M docroot/legalcode/by-nd_4.0_ar.html
    M docroot/legalcode/by-nd_4.0_cs.html
    M docroot/legalcode/by-nd_4.0_de.html
    M docroot/legalcode/by-nd_4.0_el.html
    M docroot/legalcode/by-nd_4.0_es.html
    M docroot/legalcode/by-nd_4.0_eu.html
    M docroot/legalcode/by-nd_4.0_fi.html
    M docroot/legalcode/by-nd_4.0_fr.html
    M docroot/legalcode/by-nd_4.0_hr.html
    M docroot/legalcode/by-nd_4.0_id.html
    M docroot/legalcode/by-nd_4.0_it.html
    M docroot/legalcode/by-nd_4.0_ja.html
    M docroot/legalcode/by-nd_4.0_ko.html
    M docroot/legalcode/by-nd_4.0_lt.html
    M docroot/legalcode/by-nd_4.0_lv.html
    M docroot/legalcode/by-nd_4.0_mi.html
    M docroot/legalcode/by-nd_4.0_nl.html
    M docroot/legalcode/by-nd_4.0_no.html
    M docroot/legalcode/by-nd_4.0_pl.html
    M docroot/legalcode/by-nd_4.0_pt.html
    M docroot/legalcode/by-nd_4.0_ru.html
    M docroot/legalcode/by-nd_4.0_sv.html
    M docroot/legalcode/by-nd_4.0_tr.html
    M docroot/legalcode/by-nd_4.0_uk.html
    M docroot/legalcode/by-nd_4.0_zh-Hans.html
    M docroot/legalcode/by-nd_4.0_zh-Hant.html
    M docroot/legalcode/by-sa_4.0.html
    M docroot/legalcode/by-sa_4.0_ar.html
    M docroot/legalcode/by-sa_4.0_cs.html
    M docroot/legalcode/by-sa_4.0_de.html
    M docroot/legalcode/by-sa_4.0_el.html
    M docroot/legalcode/by-sa_4.0_es.html
    M docroot/legalcode/by-sa_4.0_eu.html
    M docroot/legalcode/by-sa_4.0_fi.html
    M docroot/legalcode/by-sa_4.0_fr.html
    M docroot/legalcode/by-sa_4.0_hr.html
    M docroot/legalcode/by-sa_4.0_id.html
    M docroot/legalcode/by-sa_4.0_it.html
    M docroot/legalcode/by-sa_4.0_ja.html
    M docroot/legalcode/by-sa_4.0_ko.html
    M docroot/legalcode/by-sa_4.0_lt.html
    M docroot/legalcode/by-sa_4.0_lv.html
    M docroot/legalcode/by-sa_4.0_mi.html
    M docroot/legalcode/by-sa_4.0_nl.html
    M docroot/legalcode/by-sa_4.0_no.html
    M docroot/legalcode/by-sa_4.0_pl.html
    M docroot/legalcode/by-sa_4.0_pt.html
    M docroot/legalcode/by-sa_4.0_ru.html
    M docroot/legalcode/by-sa_4.0_sv.html
    M docroot/legalcode/by-sa_4.0_tr.html
    M docroot/legalcode/by-sa_4.0_uk.html
    M docroot/legalcode/by-sa_4.0_zh-Hans.html
    M docroot/legalcode/by-sa_4.0_zh-Hant.html
    M docroot/legalcode/by_4.0.html
    M docroot/legalcode/by_4.0_ar.html
    M docroot/legalcode/by_4.0_cs.html
    M docroot/legalcode/by_4.0_de.html
    M docroot/legalcode/by_4.0_el.html
    M docroot/legalcode/by_4.0_es.html
    M docroot/legalcode/by_4.0_eu.html
    M docroot/legalcode/by_4.0_fi.html
    M docroot/legalcode/by_4.0_fr.html
    M docroot/legalcode/by_4.0_hr.html
    M docroot/legalcode/by_4.0_id.html
    M docroot/legalcode/by_4.0_it.html
    M docroot/legalcode/by_4.0_ja.html
    M docroot/legalcode/by_4.0_ko.html
    M docroot/legalcode/by_4.0_lt.html
    M docroot/legalcode/by_4.0_lv.html
    M docroot/legalcode/by_4.0_mi.html
    M docroot/legalcode/by_4.0_nl.html
    M docroot/legalcode/by_4.0_no.html
    M docroot/legalcode/by_4.0_pl.html
    M docroot/legalcode/by_4.0_pt.html
    M docroot/legalcode/by_4.0_ru.html
    M docroot/legalcode/by_4.0_sv.html
    M docroot/legalcode/by_4.0_tr.html
    M docroot/legalcode/by_4.0_uk.html
    M docroot/legalcode/by_4.0_zh-Hans.html
    M docroot/legalcode/by_4.0_zh-Hant.html
    M tools/prep_cc4_code.py

  Log Message:
  -----------
  Merge pull request #1070 from creativecommons/add-legalcode-and-lang-footer-comments

add HTML comments, update python style, and minor python script fixes


Compare: https://github.com/creativecommons/creativecommons.org/compare/29ff5ece18b5...46a308b9f8b0



More information about the Creativecommons-website-commits mailing list