lektor-ng 0.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (481) hide show
  1. lektor_ng-0.0.0/.coverage +0 -0
  2. lektor_ng-0.0.0/.github/workflows/beta.yml +138 -0
  3. lektor_ng-0.0.0/.github/workflows/main.yml +111 -0
  4. lektor_ng-0.0.0/.github/workflows/release.yml +138 -0
  5. lektor_ng-0.0.0/.gitignore +17 -0
  6. lektor_ng-0.0.0/.pre-commit-config.yaml +16 -0
  7. lektor_ng-0.0.0/FORK.TXT +1 -0
  8. lektor_ng-0.0.0/PKG-INFO +61 -0
  9. lektor_ng-0.0.0/README.md +15 -0
  10. lektor_ng-0.0.0/README.md.bak +15 -0
  11. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/.gitignore +2 -0
  12. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/class_index.html +2611 -0
  13. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/coverage_html_cb_dd2e7eb5.js +735 -0
  14. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/favicon_32_cb_c827f16f.png +0 -0
  15. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/function_index.html +12791 -0
  16. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/index.html +684 -0
  17. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/keybd_closed_cb_900cfef5.png +0 -0
  18. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/status.json +1 -0
  19. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/style_cb_4667309f.css +391 -0
  20. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_0152fe3f6a10aaf4___init___py.html +133 -0
  21. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_0152fe3f6a10aaf4__compat_py.html +155 -0
  22. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_0152fe3f6a10aaf4_exif_py.html +483 -0
  23. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_0152fe3f6a10aaf4_image_info_py.html +286 -0
  24. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_0152fe3f6a10aaf4_thumbnail_py.html +568 -0
  25. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_3f7a4464b6019ecc___init___py.html +97 -0
  26. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_3f7a4464b6019ecc_api_py.html +540 -0
  27. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_3f7a4464b6019ecc_dash_py.html +117 -0
  28. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_3f7a4464b6019ecc_livereload_py.html +132 -0
  29. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_3f7a4464b6019ecc_serve_py.html +376 -0
  30. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_40831318f4025629___init___py.html +151 -0
  31. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_40831318f4025629_base_py.html +183 -0
  32. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_40831318f4025629_fake_py.html +131 -0
  33. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_40831318f4025629_flow_py.html +315 -0
  34. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_40831318f4025629_formats_py.html +133 -0
  35. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_40831318f4025629_multi_py.html +237 -0
  36. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_40831318f4025629_primitives_py.html +275 -0
  37. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_40831318f4025629_special_py.html +129 -0
  38. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_818556fa50464a5b___init___py.html +510 -0
  39. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_818556fa50464a5b_config_py.html +363 -0
  40. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_818556fa50464a5b_expressions_py.html +123 -0
  41. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_9caa5081013a5359___init___py.html +100 -0
  42. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_9caa5081013a5359_context_py.html +180 -0
  43. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_9caa5081013a5359_utils_py.html +114 -0
  44. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_9caa5081013a5359_webui_py.html +171 -0
  45. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229___init___py.html +99 -0
  46. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229___main___py.html +101 -0
  47. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_assets_py.html +282 -0
  48. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_build_programs_py.html +361 -0
  49. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_builder_py.html +1362 -0
  50. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_buildfailures_py.html +166 -0
  51. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_cli_py.html +700 -0
  52. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_cli_utils_py.html +246 -0
  53. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_compat_py.html +253 -0
  54. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_constants_py.html +99 -0
  55. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_context_py.html +367 -0
  56. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_databags_py.html +171 -0
  57. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_datamodel_py.html +813 -0
  58. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_db_py.html +2247 -0
  59. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_devcli_py.html +206 -0
  60. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_devserver_py.html +242 -0
  61. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_editor_py.html +628 -0
  62. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_exception_py.html +115 -0
  63. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_filecontents_py.html +185 -0
  64. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_i18n_py.html +173 -0
  65. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_inifile_py.html +205 -0
  66. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_metaformat_py.html +202 -0
  67. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_packages_py.html +390 -0
  68. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_pagination_py.html +222 -0
  69. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_pluginsystem_py.html +342 -0
  70. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_project_py.html +273 -0
  71. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_publisher_py.html +1030 -0
  72. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_quickstart_py.html +477 -0
  73. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_reporter_py.html +507 -0
  74. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_sourceobj_py.html +402 -0
  75. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_sourcesearch_py.html +246 -0
  76. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_utils_py.html +1096 -0
  77. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_version_py.html +108 -0
  78. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_videotools_py.html +462 -0
  79. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_b6a3893cfb473229_watcher_py.html +137 -0
  80. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_c740ea7f464c60ee___init___py.html +224 -0
  81. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_c740ea7f464c60ee_controller_py.html +288 -0
  82. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_c740ea7f464c60ee_mistune0_py.html +175 -0
  83. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage/z_c740ea7f464c60ee_mistune2_py.html +204 -0
  84. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/coverage.xml +8998 -0
  85. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/github.json +16 -0
  86. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/junit/junit.html +1094 -0
  87. lektor_ng-0.0.0/build/qa-3.14-ubuntu-latest/junit/junit.xml +1 -0
  88. lektor_ng-0.0.0/example/Example.lektorproject +20 -0
  89. lektor_ng-0.0.0/example/assets/static/favicon.png +0 -0
  90. lektor_ng-0.0.0/example/assets/static/style.css +47 -0
  91. lektor_ng-0.0.0/example/configs/markdown-highlighter.ini +2 -0
  92. lektor_ng-0.0.0/example/content/404.html/contents.lr +13 -0
  93. lektor_ng-0.0.0/example/content/about/contents.lr +3 -0
  94. lektor_ng-0.0.0/example/content/blog/blog-post-2/contents.lr +7 -0
  95. lektor_ng-0.0.0/example/content/blog/blog-post-3/contents.lr +7 -0
  96. lektor_ng-0.0.0/example/content/blog/blog-post-4/contents.lr +7 -0
  97. lektor_ng-0.0.0/example/content/blog/blog-post-5/contents.lr +7 -0
  98. lektor_ng-0.0.0/example/content/blog/contents.lr +3 -0
  99. lektor_ng-0.0.0/example/content/blog/first-post/contents.lr +9 -0
  100. lektor_ng-0.0.0/example/content/contents+de.lr +6 -0
  101. lektor_ng-0.0.0/example/content/contents+fr.lr +6 -0
  102. lektor_ng-0.0.0/example/content/contents.lr +22 -0
  103. lektor_ng-0.0.0/example/content/logo.png +0 -0
  104. lektor_ng-0.0.0/example/content/plugin-use/contents.lr +22 -0
  105. lektor_ng-0.0.0/example/content/project-categories/category-1/contents.lr +1 -0
  106. lektor_ng-0.0.0/example/content/project-categories/category-2/contents.lr +1 -0
  107. lektor_ng-0.0.0/example/content/project-categories/category-3/contents.lr +1 -0
  108. lektor_ng-0.0.0/example/content/project-categories/category-4/contents.lr +1 -0
  109. lektor_ng-0.0.0/example/content/project-categories/category-5/contents.lr +1 -0
  110. lektor_ng-0.0.0/example/content/project-categories/contents.lr +3 -0
  111. lektor_ng-0.0.0/example/content/projects/contents.lr +11 -0
  112. lektor_ng-0.0.0/example/content/projects/project-a/contents.lr +7 -0
  113. lektor_ng-0.0.0/example/content/projects/project-b/contents.lr +7 -0
  114. lektor_ng-0.0.0/example/content/projects/project-c/contents.lr +5 -0
  115. lektor_ng-0.0.0/example/content/types/contents.lr +61 -0
  116. lektor_ng-0.0.0/example/flowblocks/text.ini +7 -0
  117. lektor_ng-0.0.0/example/flowblocks/text_and_html.ini +11 -0
  118. lektor_ng-0.0.0/example/models/attachment.ini +8 -0
  119. lektor_ng-0.0.0/example/models/blog-post.ini +29 -0
  120. lektor_ng-0.0.0/example/models/blog.ini +16 -0
  121. lektor_ng-0.0.0/example/models/page.ini +15 -0
  122. lektor_ng-0.0.0/example/models/project-categories.ini +9 -0
  123. lektor_ng-0.0.0/example/models/project-category.ini +11 -0
  124. lektor_ng-0.0.0/example/models/project.ini +21 -0
  125. lektor_ng-0.0.0/example/models/projects.ini +9 -0
  126. lektor_ng-0.0.0/example/models/types.ini +81 -0
  127. lektor_ng-0.0.0/example/templates/blocks/text.html +1 -0
  128. lektor_ng-0.0.0/example/templates/blocks/text_and_html.html +1 -0
  129. lektor_ng-0.0.0/example/templates/blog-post.html +6 -0
  130. lektor_ng-0.0.0/example/templates/blog.html +11 -0
  131. lektor_ng-0.0.0/example/templates/layout.html +77 -0
  132. lektor_ng-0.0.0/example/templates/macros/blog.html +56 -0
  133. lektor_ng-0.0.0/example/templates/macros/pagination.html +15 -0
  134. lektor_ng-0.0.0/example/templates/macros/projects.html +17 -0
  135. lektor_ng-0.0.0/example/templates/page.html +6 -0
  136. lektor_ng-0.0.0/example/templates/project-categories.html +7 -0
  137. lektor_ng-0.0.0/example/templates/project-category.html +9 -0
  138. lektor_ng-0.0.0/example/templates/project.html +6 -0
  139. lektor_ng-0.0.0/example/templates/projects.html +9 -0
  140. lektor_ng-0.0.0/example/templates/types.html +96 -0
  141. lektor_ng-0.0.0/example/themes/README.md +8 -0
  142. lektor_ng-0.0.0/example/themes/lektor-theme-nix/LICENSE.md +21 -0
  143. lektor_ng-0.0.0/example/themes/lektor-theme-nix/README.md +41 -0
  144. lektor_ng-0.0.0/example/themes/lektor-theme-nix/assets/static/css/nix.css +139 -0
  145. lektor_ng-0.0.0/example/themes/lektor-theme-nix/models/blog-post.ini +29 -0
  146. lektor_ng-0.0.0/example/themes/lektor-theme-nix/models/blog.ini +16 -0
  147. lektor_ng-0.0.0/example/themes/lektor-theme-nix/models/page.ini +11 -0
  148. lektor_ng-0.0.0/example/themes/lektor-theme-nix/models/showcase-item.ini +24 -0
  149. lektor_ng-0.0.0/example/themes/lektor-theme-nix/models/showcase.ini +12 -0
  150. lektor_ng-0.0.0/example/themes/lektor-theme-nix/templates/404.html +29 -0
  151. lektor_ng-0.0.0/example/themes/lektor-theme-nix/templates/blog-post.html +15 -0
  152. lektor_ng-0.0.0/example/themes/lektor-theme-nix/templates/blog.html +26 -0
  153. lektor_ng-0.0.0/example/themes/lektor-theme-nix/templates/index.html +25 -0
  154. lektor_ng-0.0.0/example/themes/lektor-theme-nix/templates/layout.html +17 -0
  155. lektor_ng-0.0.0/example/themes/lektor-theme-nix/templates/macros/pagination.html +31 -0
  156. lektor_ng-0.0.0/example/themes/lektor-theme-nix/templates/page.html +7 -0
  157. lektor_ng-0.0.0/example/themes/lektor-theme-nix/templates/partials/footer.html +10 -0
  158. lektor_ng-0.0.0/example/themes/lektor-theme-nix/templates/partials/head.html +33 -0
  159. lektor_ng-0.0.0/example/themes/lektor-theme-nix/templates/partials/header.html +32 -0
  160. lektor_ng-0.0.0/example/themes/lektor-theme-nix/templates/partials/social.html +33 -0
  161. lektor_ng-0.0.0/example/themes/lektor-theme-nix/templates/showcase-item.html +7 -0
  162. lektor_ng-0.0.0/example/themes/lektor-theme-nix/templates/showcase.html +23 -0
  163. lektor_ng-0.0.0/example/themes/lektor-theme-nix/theme.ini +21 -0
  164. lektor_ng-0.0.0/licenses/LICENSE +29 -0
  165. lektor_ng-0.0.0/licenses/LICENSE.new +29 -0
  166. lektor_ng-0.0.0/pyproject.toml +97 -0
  167. lektor_ng-0.0.0/pyproject.toml.bak +97 -0
  168. lektor_ng-0.0.0/src/lektor_ng/__init__.py +2 -0
  169. lektor_ng-0.0.0/src/lektor_ng/__init__.py.bak +2 -0
  170. lektor_ng-0.0.0/src/lektor_ng/__main__.py +4 -0
  171. lektor_ng-0.0.0/src/lektor_ng/admin/__init__.py +3 -0
  172. lektor_ng-0.0.0/src/lektor_ng/admin/context.py +83 -0
  173. lektor_ng-0.0.0/src/lektor_ng/admin/modules/__init__.py +0 -0
  174. lektor_ng-0.0.0/src/lektor_ng/admin/modules/api.py +443 -0
  175. lektor_ng-0.0.0/src/lektor_ng/admin/modules/dash.py +20 -0
  176. lektor_ng-0.0.0/src/lektor_ng/admin/modules/livereload.py +35 -0
  177. lektor_ng-0.0.0/src/lektor_ng/admin/modules/serve.py +279 -0
  178. lektor_ng-0.0.0/src/lektor_ng/admin/static/app.css +10389 -0
  179. lektor_ng-0.0.0/src/lektor_ng/admin/static/app.css.map +6 -0
  180. lektor_ng-0.0.0/src/lektor_ng/admin/static/app.js +20748 -0
  181. lektor_ng-0.0.0/src/lektor_ng/admin/static/app.js.map +6 -0
  182. lektor_ng-0.0.0/src/lektor_ng/admin/static/fontawesome-webfont-5GKVPAEF.woff2 +0 -0
  183. lektor_ng-0.0.0/src/lektor_ng/admin/static/livereload-worker.js +64 -0
  184. lektor_ng-0.0.0/src/lektor_ng/admin/static/livereload-worker.js.map +6 -0
  185. lektor_ng-0.0.0/src/lektor_ng/admin/static/roboto-slab-cyrillic-400-normal-PWNUQSYH.woff2 +0 -0
  186. lektor_ng-0.0.0/src/lektor_ng/admin/static/roboto-slab-cyrillic-700-normal-53XHIQOP.woff2 +0 -0
  187. lektor_ng-0.0.0/src/lektor_ng/admin/static/roboto-slab-cyrillic-ext-400-normal-EKLBGYU2.woff2 +0 -0
  188. lektor_ng-0.0.0/src/lektor_ng/admin/static/roboto-slab-cyrillic-ext-700-normal-ORAQWFDU.woff2 +0 -0
  189. lektor_ng-0.0.0/src/lektor_ng/admin/static/roboto-slab-greek-400-normal-265R7ALO.woff2 +0 -0
  190. lektor_ng-0.0.0/src/lektor_ng/admin/static/roboto-slab-greek-700-normal-DATRUZ6G.woff2 +0 -0
  191. lektor_ng-0.0.0/src/lektor_ng/admin/static/roboto-slab-greek-ext-400-normal-MLOD3UJF.woff2 +0 -0
  192. lektor_ng-0.0.0/src/lektor_ng/admin/static/roboto-slab-greek-ext-700-normal-PDUH36TO.woff2 +0 -0
  193. lektor_ng-0.0.0/src/lektor_ng/admin/static/roboto-slab-latin-400-normal-6BIZ6Q7Y.woff2 +0 -0
  194. lektor_ng-0.0.0/src/lektor_ng/admin/static/roboto-slab-latin-700-normal-74B6TCIJ.woff2 +0 -0
  195. lektor_ng-0.0.0/src/lektor_ng/admin/static/roboto-slab-latin-ext-400-normal-Y72UPO3C.woff2 +0 -0
  196. lektor_ng-0.0.0/src/lektor_ng/admin/static/roboto-slab-latin-ext-700-normal-D62DIFTX.woff2 +0 -0
  197. lektor_ng-0.0.0/src/lektor_ng/admin/static/roboto-slab-vietnamese-400-normal-CEUPW2BK.woff2 +0 -0
  198. lektor_ng-0.0.0/src/lektor_ng/admin/static/roboto-slab-vietnamese-700-normal-M3Y2HZAB.woff2 +0 -0
  199. lektor_ng-0.0.0/src/lektor_ng/admin/static/tooldrawer.js +1475 -0
  200. lektor_ng-0.0.0/src/lektor_ng/admin/static/tooldrawer.js.map +6 -0
  201. lektor_ng-0.0.0/src/lektor_ng/admin/templates/base.html +13 -0
  202. lektor_ng-0.0.0/src/lektor_ng/admin/templates/build-failure.html +8 -0
  203. lektor_ng-0.0.0/src/lektor_ng/admin/templates/dash.html +17 -0
  204. lektor_ng-0.0.0/src/lektor_ng/admin/templates/layout.html +4 -0
  205. lektor_ng-0.0.0/src/lektor_ng/admin/templates/tooldrawer.html +10 -0
  206. lektor_ng-0.0.0/src/lektor_ng/admin/utils.py +17 -0
  207. lektor_ng-0.0.0/src/lektor_ng/admin/webui.py +74 -0
  208. lektor_ng-0.0.0/src/lektor_ng/assets.py +185 -0
  209. lektor_ng-0.0.0/src/lektor_ng/build_programs.py +264 -0
  210. lektor_ng-0.0.0/src/lektor_ng/builder.py +1265 -0
  211. lektor_ng-0.0.0/src/lektor_ng/buildfailures.py +69 -0
  212. lektor_ng-0.0.0/src/lektor_ng/cli.py +603 -0
  213. lektor_ng-0.0.0/src/lektor_ng/cli_utils.py +149 -0
  214. lektor_ng-0.0.0/src/lektor_ng/compat.py +156 -0
  215. lektor_ng-0.0.0/src/lektor_ng/constants.py +2 -0
  216. lektor_ng-0.0.0/src/lektor_ng/context.py +270 -0
  217. lektor_ng-0.0.0/src/lektor_ng/databags.py +74 -0
  218. lektor_ng-0.0.0/src/lektor_ng/datamodel.py +716 -0
  219. lektor_ng-0.0.0/src/lektor_ng/db.py +2150 -0
  220. lektor_ng-0.0.0/src/lektor_ng/devcli.py +109 -0
  221. lektor_ng-0.0.0/src/lektor_ng/devserver.py +145 -0
  222. lektor_ng-0.0.0/src/lektor_ng/editor.py +531 -0
  223. lektor_ng-0.0.0/src/lektor_ng/environment/__init__.py +413 -0
  224. lektor_ng-0.0.0/src/lektor_ng/environment/config.py +266 -0
  225. lektor_ng-0.0.0/src/lektor_ng/environment/expressions.py +26 -0
  226. lektor_ng-0.0.0/src/lektor_ng/exception.py +18 -0
  227. lektor_ng-0.0.0/src/lektor_ng/filecontents.py +88 -0
  228. lektor_ng-0.0.0/src/lektor_ng/i18n.py +76 -0
  229. lektor_ng-0.0.0/src/lektor_ng/imagetools/__init__.py +36 -0
  230. lektor_ng-0.0.0/src/lektor_ng/imagetools/_compat.py +58 -0
  231. lektor_ng-0.0.0/src/lektor_ng/imagetools/exif.py +386 -0
  232. lektor_ng-0.0.0/src/lektor_ng/imagetools/image_info.py +189 -0
  233. lektor_ng-0.0.0/src/lektor_ng/imagetools/thumbnail.py +471 -0
  234. lektor_ng-0.0.0/src/lektor_ng/inifile.py +108 -0
  235. lektor_ng-0.0.0/src/lektor_ng/markdown/__init__.py +127 -0
  236. lektor_ng-0.0.0/src/lektor_ng/markdown/controller.py +191 -0
  237. lektor_ng-0.0.0/src/lektor_ng/markdown/mistune0.py +78 -0
  238. lektor_ng-0.0.0/src/lektor_ng/markdown/mistune2.py +107 -0
  239. lektor_ng-0.0.0/src/lektor_ng/metaformat.py +105 -0
  240. lektor_ng-0.0.0/src/lektor_ng/packages.py +293 -0
  241. lektor_ng-0.0.0/src/lektor_ng/pagination.py +125 -0
  242. lektor_ng-0.0.0/src/lektor_ng/pluginsystem.py +245 -0
  243. lektor_ng-0.0.0/src/lektor_ng/project.py +176 -0
  244. lektor_ng-0.0.0/src/lektor_ng/publisher.py +933 -0
  245. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/plugin/.gitignore.in +4 -0
  246. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/plugin/@plugin_module@.py.in +11 -0
  247. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/plugin/README.md.in +4 -0
  248. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/plugin/pyproject.toml.in +3 -0
  249. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/plugin/setup.cfg.in +23 -0
  250. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/project/@project_name@.lektorproject.in +2 -0
  251. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/project/assets/static/style.css.in +42 -0
  252. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/project/content/about/contents.lr.in +7 -0
  253. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/project/content/blog/contents.lr.in +5 -0
  254. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/project/content/blog/first-post/contents.lr.in +11 -0
  255. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/project/content/contents.lr.in +6 -0
  256. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/project/content/projects/contents.lr.in +9 -0
  257. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/project/models/blog-post.ini.in +31 -0
  258. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/project/models/blog.ini.in +18 -0
  259. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/project/models/page.ini.in +11 -0
  260. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/project/templates/blog-post.html.in +8 -0
  261. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/project/templates/blog.html.in +13 -0
  262. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/project/templates/layout.html.in +31 -0
  263. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/project/templates/macros/blog.html.in +22 -0
  264. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/project/templates/macros/pagination.html.in +15 -0
  265. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/project/templates/page.html.in +6 -0
  266. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/theme/README.md.in +17 -0
  267. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/theme/example-site/README.md.in +8 -0
  268. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/theme/example-site/lektor-theme-@theme_id@.lektorproject.in +9 -0
  269. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/theme/images/homepage.png +0 -0
  270. lektor_ng-0.0.0/src/lektor_ng/quickstart-templates/theme/theme.ini.in +20 -0
  271. lektor_ng-0.0.0/src/lektor_ng/quickstart.py +380 -0
  272. lektor_ng-0.0.0/src/lektor_ng/reporter.py +410 -0
  273. lektor_ng-0.0.0/src/lektor_ng/sourceobj.py +305 -0
  274. lektor_ng-0.0.0/src/lektor_ng/sourcesearch.py +149 -0
  275. lektor_ng-0.0.0/src/lektor_ng/translations/ca.json +126 -0
  276. lektor_ng-0.0.0/src/lektor_ng/translations/de.json +126 -0
  277. lektor_ng-0.0.0/src/lektor_ng/translations/en.json +138 -0
  278. lektor_ng-0.0.0/src/lektor_ng/translations/es.json +126 -0
  279. lektor_ng-0.0.0/src/lektor_ng/translations/fr.json +126 -0
  280. lektor_ng-0.0.0/src/lektor_ng/translations/it.json +126 -0
  281. lektor_ng-0.0.0/src/lektor_ng/translations/ja.json +126 -0
  282. lektor_ng-0.0.0/src/lektor_ng/translations/ko.json +126 -0
  283. lektor_ng-0.0.0/src/lektor_ng/translations/nl.json +126 -0
  284. lektor_ng-0.0.0/src/lektor_ng/translations/pl.json +126 -0
  285. lektor_ng-0.0.0/src/lektor_ng/translations/pt.json +126 -0
  286. lektor_ng-0.0.0/src/lektor_ng/translations/ru.json +121 -0
  287. lektor_ng-0.0.0/src/lektor_ng/translations/tr.json +138 -0
  288. lektor_ng-0.0.0/src/lektor_ng/translations/zh.json +126 -0
  289. lektor_ng-0.0.0/src/lektor_ng/types/__init__.py +54 -0
  290. lektor_ng-0.0.0/src/lektor_ng/types/base.py +86 -0
  291. lektor_ng-0.0.0/src/lektor_ng/types/fake.py +34 -0
  292. lektor_ng-0.0.0/src/lektor_ng/types/flow.py +218 -0
  293. lektor_ng-0.0.0/src/lektor_ng/types/formats.py +36 -0
  294. lektor_ng-0.0.0/src/lektor_ng/types/multi.py +140 -0
  295. lektor_ng-0.0.0/src/lektor_ng/types/primitives.py +178 -0
  296. lektor_ng-0.0.0/src/lektor_ng/types/special.py +32 -0
  297. lektor_ng-0.0.0/src/lektor_ng/utils.py +999 -0
  298. lektor_ng-0.0.0/src/lektor_ng/version.py +11 -0
  299. lektor_ng-0.0.0/src/lektor_ng/videotools.py +365 -0
  300. lektor_ng-0.0.0/src/lektor_ng/watcher.py +40 -0
  301. lektor_ng-0.0.0/support/builder.py +474 -0
  302. lektor_ng-0.0.0/support/rename.py +23 -0
  303. lektor_ng-0.0.0/support/update-actions.py +101 -0
  304. lektor_ng-0.0.0/tests/admin/test_api.py +503 -0
  305. lektor_ng-0.0.0/tests/admin/test_dash.py +46 -0
  306. lektor_ng-0.0.0/tests/admin/test_serve.py +603 -0
  307. lektor_ng-0.0.0/tests/admin/test_webui.py +76 -0
  308. lektor_ng-0.0.0/tests/child-sources-test-project/Website.lektorproject +2 -0
  309. lektor_ng-0.0.0/tests/child-sources-test-project/content/attachment.txt +1 -0
  310. lektor_ng-0.0.0/tests/child-sources-test-project/content/contents.lr +1 -0
  311. lektor_ng-0.0.0/tests/child-sources-test-project/content/filtered-page/contents.lr +1 -0
  312. lektor_ng-0.0.0/tests/child-sources-test-project/models/bar.ini +2 -0
  313. lektor_ng-0.0.0/tests/child-sources-test-project/models/foo.ini +2 -0
  314. lektor_ng-0.0.0/tests/child-sources-test-project/models/page.ini +7 -0
  315. lektor_ng-0.0.0/tests/child-sources-test-project/templates/bar.html +0 -0
  316. lektor_ng-0.0.0/tests/child-sources-test-project/templates/foo.html +0 -0
  317. lektor_ng-0.0.0/tests/child-sources-test-project/templates/page.html +0 -0
  318. lektor_ng-0.0.0/tests/conftest.py +315 -0
  319. lektor_ng-0.0.0/tests/demo-project/Website.lektorproject +26 -0
  320. lektor_ng-0.0.0/tests/demo-project/assets/_include_me_despite_underscore +0 -0
  321. lektor_ng-0.0.0/tests/demo-project/assets/dir_with_index_htm/index.htm +0 -0
  322. lektor_ng-0.0.0/tests/demo-project/assets/dir_with_index_html/index.html +0 -0
  323. lektor_ng-0.0.0/tests/demo-project/assets/empty/.gitkeep +0 -0
  324. lektor_ng-0.0.0/tests/demo-project/assets/foo-prefix-makes-me-excluded +0 -0
  325. lektor_ng-0.0.0/tests/demo-project/assets/static/demo.css +3 -0
  326. lektor_ng-0.0.0/tests/demo-project/content/blog/contents.lr +1 -0
  327. lektor_ng-0.0.0/tests/demo-project/content/blog/dummy.xml/contents.lr +3 -0
  328. lektor_ng-0.0.0/tests/demo-project/content/blog/post1/contents.lr +18 -0
  329. lektor_ng-0.0.0/tests/demo-project/content/blog/post1/hello.txt +1 -0
  330. lektor_ng-0.0.0/tests/demo-project/content/blog/post2/contents.lr +12 -0
  331. lektor_ng-0.0.0/tests/demo-project/content/contents.lr +10 -0
  332. lektor_ng-0.0.0/tests/demo-project/content/extra/a/contents.lr +5 -0
  333. lektor_ng-0.0.0/tests/demo-project/content/extra/b/contents.lr +5 -0
  334. lektor_ng-0.0.0/tests/demo-project/content/extra/container/a/contents.lr +5 -0
  335. lektor_ng-0.0.0/tests/demo-project/content/extra/container/contents.lr +3 -0
  336. lektor_ng-0.0.0/tests/demo-project/content/extra/container/hello.txt +1 -0
  337. lektor_ng-0.0.0/tests/demo-project/content/extra/contents.lr +5 -0
  338. lektor_ng-0.0.0/tests/demo-project/content/extra/file.ext/contents.lr +3 -0
  339. lektor_ng-0.0.0/tests/demo-project/content/extra/hello.txt +1 -0
  340. lektor_ng-0.0.0/tests/demo-project/content/extra/paginated/contents+de.lr +2 -0
  341. lektor_ng-0.0.0/tests/demo-project/content/extra/paginated/contents.lr +5 -0
  342. lektor_ng-0.0.0/tests/demo-project/content/extra/slash-slug/contents.lr +5 -0
  343. lektor_ng-0.0.0/tests/demo-project/content/hello.txt +1 -0
  344. lektor_ng-0.0.0/tests/demo-project/content/icc-profile-test/CGATS001Compat-v2-micro.icc +0 -0
  345. lektor_ng-0.0.0/tests/demo-project/content/icc-profile-test/README.md +21 -0
  346. lektor_ng-0.0.0/tests/demo-project/content/icc-profile-test/contents.lr +7 -0
  347. lektor_ng-0.0.0/tests/demo-project/content/icc-profile-test/icc.profiles.license.txt +116 -0
  348. lektor_ng-0.0.0/tests/demo-project/content/icc-profile-test/rgb-to-gbr-test.jpg +0 -0
  349. lektor_ng-0.0.0/tests/demo-project/content/icc-profile-test/rgb-to-gbr-test.license.txt +201 -0
  350. lektor_ng-0.0.0/tests/demo-project/content/projects/attachment.txt +1 -0
  351. lektor_ng-0.0.0/tests/demo-project/content/projects/bagpipe/contents+de.lr +7 -0
  352. lektor_ng-0.0.0/tests/demo-project/content/projects/bagpipe/contents.lr +7 -0
  353. lektor_ng-0.0.0/tests/demo-project/content/projects/coffee/contents+de.lr +7 -0
  354. lektor_ng-0.0.0/tests/demo-project/content/projects/coffee/contents.lr +7 -0
  355. lektor_ng-0.0.0/tests/demo-project/content/projects/contents.lr +1 -0
  356. lektor_ng-0.0.0/tests/demo-project/content/projects/filtered/contents.lr +7 -0
  357. lektor_ng-0.0.0/tests/demo-project/content/projects/master/contents+de.lr +7 -0
  358. lektor_ng-0.0.0/tests/demo-project/content/projects/master/contents.lr +7 -0
  359. lektor_ng-0.0.0/tests/demo-project/content/projects/oven/contents+de.lr +7 -0
  360. lektor_ng-0.0.0/tests/demo-project/content/projects/oven/contents.lr +7 -0
  361. lektor_ng-0.0.0/tests/demo-project/content/projects/postage/contents+de.lr +7 -0
  362. lektor_ng-0.0.0/tests/demo-project/content/projects/postage/contents.lr +7 -0
  363. lektor_ng-0.0.0/tests/demo-project/content/projects/secret/contents.lr +9 -0
  364. lektor_ng-0.0.0/tests/demo-project/content/projects/slave/contents+de.lr +9 -0
  365. lektor_ng-0.0.0/tests/demo-project/content/projects/slave/contents.lr +7 -0
  366. lektor_ng-0.0.0/tests/demo-project/content/projects/wolf/contents.lr +7 -0
  367. lektor_ng-0.0.0/tests/demo-project/content/projects/zaun/contents+de.lr +7 -0
  368. lektor_ng-0.0.0/tests/demo-project/content/test-progressive.jpg +0 -0
  369. lektor_ng-0.0.0/tests/demo-project/content/test-sof-last.jpg +0 -0
  370. lektor_ng-0.0.0/tests/demo-project/content/test.jpg +0 -0
  371. lektor_ng-0.0.0/tests/demo-project/content/test.mp4 +0 -0
  372. lektor_ng-0.0.0/tests/demo-project/flowblocks/text.ini +6 -0
  373. lektor_ng-0.0.0/tests/demo-project/models/blog-post.ini +28 -0
  374. lektor_ng-0.0.0/tests/demo-project/models/blog.ini +14 -0
  375. lektor_ng-0.0.0/tests/demo-project/models/container.ini +7 -0
  376. lektor_ng-0.0.0/tests/demo-project/models/page.ini +11 -0
  377. lektor_ng-0.0.0/tests/demo-project/models/paginated.ini +6 -0
  378. lektor_ng-0.0.0/tests/demo-project/models/project.ini +20 -0
  379. lektor_ng-0.0.0/tests/demo-project/models/projects.ini +14 -0
  380. lektor_ng-0.0.0/tests/demo-project/templates/blocks/text.html +3 -0
  381. lektor_ng-0.0.0/tests/demo-project/templates/blog-post.html +5 -0
  382. lektor_ng-0.0.0/tests/demo-project/templates/blog.html +10 -0
  383. lektor_ng-0.0.0/tests/demo-project/templates/dummy.xml +1 -0
  384. lektor_ng-0.0.0/tests/demo-project/templates/icc-profile-test.html +13 -0
  385. lektor_ng-0.0.0/tests/demo-project/templates/layout.html +15 -0
  386. lektor_ng-0.0.0/tests/demo-project/templates/page.html +50 -0
  387. lektor_ng-0.0.0/tests/demo-project/templates/project.html +10 -0
  388. lektor_ng-0.0.0/tests/demo-project/templates/projects.html +10 -0
  389. lektor_ng-0.0.0/tests/dependency-test-project/Website.lektorproject +2 -0
  390. lektor_ng-0.0.0/tests/dependency-test-project/content/contents.lr +1 -0
  391. lektor_ng-0.0.0/tests/dependency-test-project/content/post1/contents.lr +0 -0
  392. lektor_ng-0.0.0/tests/dependency-test-project/content/post2/contents.lr +0 -0
  393. lektor_ng-0.0.0/tests/dependency-test-project/content/post4/contents.lr +0 -0
  394. lektor_ng-0.0.0/tests/dependency-test-project/models/blog-post.ini +0 -0
  395. lektor_ng-0.0.0/tests/dependency-test-project/models/blog.ini +3 -0
  396. lektor_ng-0.0.0/tests/dependency-test-project/templates/blog-post.html +3 -0
  397. lektor_ng-0.0.0/tests/dependency-test-project/templates/blog.html +0 -0
  398. lektor_ng-0.0.0/tests/imagetools/exif-test-1.jpg +0 -0
  399. lektor_ng-0.0.0/tests/imagetools/exif-test-2.gif +0 -0
  400. lektor_ng-0.0.0/tests/imagetools/exif-test-3.jpg +0 -0
  401. lektor_ng-0.0.0/tests/imagetools/exif-test-4.jpg +0 -0
  402. lektor_ng-0.0.0/tests/imagetools/test_exif.py +221 -0
  403. lektor_ng-0.0.0/tests/imagetools/test_image_info.py +154 -0
  404. lektor_ng-0.0.0/tests/imagetools/test_imagetools.py +25 -0
  405. lektor_ng-0.0.0/tests/imagetools/test_thumbnail.py +533 -0
  406. lektor_ng-0.0.0/tests/pep660-dummy-plugin/lektor_dummy_plugin.py +10 -0
  407. lektor_ng-0.0.0/tests/pep660-dummy-plugin/pyproject.toml +14 -0
  408. lektor_ng-0.0.0/tests/test_assets.py +233 -0
  409. lektor_ng-0.0.0/tests/test_build_frontend.py +130 -0
  410. lektor_ng-0.0.0/tests/test_builder.py +463 -0
  411. lektor_ng-0.0.0/tests/test_buildfailures.py +88 -0
  412. lektor_ng-0.0.0/tests/test_cli.py +180 -0
  413. lektor_ng-0.0.0/tests/test_cli_utils.py +19 -0
  414. lektor_ng-0.0.0/tests/test_compat.py +152 -0
  415. lektor_ng-0.0.0/tests/test_config.py +50 -0
  416. lektor_ng-0.0.0/tests/test_conftest.py +33 -0
  417. lektor_ng-0.0.0/tests/test_datamodel.py +57 -0
  418. lektor_ng-0.0.0/tests/test_db.py +566 -0
  419. lektor_ng-0.0.0/tests/test_deploy.py +163 -0
  420. lektor_ng-0.0.0/tests/test_devcli.py +371 -0
  421. lektor_ng-0.0.0/tests/test_editor.py +283 -0
  422. lektor_ng-0.0.0/tests/test_environment.py +188 -0
  423. lektor_ng-0.0.0/tests/test_filecontents.py +13 -0
  424. lektor_ng-0.0.0/tests/test_i18n.py +32 -0
  425. lektor_ng-0.0.0/tests/test_imports.py +40 -0
  426. lektor_ng-0.0.0/tests/test_issue_410.py +46 -0
  427. lektor_ng-0.0.0/tests/test_markdown.py +603 -0
  428. lektor_ng-0.0.0/tests/test_packages.py +193 -0
  429. lektor_ng-0.0.0/tests/test_pagination.py +302 -0
  430. lektor_ng-0.0.0/tests/test_pluginsystem.py +365 -0
  431. lektor_ng-0.0.0/tests/test_prev_next_sibling.py +113 -0
  432. lektor_ng-0.0.0/tests/test_project.py +28 -0
  433. lektor_ng-0.0.0/tests/test_publisher.py +639 -0
  434. lektor_ng-0.0.0/tests/test_quickstart.py +60 -0
  435. lektor_ng-0.0.0/tests/test_reporter.py +37 -0
  436. lektor_ng-0.0.0/tests/test_sourceobj.py +38 -0
  437. lektor_ng-0.0.0/tests/test_themes.py +220 -0
  438. lektor_ng-0.0.0/tests/test_tree.py +482 -0
  439. lektor_ng-0.0.0/tests/test_types.py +296 -0
  440. lektor_ng-0.0.0/tests/test_unicode.py +47 -0
  441. lektor_ng-0.0.0/tests/test_urls.py +425 -0
  442. lektor_ng-0.0.0/tests/test_utils.py +446 -0
  443. lektor_ng-0.0.0/tests/test_videotools.py +152 -0
  444. lektor_ng-0.0.0/tests/test_watcher.py +228 -0
  445. lektor_ng-0.0.0/tests/themes-project/assets/asset.txt +1 -0
  446. lektor_ng-0.0.0/tests/themes-project/assets/dummy.txt +1 -0
  447. lektor_ng-0.0.0/tests/themes-project/flowblocks/text.ini +6 -0
  448. lektor_ng-0.0.0/tests/themes-project/models/blog-post.ini +32 -0
  449. lektor_ng-0.0.0/tests/themes-project/models/page.ini +11 -0
  450. lektor_ng-0.0.0/tests/themes-project/templates/blocks/text.html +3 -0
  451. lektor_ng-0.0.0/tests/themes-project/templates/layout.html +15 -0
  452. lektor_ng-0.0.0/tests/themes-project/templates/page.html +12 -0
  453. lektor_ng-0.0.0/tests/themes-project/themes/blog_theme/assets/dummy.txt +1 -0
  454. lektor_ng-0.0.0/tests/themes-project/themes/blog_theme/assets/dummy2.txt +1 -0
  455. lektor_ng-0.0.0/tests/themes-project/themes/blog_theme/assets/static/blog.css +3 -0
  456. lektor_ng-0.0.0/tests/themes-project/themes/blog_theme/models/blog-post.ini +28 -0
  457. lektor_ng-0.0.0/tests/themes-project/themes/blog_theme/models/blog.ini +14 -0
  458. lektor_ng-0.0.0/tests/themes-project/themes/blog_theme/models/project.ini +24 -0
  459. lektor_ng-0.0.0/tests/themes-project/themes/blog_theme/templates/blog-post.html +5 -0
  460. lektor_ng-0.0.0/tests/themes-project/themes/blog_theme/templates/blog.html +10 -0
  461. lektor_ng-0.0.0/tests/themes-project/themes/blog_theme/templates/dummy.html +1 -0
  462. lektor_ng-0.0.0/tests/themes-project/themes/blog_theme/templates/layout.html +15 -0
  463. lektor_ng-0.0.0/tests/themes-project/themes/blog_theme/theme.ini +17 -0
  464. lektor_ng-0.0.0/tests/themes-project/themes/project_theme/assets/dummy2.txt +1 -0
  465. lektor_ng-0.0.0/tests/themes-project/themes/project_theme/assets/static/project.css +3 -0
  466. lektor_ng-0.0.0/tests/themes-project/themes/project_theme/flowblocks/text.ini +6 -0
  467. lektor_ng-0.0.0/tests/themes-project/themes/project_theme/models/project.ini +20 -0
  468. lektor_ng-0.0.0/tests/themes-project/themes/project_theme/models/projects.ini +14 -0
  469. lektor_ng-0.0.0/tests/themes-project/themes/project_theme/templates/blocks/text.html +3 -0
  470. lektor_ng-0.0.0/tests/themes-project/themes/project_theme/templates/dummy.html +1 -0
  471. lektor_ng-0.0.0/tests/themes-project/themes/project_theme/templates/layout.html +15 -0
  472. lektor_ng-0.0.0/tests/themes-project/themes/project_theme/templates/project.html +10 -0
  473. lektor_ng-0.0.0/tests/themes-project/themes/project_theme/templates/projects.html +10 -0
  474. lektor_ng-0.0.0/tests/themes-project/themes/project_theme/theme.ini +13 -0
  475. lektor_ng-0.0.0/tests//303/274nic/303/266de-project/content/b/303/244d/contents.lr +1 -0
  476. lektor_ng-0.0.0/tests//303/274nic/303/266de-project/content/contents.lr +5 -0
  477. lektor_ng-0.0.0/tests//303/274nic/303/266de-project/content//303/244ttachment +1 -0
  478. lektor_ng-0.0.0/tests//303/274nic/303/266de-project/models/page.ini +9 -0
  479. lektor_ng-0.0.0/tests//303/274nic/303/266de-project/templates/page.html +2 -0
  480. lektor_ng-0.0.0/tests//303/274nic/303/266de-project/test.lektorproject +2 -0
  481. lektor_ng-0.0.0/uv.lock +1608 -0
Binary file
@@ -0,0 +1,138 @@
1
+ name: Beta-build
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - beta/*
7
+
8
+ concurrency: ${{ github.workflow }}-${{ github.ref }}
9
+
10
+ env:
11
+ PYTHONPATH: src
12
+ GITHUB_DUMP: |
13
+ {
14
+ "event": {
15
+ "repository": {
16
+ "name": "${{ github.event.repository.name }}",
17
+ "default_branch": "${{ github.event.repository.default_branch }}",
18
+ "html_url": "${{ github.event.repository.html_url }}"
19
+ }
20
+ },
21
+ "ref": "${{ github.ref }}",
22
+ "sha": "${{ github.sha }}",
23
+ "run_number": "${{ github.run_number }}",
24
+ "ref_name": "${{ github.ref_name }}",
25
+ "repository": "${{ github.repository }}",
26
+ "workflow_ref": "${{ github.workflow_ref }}"
27
+ }
28
+ TARGETPY: "3.14"
29
+ TARGETOS: "ubuntu-latest"
30
+
31
+
32
+ jobs:
33
+ betas:
34
+ strategy:
35
+ matrix:
36
+ os: [ubuntu-latest, macos-latest, windows-latest]
37
+ python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
38
+ runs-on: ${{ matrix.os }}
39
+
40
+ steps:
41
+ - name: Dump ENV
42
+ shell: bash
43
+ env:
44
+ X: ${{ toJson(github) }}
45
+ run: |
46
+ echo "=== GITHUB_DUMP ==="
47
+ echo "$GITHUB_DUMP" | python -m json.tool
48
+ echo "=== END GITHUB_DUMP ==="
49
+ echo "=== GITHUB ==="
50
+ echo "$X" | python -m json.tool
51
+ echo "=== END GITHUB ==="
52
+
53
+ # https://github.com/actions/checkout
54
+ - name: Checkout
55
+ uses: actions/checkout@v7
56
+ with:
57
+ # WARNING!! this is important
58
+ fetch-depth: 0
59
+ ref: ${{ github.event.pull_request.head.sha }}
60
+
61
+ # https://github.com/actions/setup-python
62
+ - name: Install Python ${{ matrix.python-version }}
63
+ uses: actions/setup-python@v7
64
+ with:
65
+ python-version: ${{ matrix.python-version }}
66
+
67
+ # https://github.com/astral-sh/setup-uv
68
+ - name: Install uv
69
+ uses: astral-sh/setup-uv@v9.0.0
70
+
71
+ - name: Create venv
72
+ shell: bash
73
+ run: |
74
+ uv sync --no-managed-python
75
+
76
+ - name: Run Python checks (format)
77
+ run: uv run ruff --verbose format --check
78
+
79
+ - name: Run Python checks (tests+coverage)
80
+ env:
81
+ OUTDIR: build/qa-${{ matrix.python-version }}-${{ matrix.os}}
82
+ shell: bash
83
+ run: |
84
+ mkdir -p ${OUTDIR}
85
+ echo "$GITHUB_DUMP" > ${OUTDIR}/github.json
86
+ uv run pytest -vvs -l \
87
+ --cov=$(basename src/*) \
88
+ --cov-report=html:$OUTDIR/coverage --cov-report=xml:$OUTDIR/coverage.xml \
89
+ --junitxml=$OUTDIR/junit/junit.xml --html=$OUTDIR/junit/junit.html --self-contained-html \
90
+ tests
91
+
92
+ - name: Create wheel (only on ${{ env.TARGETPY }}, ${{ env.TARGETOS }})
93
+ if: ${{ (matrix.python-version == env.TARGETPY) && (matrix.os == env.TARGETOS) }}
94
+ env:
95
+ OUTDIR: build/qa-${{ matrix.python-version }}-${{ matrix.os}}
96
+ run: |
97
+ uv run support/builder.py beta src/lektor_ng/__init__.py README.md
98
+ mv dist $OUTDIR
99
+
100
+ # https://github.com/codecov/codecov-action
101
+ - name: Upload coverage reports to Codecov
102
+ uses: codecov/codecov-action@v7
103
+ if: ${{ (matrix.python-version == env.TARGETPY) && (matrix.os == env.TARGETOS) }}
104
+ with:
105
+ files: build/qa-${{ matrix.python-version }}-${{ matrix.os}}/coverage.xml
106
+ token: ${{ secrets.CODECOV_TOKEN }}
107
+ verbose: true # optional (default = false)
108
+
109
+ - name: Archive artifacts
110
+ uses: actions/upload-artifact@v7
111
+ with:
112
+ name: qa-results-${{ matrix.python-version }}-${{ matrix.os }}
113
+ path: |
114
+ build/qa-${{ matrix.python-version }}-${{ matrix.os}}
115
+ # Use always() to always run this step to publish test results when there are test failures
116
+ if: always()
117
+
118
+ pypi-publish:
119
+ name: upload beta to PyPI
120
+ runs-on: ubuntu-latest
121
+ needs: betas
122
+ environment: pypi
123
+ permissions:
124
+ id-token: write
125
+ steps:
126
+ - name: Download Build Artifact
127
+ uses: actions/download-artifact@v8
128
+ with:
129
+ name: qa-results-${{ env.TARGETPY }}-${{ env.TARGETOS }}
130
+ path: |
131
+ build/qa-${{ env.TARGETPY }}-${{ env.TARGETOS }}
132
+
133
+ - name: Extract packages
134
+ run: |
135
+ mv build/qa-${{ env.TARGETPY }}-${{ env.TARGETOS }}/dist .
136
+
137
+ - name: Publish package distributions to PyPI
138
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,111 @@
1
+ name: Main-build
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ concurrency: ${{ github.workflow }}-${{ github.ref }}
9
+
10
+ env:
11
+ PYTHONPATH: src
12
+ GITHUB_DUMP: |
13
+ {
14
+ "event": {
15
+ "repository": {
16
+ "name": "${{ github.event.repository.name }}",
17
+ "default_branch": "${{ github.event.repository.default_branch }}",
18
+ "html_url": "${{ github.event.repository.html_url }}"
19
+ }
20
+ },
21
+ "ref": "${{ github.ref }}",
22
+ "sha": "${{ github.sha }}",
23
+ "run_number": "${{ github.run_number }}",
24
+ "ref_name": "${{ github.ref_name }}",
25
+ "repository": "${{ github.repository }}",
26
+ "workflow_ref": "${{ github.workflow_ref }}"
27
+ }
28
+ TARGETPY: "3.14"
29
+ TARGETOS: "ubuntu-latest"
30
+
31
+
32
+ jobs:
33
+ main:
34
+ strategy:
35
+ matrix:
36
+ os: [ubuntu-latest, macos-latest, windows-latest]
37
+ python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
38
+ runs-on: ${{ matrix.os }}
39
+
40
+ steps:
41
+ - name: Dump ENV
42
+ shell: bash
43
+ run: |
44
+ echo "=== GITHUB_DUMP ==="
45
+ echo "$GITHUB_DUMP" | python -m json.tool
46
+ echo "=== END GITHUB_DUMP ==="
47
+
48
+ # https://github.com/actions/checkout
49
+ - name: Checkout
50
+ uses: actions/checkout@v7
51
+ with:
52
+ # WARNING!! this is important
53
+ fetch-depth: 0
54
+ ref: ${{ github.event.pull_request.head.sha }}
55
+
56
+ # https://github.com/actions/setup-python
57
+ - name: Install Python ${{ matrix.python-version }}
58
+ uses: actions/setup-python@v7
59
+ with:
60
+ python-version: ${{ matrix.python-version }}
61
+
62
+ # https://github.com/astral-sh/setup-uv
63
+ - name: Install uv
64
+ uses: astral-sh/setup-uv@v9.0.0
65
+
66
+ - name: Create venv
67
+ shell: bash
68
+ run: |
69
+ uv sync --no-managed-python
70
+
71
+ - name: Run Python checks (format)
72
+ run: uv run ruff --verbose format --check
73
+
74
+ - name: Run Python checks (tests+coverage)
75
+ env:
76
+ OUTDIR: build/qa-${{ matrix.python-version }}-${{ matrix.os}}
77
+ shell: bash
78
+ run: |
79
+ mkdir -p ${OUTDIR}
80
+ echo "$GITHUB_DUMP" > ${OUTDIR}/github.json
81
+ uv run pytest -vvs -l \
82
+ --cov=$(basename src/*) \
83
+ --cov-report=html:$OUTDIR/coverage --cov-report=xml:$OUTDIR/coverage.xml \
84
+ --junitxml=$OUTDIR/junit/junit.xml --html=$OUTDIR/junit/junit.html --self-contained-html \
85
+ tests
86
+
87
+ - name: Create wheel (only on ${{ env.TARGETPY }}, ${{ env.TARGETOS }})
88
+ if: ${{ (matrix.python-version == env.TARGETPY) && (matrix.os == env.TARGETOS) }}
89
+ env:
90
+ OUTDIR: build/qa-${{ matrix.python-version }}-${{ matrix.os}}
91
+ run: |
92
+ uv run support/builder.py beta src/lektor_ng/__init__.py README.md
93
+ mv dist $OUTDIR
94
+
95
+ # https://github.com/codecov/codecov-action
96
+ - name: Upload coverage reports to Codecov
97
+ uses: codecov/codecov-action@v7
98
+ if: ${{ (matrix.python-version == env.TARGETPY) && (matrix.os == env.TARGETOS) }}
99
+ with:
100
+ files: build/qa-${{ matrix.python-version }}-${{ matrix.os}}/coverage.xml
101
+ token: ${{ secrets.CODECOV_TOKEN }}
102
+ verbose: true # optional (default = false)
103
+
104
+ - name: Archive artifacts
105
+ uses: actions/upload-artifact@v7
106
+ with:
107
+ name: qa-results-${{ matrix.python-version }}-${{ matrix.os }}
108
+ path: |
109
+ build/qa-${{ matrix.python-version }}-${{ matrix.os}}
110
+ # Use always() to always run this step to publish test results when there are test failures
111
+ if: always()
@@ -0,0 +1,138 @@
1
+ name: Release-build
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - release/*
7
+
8
+ concurrency: ${{ github.workflow }}-${{ github.ref }}
9
+
10
+ env:
11
+ PYTHONPATH: src
12
+ GITHUB_DUMP: |
13
+ {
14
+ "event": {
15
+ "repository": {
16
+ "name": "${{ github.event.repository.name }}",
17
+ "default_branch": "${{ github.event.repository.default_branch }}",
18
+ "html_url": "${{ github.event.repository.html_url }}"
19
+ }
20
+ },
21
+ "ref": "${{ github.ref }}",
22
+ "sha": "${{ github.sha }}",
23
+ "run_number": "${{ github.run_number }}",
24
+ "ref_name": "${{ github.ref_name }}",
25
+ "repository": "${{ github.repository }}",
26
+ "workflow_ref": "${{ github.workflow_ref }}"
27
+ }
28
+ TARGETPY: "3.14"
29
+ TARGETOS: "ubuntu-latest"
30
+
31
+
32
+ jobs:
33
+ build:
34
+ strategy:
35
+ matrix:
36
+ os: [ubuntu-latest, macos-latest, windows-latest]
37
+ python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
38
+ runs-on: ${{ matrix.os }}
39
+
40
+ steps:
41
+ - name: Dump ENV
42
+ shell: bash
43
+ env:
44
+ X: ${{ toJson(github) }}
45
+ run: |
46
+ echo "=== GITHUB_DUMP ==="
47
+ echo "$GITHUB_DUMP" | python -m json.tool
48
+ echo "=== END GITHUB_DUMP ==="
49
+ echo "=== GITHUB ==="
50
+ echo "$X" | python -m json.tool
51
+ echo "=== END GITHUB ==="
52
+
53
+ # https://github.com/actions/checkout
54
+ - name: Checkout
55
+ uses: actions/checkout@v7
56
+ with:
57
+ # WARNING!! this is important
58
+ fetch-depth: 0
59
+ ref: ${{ github.event.pull_request.head.sha }}
60
+
61
+ # https://github.com/actions/setup-python
62
+ - name: Install Python ${{ matrix.python-version }}
63
+ uses: actions/setup-python@v7
64
+ with:
65
+ python-version: ${{ matrix.python-version }}
66
+
67
+ # https://github.com/astral-sh/setup-uv
68
+ - name: Install uv
69
+ uses: astral-sh/setup-uv@v9.0.0
70
+
71
+ - name: Create venv
72
+ shell: bash
73
+ run: |
74
+ uv sync --no-managed-python
75
+
76
+ - name: Run Python checks (format)
77
+ run: uv run ruff --verbose format --check
78
+
79
+ - name: Run Python checks (tests+coverage)
80
+ env:
81
+ OUTDIR: build/qa-${{ matrix.python-version }}-${{ matrix.os}}
82
+ shell: bash
83
+ run: |
84
+ mkdir -p ${OUTDIR}
85
+ echo "$GITHUB_DUMP" > ${OUTDIR}/github.json
86
+ uv run pytest -vvs -l \
87
+ --cov=$(basename src/*) \
88
+ --cov-report=html:$OUTDIR/coverage --cov-report=xml:$OUTDIR/coverage.xml \
89
+ --junitxml=$OUTDIR/junit/junit.xml --html=$OUTDIR/junit/junit.html --self-contained-html \
90
+ tests
91
+
92
+ - name: Create wheel (only on ${{ env.TARGETPY }}, ${{ env.TARGETOS }})
93
+ if: ${{ (matrix.python-version == env.TARGETPY) && (matrix.os == env.TARGETOS) }}
94
+ env:
95
+ OUTDIR: build/qa-${{ matrix.python-version }}-${{ matrix.os}}
96
+ run: |
97
+ uv run support/builder.py release src/lektor_ng/__init__.py README.md
98
+ mv dist $OUTDIR
99
+
100
+ # https://github.com/codecov/codecov-action
101
+ - name: Upload coverage reports to Codecov
102
+ uses: codecov/codecov-action@v7
103
+ if: ${{ (matrix.python-version == env.TARGETPY) && (matrix.os == env.TARGETOS) }}
104
+ with:
105
+ files: build/qa-${{ matrix.python-version }}-${{ matrix.os}}/coverage.xml
106
+ token: ${{ secrets.CODECOV_TOKEN }}
107
+ verbose: true # optional (default = false)
108
+
109
+ - name: Archive artifacts
110
+ uses: actions/upload-artifact@v7
111
+ with:
112
+ name: qa-results-${{ matrix.python-version }}-${{ matrix.os }}
113
+ path: |
114
+ build/qa-${{ matrix.python-version }}-${{ matrix.os}}
115
+ # Use always() to always run this step to publish test results when there are test failures
116
+ if: always()
117
+
118
+ pypi-publish:
119
+ name: upload beta to PyPI
120
+ runs-on: ubuntu-latest
121
+ needs: build
122
+ environment: pypi
123
+ permissions:
124
+ id-token: write
125
+ steps:
126
+ - name: Download Build Artifact
127
+ uses: actions/download-artifact@v8
128
+ with:
129
+ name: qa-results-${{ env.TARGETPY }}-${{ env.TARGETOS }}
130
+ path: |
131
+ build/qa-${{ env.TARGETPY }}-${{ env.TARGETOS }}
132
+
133
+ - name: Extract packages
134
+ run: |
135
+ mv build/qa-${{ env.TARGETPY }}-${{ env.TARGETOS }}/dist .
136
+
137
+ - name: Publish package distributions to PyPI
138
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,17 @@
1
+ # MacOS
2
+ .DS_Store
3
+
4
+ # System, editor and IDE files
5
+ *.swp
6
+ *.swo
7
+
8
+ # Python
9
+ *.pyc
10
+ *.pyd
11
+ *.pyo
12
+ *.egg-info
13
+ __pycache__/
14
+
15
+ # Venv
16
+ .venv/
17
+ .envrc
@@ -0,0 +1,16 @@
1
+ repos:
2
+ - repo: local
3
+ hooks:
4
+ - id: ruff
5
+ name: ruff-check
6
+ description: "Run 'ruff' for extremely fast Python linting"
7
+ language: system
8
+ entry: ruff check --force-exclude
9
+ types_or: [python, pyi]
10
+
11
+ - id: ruff-format
12
+ name: ruff-format
13
+ description: "Run 'ruff format' for extremely fast Python formatting"
14
+ language: system
15
+ entry: ruff format --force-exclude
16
+ types_or: [python, pyi]
@@ -0,0 +1 @@
1
+ forked from https://github.com/lektor/lektor.git (e59094e)
@@ -0,0 +1,61 @@
1
+ Metadata-Version: 2.4
2
+ Name: lektor-ng
3
+ Version: 0.0.0
4
+ Summary: A fork of a static content management system (Lektor).
5
+ Project-URL: Homepage, https://github.com/cav71/lektor-ng
6
+ Project-URL: Source, https://github.com/cav71/lektor-ng
7
+ Author-email: "A. Cavallo" <a.cavallo@cavallinux.eu>
8
+ License-Expression: BSD-3-Clause
9
+ License-File: licenses/LICENSE
10
+ License-File: licenses/LICENSE.new
11
+ Classifier: Development Status :: 1 - Planning
12
+ Classifier: Environment :: Web Environment
13
+ Classifier: Framework :: Lektor
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: BSD License
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Programming Language :: Python :: 3.14
23
+ Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
24
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
25
+ Requires-Python: >=3.11
26
+ Requires-Dist: babel
27
+ Requires-Dist: build
28
+ Requires-Dist: click>=6.0
29
+ Requires-Dist: flask
30
+ Requires-Dist: jinja2>=3.0
31
+ Requires-Dist: markupsafe
32
+ Requires-Dist: marshmallow
33
+ Requires-Dist: marshmallow-dataclass>=8.5.9
34
+ Requires-Dist: mistune!=2.0.*,<3,>=0.7.0
35
+ Requires-Dist: pillow>=6
36
+ Requires-Dist: pip
37
+ Requires-Dist: python-slugify
38
+ Requires-Dist: requests
39
+ Requires-Dist: tzdata; sys_platform == 'win32'
40
+ Requires-Dist: watchfiles>=0.12
41
+ Requires-Dist: werkzeug>=2.1.0
42
+ Provides-Extra: ipython
43
+ Requires-Dist: ipython; extra == 'ipython'
44
+ Requires-Dist: traitlets; extra == 'ipython'
45
+ Description-Content-Type: text/markdown
46
+
47
+ # Lektor ng
48
+ [![PyPI version](https://img.shields.io/pypi/v/lektor-ng.svg?color=blue)](https://pypi.org/project/lektor-ng)
49
+ [![Python versions](https://img.shields.io/pypi/pyversions/acbox.svg)](https://pypi.org/project/lektor-ng)
50
+ [![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/cav71/lektor-ng/release.yml?branch=release%2F0.0.0)](https://github.com/cav71/lektor-ng/actions/workflows/release.yml?branch=release%2F0.0.0)
51
+ [![Codecov (main)](https://img.shields.io/codecov/c/github/cav71/lektor-ng/main)](https://app.codecov.io/gh/cav71/lektor-ng/tree/main)
52
+
53
+ A fork of the [lektor](https://www.getlektor.com) project.
54
+
55
+ Aims:
56
+ - drop the front end to focus on the build part.
57
+ - release early release often process.
58
+ - lint and code coverage.
59
+
60
+
61
+ Rev. e6606ae1e22b680fcc2d1e37f0a9ac30a0e5ab6e | release/0.0.0
@@ -0,0 +1,15 @@
1
+ # Lektor ng
2
+ [![PyPI version](https://img.shields.io/pypi/v/lektor-ng.svg?color=blue)](https://pypi.org/project/lektor-ng)
3
+ [![Python versions](https://img.shields.io/pypi/pyversions/acbox.svg)](https://pypi.org/project/lektor-ng)
4
+ [![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/cav71/lektor-ng/release.yml?branch=release%2F0.0.0)](https://github.com/cav71/lektor-ng/actions/workflows/release.yml?branch=release%2F0.0.0)
5
+ [![Codecov (main)](https://img.shields.io/codecov/c/github/cav71/lektor-ng/main)](https://app.codecov.io/gh/cav71/lektor-ng/tree/main)
6
+
7
+ A fork of the [lektor](https://www.getlektor.com) project.
8
+
9
+ Aims:
10
+ - drop the front end to focus on the build part.
11
+ - release early release often process.
12
+ - lint and code coverage.
13
+
14
+
15
+ Rev. e6606ae1e22b680fcc2d1e37f0a9ac30a0e5ab6e | release/0.0.0
@@ -0,0 +1,15 @@
1
+ # Lektor ng
2
+ [![PyPI version](https://img.shields.io/pypi/v/lektor-ng.svg?color=blue)](https://pypi.org/project/lektor-ng)
3
+ [![Python versions](https://img.shields.io/pypi/pyversions/acbox.svg)](https://pypi.org/project/lektor-ng)
4
+ [![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/@actionlink@)](https://github.com/cav71/lektor-ng/actions/workflows/@actionurl@)
5
+ [![Codecov (main)](https://img.shields.io/codecov/c/github/cav71/lektor-ng/main)](https://app.codecov.io/gh/cav71/lektor-ng/tree/main)
6
+
7
+ A fork of the [lektor](https://www.getlektor.com) project.
8
+
9
+ Aims:
10
+ - drop the front end to focus on the build part.
11
+ - release early release often process.
12
+ - lint and code coverage.
13
+
14
+
15
+ Rev. @sha@ | @branch@
@@ -0,0 +1,2 @@
1
+ # Created by coverage.py
2
+ *