Skip to content
Permalink
Browse files
Merge branch 'master' into ipynb-basic-template
  • Loading branch information
ralsina committed Apr 15, 2018
2 parents f86790e + 987f186 commit bb7fe3fb3f716daae231ded3e6fcd9f5a496bfb9
Showing with 47,098 additions and 46,118 deletions.
  1. +3 −3 .travis.yml
  2. +8 −0 CHANGES.txt
  3. +1 −1 docs/extending.rst
  4. +18 −6 docs/manual.rst
  5. +7 −2 docs/path_handlers.rst
  6. +0 −1 docs/template-variables.rst
  7. +5 −0 nikola/conf.py.in
  8. +468 −468 nikola/data/samplesite/pages/dr-nikolas-vendetta.rst
  9. +2 −2 nikola/data/samplesite/pages/quickref.rst
  10. +1 −1 nikola/data/themes/bootblog4/bundles
  11. +9 −7 nikola/data/themes/bootblog4/templates/base_helper.tmpl
  12. +1 −1 nikola/data/themes/bootstrap4/bundles
  13. +9 −7 nikola/data/themes/bootstrap4/templates/base_helper.tmpl
  14. +6 −1 nikola/metadata_extractors.py
  15. +6 −0 nikola/nikola.py
  16. +16 −5 nikola/plugins/compile/markdown/__init__.py
  17. +1 −1 nikola/plugins/task/indexes.py
  18. +16 −1 nikola/plugins/task/pages.py
  19. +23 −23 nikola/post.py
  20. +1 −1 nikola/utils.py
  21. +11 −7 npm_assets/node_modules/bootstrap/README.md
  22. +106 −244 npm_assets/node_modules/bootstrap/dist/css/bootstrap-grid.css
  23. +1 −1 npm_assets/node_modules/bootstrap/dist/css/bootstrap-grid.css.map
  24. +2 −2 npm_assets/node_modules/bootstrap/dist/css/bootstrap-grid.min.css
  25. +1 −1 npm_assets/node_modules/bootstrap/dist/css/bootstrap-grid.min.css.map
  26. +2 −2 npm_assets/node_modules/bootstrap/dist/css/bootstrap-reboot.css
  27. +1 −1 npm_assets/node_modules/bootstrap/dist/css/bootstrap-reboot.css.map
  28. +1 −1 npm_assets/node_modules/bootstrap/dist/css/bootstrap-reboot.min.css
  29. +1 −1 npm_assets/node_modules/bootstrap/dist/css/bootstrap-reboot.min.css.map
  30. +423 −448 npm_assets/node_modules/bootstrap/dist/css/bootstrap.css
  31. +1 −1 npm_assets/node_modules/bootstrap/dist/css/bootstrap.css.map
  32. +2 −2 npm_assets/node_modules/bootstrap/dist/css/bootstrap.min.css
  33. +1 −1 npm_assets/node_modules/bootstrap/dist/css/bootstrap.min.css.map
  34. +5,345 −5,240 npm_assets/node_modules/bootstrap/dist/js/bootstrap.bundle.js
  35. +1 −1 npm_assets/node_modules/bootstrap/dist/js/bootstrap.bundle.js.map
  36. +2 −2 npm_assets/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js
  37. +1 −1 npm_assets/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js.map
  38. +3,075 −3,044 npm_assets/node_modules/bootstrap/dist/js/bootstrap.js
  39. +1 −1 npm_assets/node_modules/bootstrap/dist/js/bootstrap.js.map
  40. +2 −2 npm_assets/node_modules/bootstrap/dist/js/bootstrap.min.js
  41. +1 −1 npm_assets/node_modules/bootstrap/dist/js/bootstrap.min.js.map
  42. +5 −5 npm_assets/node_modules/bootstrap/js/dist/alert.js
  43. +1 −1 npm_assets/node_modules/bootstrap/js/dist/alert.js.map
  44. +2 −2 npm_assets/node_modules/bootstrap/js/dist/button.js
  45. +1 −1 npm_assets/node_modules/bootstrap/js/dist/button.js.map
  46. +13 −11 npm_assets/node_modules/bootstrap/js/dist/carousel.js
  47. +1 −1 npm_assets/node_modules/bootstrap/js/dist/carousel.js.map
  48. +11 −19 npm_assets/node_modules/bootstrap/js/dist/collapse.js
  49. +1 −1 npm_assets/node_modules/bootstrap/js/dist/collapse.js.map
  50. +34 −16 npm_assets/node_modules/bootstrap/js/dist/dropdown.js
  51. +1 −1 npm_assets/node_modules/bootstrap/js/dist/dropdown.js.map
  52. +1 −1 npm_assets/node_modules/bootstrap/js/dist/index.js
  53. +1 −1 npm_assets/node_modules/bootstrap/js/dist/index.js.map
  54. +27 −24 npm_assets/node_modules/bootstrap/js/dist/modal.js
  55. +1 −1 npm_assets/node_modules/bootstrap/js/dist/modal.js.map
  56. +7 −5 npm_assets/node_modules/bootstrap/js/dist/popover.js
  57. +1 −1 npm_assets/node_modules/bootstrap/js/dist/popover.js.map
  58. +6 −4 npm_assets/node_modules/bootstrap/js/dist/scrollspy.js
  59. +1 −1 npm_assets/node_modules/bootstrap/js/dist/scrollspy.js.map
  60. +5 −5 npm_assets/node_modules/bootstrap/js/dist/tab.js
  61. +1 −1 npm_assets/node_modules/bootstrap/js/dist/tab.js.map
  62. +15 −12 npm_assets/node_modules/bootstrap/js/dist/tooltip.js
  63. +1 −1 npm_assets/node_modules/bootstrap/js/dist/tooltip.js.map
  64. +28 −35 npm_assets/node_modules/bootstrap/js/dist/util.js
  65. +1 −1 npm_assets/node_modules/bootstrap/js/dist/util.js.map
  66. +6 −6 npm_assets/node_modules/bootstrap/js/src/alert.js
  67. +2 −2 npm_assets/node_modules/bootstrap/js/src/button.js
  68. +16 −17 npm_assets/node_modules/bootstrap/js/src/carousel.js
  69. +6 −15 npm_assets/node_modules/bootstrap/js/src/collapse.js
  70. +30 −13 npm_assets/node_modules/bootstrap/js/src/dropdown.js
  71. +1 −1 npm_assets/node_modules/bootstrap/js/src/index.js
  72. +31 −30 npm_assets/node_modules/bootstrap/js/src/modal.js
  73. +2 −2 npm_assets/node_modules/bootstrap/js/src/popover.js
  74. +2 −2 npm_assets/node_modules/bootstrap/js/src/scrollspy.js
  75. +10 −10 npm_assets/node_modules/bootstrap/js/src/tab.js
  76. +17 −15 npm_assets/node_modules/bootstrap/js/src/tooltip.js
  77. +30 −38 npm_assets/node_modules/bootstrap/js/src/util.js
  78. +45 −38 npm_assets/node_modules/bootstrap/package.json
  79. +9 −6 npm_assets/node_modules/bootstrap/scss/_breadcrumb.scss
  80. +7 −1 npm_assets/node_modules/bootstrap/scss/_button-group.scss
  81. +1 −0 npm_assets/node_modules/bootstrap/scss/_buttons.scss
  82. +33 −2 npm_assets/node_modules/bootstrap/scss/_card.scss
  83. +48 −4 npm_assets/node_modules/bootstrap/scss/_carousel.scss
  84. +126 −3 npm_assets/node_modules/bootstrap/scss/_custom-forms.scss
  85. +36 −1 npm_assets/node_modules/bootstrap/scss/_dropdown.scss
  86. +3 −1 npm_assets/node_modules/bootstrap/scss/_forms.scss
  87. +1 −1 npm_assets/node_modules/bootstrap/scss/_functions.scss
  88. +2 −2 npm_assets/node_modules/bootstrap/scss/_input-group.scss
  89. +0 −1 npm_assets/node_modules/bootstrap/scss/_mixins.scss
  90. +2 −2 npm_assets/node_modules/bootstrap/scss/_modal.scss
  91. +0 −12 npm_assets/node_modules/bootstrap/scss/_navbar.scss
  92. +2 −1 npm_assets/node_modules/bootstrap/scss/_pagination.scss
  93. +6 −6 npm_assets/node_modules/bootstrap/scss/_print.scss
  94. +1 −0 npm_assets/node_modules/bootstrap/scss/_progress.scss
  95. +3 −3 npm_assets/node_modules/bootstrap/scss/_reboot.scss
  96. +11 −3 npm_assets/node_modules/bootstrap/scss/_tables.scss
  97. +4 −18 npm_assets/node_modules/bootstrap/scss/_transitions.scss
  98. +1 −0 npm_assets/node_modules/bootstrap/scss/_utilities.scss
  99. +75 −41 npm_assets/node_modules/bootstrap/scss/_variables.scss
  100. +1 −1 npm_assets/node_modules/bootstrap/scss/bootstrap-grid.scss
  101. +1 −1 npm_assets/node_modules/bootstrap/scss/bootstrap-reboot.scss
  102. +1 −1 npm_assets/node_modules/bootstrap/scss/bootstrap.scss
  103. +1 −0 npm_assets/node_modules/bootstrap/scss/mixins/_caret.scss
  104. +1 −1 npm_assets/node_modules/bootstrap/scss/mixins/_forms.scss
  105. +7 −7 npm_assets/node_modules/bootstrap/scss/mixins/_gradients.scss
  106. +1 −3 npm_assets/node_modules/bootstrap/scss/mixins/_hover.scss
  107. +1 −1 npm_assets/node_modules/bootstrap/scss/mixins/_list-group.scss
  108. +2 −2 npm_assets/node_modules/bootstrap/scss/mixins/_nav-divider.scss
  109. +0 −10 npm_assets/node_modules/bootstrap/scss/mixins/_navbar-align.scss
  110. +1 −3 npm_assets/node_modules/bootstrap/scss/mixins/_screen-reader.scss
  111. +2 −0 npm_assets/node_modules/bootstrap/scss/mixins/_text-hide.scss
  112. +4 −0 npm_assets/node_modules/bootstrap/scss/mixins/_transition.scss
  113. +5 −0 npm_assets/node_modules/bootstrap/scss/utilities/_flex.scss
  114. +1 −0 npm_assets/node_modules/bootstrap/scss/utilities/_position.scss
  115. +6 −0 npm_assets/node_modules/bootstrap/scss/utilities/_shadows.scss
  116. +7 −1 npm_assets/node_modules/bootstrap/scss/utilities/_text.scss
  117. +8 −0 npm_assets/node_modules/moment/CHANGELOG.md
  118. +5 −2 npm_assets/node_modules/moment/README.md
  119. +58 −58 npm_assets/node_modules/moment/locale/af.js
  120. +45 −45 npm_assets/node_modules/moment/locale/ar-dz.js
  121. +45 −45 npm_assets/node_modules/moment/locale/ar-kw.js
  122. +106 −106 npm_assets/node_modules/moment/locale/ar-ly.js
  123. +45 −45 npm_assets/node_modules/moment/locale/ar-ma.js
  124. +88 −88 npm_assets/node_modules/moment/locale/ar-sa.js
  125. +45 −45 npm_assets/node_modules/moment/locale/ar-tn.js
  126. +119 −119 npm_assets/node_modules/moment/locale/ar.js
  127. +89 −89 npm_assets/node_modules/moment/locale/az.js
  128. +111 −111 npm_assets/node_modules/moment/locale/be.js
  129. +73 −73 npm_assets/node_modules/moment/locale/bg.js
  130. +44 −44 npm_assets/node_modules/moment/locale/bm.js
  131. +103 −103 npm_assets/node_modules/moment/locale/bn.js
  132. +103 −103 npm_assets/node_modules/moment/locale/bo.js
  133. +88 −88 npm_assets/node_modules/moment/locale/br.js
  134. +133 −133 npm_assets/node_modules/moment/locale/bs.js
  135. +68 −68 npm_assets/node_modules/moment/locale/ca.js
  136. +160 −160 npm_assets/node_modules/moment/locale/cs.js
  137. +48 −48 npm_assets/node_modules/moment/locale/cv.js
  138. +64 −64 npm_assets/node_modules/moment/locale/cy.js
  139. +46 −46 npm_assets/node_modules/moment/locale/da.js
  140. +61 −61 npm_assets/node_modules/moment/locale/de-at.js
  141. +61 −61 npm_assets/node_modules/moment/locale/de-ch.js
  142. +61 −61 npm_assets/node_modules/moment/locale/de.js
  143. +82 −82 npm_assets/node_modules/moment/locale/dv.js
  144. +82 −82 npm_assets/node_modules/moment/locale/el.js
  145. +53 −53 npm_assets/node_modules/moment/locale/en-au.js
  146. +49 −49 npm_assets/node_modules/moment/locale/en-ca.js
  147. +53 −53 npm_assets/node_modules/moment/locale/en-gb.js
  148. +53 −53 npm_assets/node_modules/moment/locale/en-ie.js
  149. +48 −48 npm_assets/node_modules/moment/locale/en-il.js
  150. +53 −53 npm_assets/node_modules/moment/locale/en-nz.js
  151. +56 −56 npm_assets/node_modules/moment/locale/eo.js
  152. +72 −72 npm_assets/node_modules/moment/locale/es-do.js
  153. +64 −64 npm_assets/node_modules/moment/locale/es-us.js
  154. +72 −72 npm_assets/node_modules/moment/locale/es.js
  155. +64 −64 npm_assets/node_modules/moment/locale/et.js
  156. +52 −52 npm_assets/node_modules/moment/locale/eu.js
  157. +90 −90 npm_assets/node_modules/moment/locale/fa.js
  158. +93 −93 npm_assets/node_modules/moment/locale/fi.js
  159. +46 −46 npm_assets/node_modules/moment/locale/fo.js
  160. +58 −58 npm_assets/node_modules/moment/locale/fr-ca.js
  161. +62 −62 npm_assets/node_modules/moment/locale/fr-ch.js
  162. +66 −66 npm_assets/node_modules/moment/locale/fr.js
  163. +59 −59 npm_assets/node_modules/moment/locale/fy.js
  164. +57 −57 npm_assets/node_modules/moment/locale/gd.js
  165. +60 −60 npm_assets/node_modules/moment/locale/gl.js
  166. +107 −107 npm_assets/node_modules/moment/locale/gom-latn.js
  167. +108 −108 npm_assets/node_modules/moment/locale/gu.js
  168. +77 −77 npm_assets/node_modules/moment/locale/he.js
  169. +108 −108 npm_assets/node_modules/moment/locale/hi.js
  170. +136 −136 npm_assets/node_modules/moment/locale/hr.js
  171. +92 −92 npm_assets/node_modules/moment/locale/hu.js
  172. +78 −78 npm_assets/node_modules/moment/locale/hy-am.js
  173. +67 −67 npm_assets/node_modules/moment/locale/id.js
  174. +110 −110 npm_assets/node_modules/moment/locale/is.js
  175. +53 −53 npm_assets/node_modules/moment/locale/it.js
  176. +77 −65 npm_assets/node_modules/moment/locale/ja.js
  177. +67 −67 npm_assets/node_modules/moment/locale/jv.js
  178. +70 −70 npm_assets/node_modules/moment/locale/ka.js
  179. +72 −72 npm_assets/node_modules/moment/locale/kk.js
  180. +96 −44 npm_assets/node_modules/moment/locale/km.js
  181. +110 −110 npm_assets/node_modules/moment/locale/kn.js
  182. +66 −66 npm_assets/node_modules/moment/locale/ko.js
  183. +72 −72 npm_assets/node_modules/moment/locale/ky.js
  184. +113 −113 npm_assets/node_modules/moment/locale/lb.js
  185. +55 −55 npm_assets/node_modules/moment/locale/lo.js
  186. +100 −100 npm_assets/node_modules/moment/locale/lt.js
  187. +81 −81 npm_assets/node_modules/moment/locale/lv.js
  188. +93 −93 npm_assets/node_modules/moment/locale/me.js
  189. +50 −50 npm_assets/node_modules/moment/locale/mi.js
  190. +73 −73 npm_assets/node_modules/moment/locale/mk.js
  191. +66 −66 npm_assets/node_modules/moment/locale/ml.js
  192. +103 −0 npm_assets/node_modules/moment/locale/mn.js
  193. +140 −140 npm_assets/node_modules/moment/locale/mr.js
  194. +67 −67 npm_assets/node_modules/moment/locale/ms-my.js
  195. +67 −67 npm_assets/node_modules/moment/locale/ms.js
  196. +46 −46 npm_assets/node_modules/moment/locale/mt.js
  197. +77 −77 npm_assets/node_modules/moment/locale/my.js
  198. +48 −48 npm_assets/node_modules/moment/locale/nb.js
  199. +107 −107 npm_assets/node_modules/moment/locale/ne.js
  200. +68 −68 npm_assets/node_modules/moment/locale/nl-be.js
  201. +68 −68 npm_assets/node_modules/moment/locale/nl.js
  202. +46 −46 npm_assets/node_modules/moment/locale/nn.js
  203. +108 −108 npm_assets/node_modules/moment/locale/pa-in.js
  204. +104 −104 npm_assets/node_modules/moment/locale/pl.js
  205. +46 −46 npm_assets/node_modules/moment/locale/pt-br.js
  206. +50 −50 npm_assets/node_modules/moment/locale/pt.js
  207. +59 −59 npm_assets/node_modules/moment/locale/ro.js
  208. +153 −153 npm_assets/node_modules/moment/locale/ru.js
  209. +82 −82 npm_assets/node_modules/moment/locale/sd.js
  210. +46 −46 npm_assets/node_modules/moment/locale/se.js
  211. +56 −56 npm_assets/node_modules/moment/locale/si.js
  212. +138 −138 npm_assets/node_modules/moment/locale/sk.js
  213. +154 −154 npm_assets/node_modules/moment/locale/sl.js
  214. +54 −54 npm_assets/node_modules/moment/locale/sq.js
  215. +93 −93 npm_assets/node_modules/moment/locale/sr-cyrl.js
  216. +93 −93 npm_assets/node_modules/moment/locale/sr.js
  217. +72 −72 npm_assets/node_modules/moment/locale/ss.js
  218. +55 −55 npm_assets/node_modules/moment/locale/sv.js
  219. +45 −45 npm_assets/node_modules/moment/locale/sw.js
  220. +113 −113 npm_assets/node_modules/moment/locale/ta.js
  221. +74 −74 npm_assets/node_modules/moment/locale/te.js
  222. +53 −53 npm_assets/node_modules/moment/locale/tet.js
  223. +100 −100 npm_assets/node_modules/moment/locale/tg.js
  224. +52 −52 npm_assets/node_modules/moment/locale/th.js
  225. +48 −48 npm_assets/node_modules/moment/locale/tl-ph.js
  226. +101 −101 npm_assets/node_modules/moment/locale/tlh.js
  227. +80 −80 npm_assets/node_modules/moment/locale/tr.js
  228. +75 −75 npm_assets/node_modules/moment/locale/tzl.js
  229. +44 −44 npm_assets/node_modules/moment/locale/tzm-latn.js
  230. +44 −44 npm_assets/node_modules/moment/locale/tzm.js
  231. +103 −103 npm_assets/node_modules/moment/locale/ug-cn.js
  232. +129 −129 npm_assets/node_modules/moment/locale/uk.js
  233. +82 −82 npm_assets/node_modules/moment/locale/ur.js
  234. +44 −44 npm_assets/node_modules/moment/locale/uz-latn.js
  235. +44 −44 npm_assets/node_modules/moment/locale/uz.js
  236. +64 −64 npm_assets/node_modules/moment/locale/vi.js
  237. +54 −54 npm_assets/node_modules/moment/locale/x-pseudo.js
  238. +46 −46 npm_assets/node_modules/moment/locale/yo.js
  239. +95 −95 npm_assets/node_modules/moment/locale/zh-cn.js
  240. +88 −88 npm_assets/node_modules/moment/locale/zh-hk.js
  241. +88 −88 npm_assets/node_modules/moment/locale/zh-tw.js
  242. +9,673 −9,517 npm_assets/node_modules/moment/min/locales.js
  243. +1 −1 npm_assets/node_modules/moment/min/locales.min.js
  244. +13,449 −13,293 npm_assets/node_modules/moment/min/moment-with-locales.js
  245. +1 −1 npm_assets/node_modules/moment/min/moment-with-locales.min.js
  246. +1 −1 npm_assets/node_modules/moment/min/moment.min.js
  247. +2 −0 npm_assets/node_modules/moment/moment.d.ts
  248. +3,816 −3,816 npm_assets/node_modules/moment/moment.js
  249. +10 −10 npm_assets/node_modules/moment/package.json
  250. +1 −1 npm_assets/node_modules/moment/src/lib/units/hour.js
  251. +1 −1 npm_assets/node_modules/moment/src/locale/gom-latn.js
  252. +16 −4 npm_assets/node_modules/moment/src/locale/ja.js
  253. +2 −2 npm_assets/node_modules/moment/src/locale/ka.js
  254. +57 −6 npm_assets/node_modules/moment/src/locale/km.js
  255. +96 −0 npm_assets/node_modules/moment/src/locale/mn.js
  256. +5 −5 npm_assets/node_modules/moment/src/locale/zh-tw.js
  257. +2 −2 npm_assets/node_modules/moment/src/moment.js
  258. +0 −3 npm_assets/node_modules/popper.js/.eslintignore
  259. +0 −3 npm_assets/node_modules/popper.js/.eslintrc.js
  260. +15 −29 npm_assets/node_modules/popper.js/dist/esm/popper-utils.js
  261. +1 −1 npm_assets/node_modules/popper.js/dist/esm/popper-utils.js.map
  262. +1 −1 npm_assets/node_modules/popper.js/dist/esm/popper-utils.min.js
  263. +1 −1 npm_assets/node_modules/popper.js/dist/esm/popper-utils.min.js.map
  264. +40 −31 npm_assets/node_modules/popper.js/dist/esm/popper.js
  265. +1 −1 npm_assets/node_modules/popper.js/dist/esm/popper.js.map
  266. +1 −1 npm_assets/node_modules/popper.js/dist/esm/popper.min.js
  267. +1 −1 npm_assets/node_modules/popper.js/dist/esm/popper.min.js.map
  268. +15 −25 npm_assets/node_modules/popper.js/dist/popper-utils.js
  269. +1 −1 npm_assets/node_modules/popper.js/dist/popper-utils.js.map
  270. +1 −1 npm_assets/node_modules/popper.js/dist/popper-utils.min.js
  271. +1 −1 npm_assets/node_modules/popper.js/dist/popper-utils.min.js.map
  272. +38 −28 npm_assets/node_modules/popper.js/dist/popper.js
  273. +1 −1 npm_assets/node_modules/popper.js/dist/popper.js.map
  274. +1 −1 npm_assets/node_modules/popper.js/dist/popper.min.js
  275. +1 −1 npm_assets/node_modules/popper.js/dist/popper.min.js.map
  276. +15 −29 npm_assets/node_modules/popper.js/dist/umd/popper-utils.js
  277. +1 −1 npm_assets/node_modules/popper.js/dist/umd/popper-utils.js.map
  278. +1 −1 npm_assets/node_modules/popper.js/dist/umd/popper-utils.min.js
  279. +1 −1 npm_assets/node_modules/popper.js/dist/umd/popper-utils.min.js.map
  280. +40 −31 npm_assets/node_modules/popper.js/dist/umd/popper.js
  281. +1 −1 npm_assets/node_modules/popper.js/dist/umd/popper.js.map
  282. +1 −1 npm_assets/node_modules/popper.js/dist/umd/popper.min.js
  283. +1 −1 npm_assets/node_modules/popper.js/dist/umd/popper.min.js.map
  284. +10 −10 npm_assets/node_modules/popper.js/package.json
  285. +9 −9 npm_assets/package-lock.json
  286. +3 −3 npm_assets/package.json
  287. +1 −1 scripts/baseline.sh
  288. +7 −2 scripts/document_path_handlers.py
  289. +1 −1 tests/README.rst
  290. +1 −0 tests/base.py
  291. +1 −1 tests/test_compile_markdown.py
  292. +8 −14 tests/test_utils.py
@@ -1,5 +1,5 @@
before_install:
- pip install --upgrade pip wheel
- pip install --upgrade-strategy eager -U pip wheel
language: python
cache:
- apt
@@ -27,7 +27,7 @@ matrix:
- pip3 install virtualenv
- python3 -m virtualenv nikola-tests-venv
- source nikola-tests-venv/bin/activate
- pip install --upgrade pip wheel
- pip install --upgrade-strategy eager -U pip wheel
- python: '3.6'
env: NMODE=flake8
env:
@@ -36,7 +36,7 @@ env:
global:
secure: GqUDW0j4Ay8pS9tS/g5JBYGtgBG0g0oD2g4X9JXgVchiFj3GIRL+dwiXpgx3LELy7nCWF3EzClFxxMdVqqxizQ/I8xqiA0XL/rf5z/y+9d9nmKOxV8SV73n0eCgsHWkbdSLJ6MKs6s0Trlz9jLu/P+Bhfu2ttqkOH8WttfEf3VE=
install:
- if [[ $NMODE == 'nikola' ]]; then pip install -Ur requirements-tests.txt; if [[ "$?" == '1' ]]; then cat /home/travis/.pip/pip.log; false; fi; fi
- if [[ $NMODE == 'nikola' ]]; then pip install --upgrade-strategy eager -Ur requirements-tests.txt; if [[ "$?" == '1' ]]; then cat /home/travis/.pip/pip.log; false; fi; fi
- if [[ $NMODE == 'nikola' ]]; then pip install .; fi
- if [[ $NMODE == 'flake8' ]]; then pip install flake8 pydocstyle; fi
script:
@@ -6,6 +6,12 @@ Features

* Use basic ipynb template by default for slightly better appearance
and behavior
* Fixing behavior of RSS_PATH to do what the documentation
says it does (Issue #3024)
* Add support for fragments in path handlers (Issue #3032)
* Explain index.html conflicts better (Issue #3022)
* Recognize both TEASER_END and (new) END_TEASER (Issue #3010)
* New MARKDOWN_EXTENSION_CONFIGS setting (Issue #2970)
* Replace ``flowr.js`` with ``justified-layout.js`` by Flickr
(does not require jQuery!)
* ``bootblog4`` is the new default theme (Issue #2964)
@@ -40,6 +46,8 @@ Features
Bugfixes
--------

* Don’t silence syntax errors and other exceptions that occur while
reading metadata
* Use documented dateutil API for time zone list (Issue #3006)
* Handle trailing slash redirects with query strings correctly in
``nikola serve`` (Issue #3000)
@@ -526,7 +526,7 @@ Here's the relevant code from the tag plugin.
# In set_site
site.register_path_handler('tag_rss', self.tag_rss_path)
# And these always take name and lang as arguments and returl a list of
# And these always take name and lang as arguments and return a list of
# path elements.
def tag_rss_path(self, name, lang):
return [_f for _f in [self.site.config['TRANSLATIONS'][lang],
@@ -681,6 +681,12 @@ options. The exact mechanism is explained above the config options in the

If you have ``PRETTY_URLS`` enabled, that would be ``output/posts/foo/bar/index.html``.


.. warning::

Removing the ``.rst`` entries is not recommended. Some features (eg.
shortcodes) may not work properly if you do that.

The ``new_post`` command
~~~~~~~~~~~~~~~~~~~~~~~~

@@ -737,7 +743,8 @@ Teasers
You may not want to show the complete content of your posts either on your
index page or in RSS feeds, but to display instead only the beginning of them.

If it's the case, you only need to add a "magical comment" in your post.
If it's the case, you only need to add a "magical comment" ``TEASER_END`` or
``END_TEASER`` in your post.

In reStructuredText:

@@ -771,7 +778,7 @@ compatible with both WordPress and Nikola posts:
.. code:: python
import re
TEASER_REGEXP = re.compile('<!--\s*(more|TEASER_END)(:(.+))?\s*-->', re.IGNORECASE)
TEASER_REGEXP = re.compile('<!--\s*(more|TEASER_END|END_TEASER)(:(.+))?\s*-->', re.IGNORECASE)
Or you can completely customize the link using the ``READ_MORE_LINK`` option.

@@ -1177,6 +1184,12 @@ Example of a paired shortcode (note that we don't have a highlight shortcode yet
Built-in shortcodes
~~~~~~~~~~~~~~~~~~~

.. warning::

Some of the shortcodes are implemented as bindings to reST directives. In
order to use them, you need at least one entry for ``*.rst`` in
POSTS/PAGES.

chart
Create charts via PyGal. This is similar to the `chart directive <#chart>`__ except the syntax is adapted to
shortcodes. This is an example:
@@ -1228,7 +1241,7 @@ media
{{% raw %}}{{% media url="https://www.youtube.com/watch?v=Nck6BZga7TQ" %}}{{% /raw %}}

post-list
Will show a list of posts, see the `Post List directive for details <#post-list>`__
Will show a list of posts, see the `Post List directive for details <#post-list>`__.

raw
Passes the content along, mostly used so I can write this damn section and you can see the shortcodes instead
@@ -1317,7 +1330,7 @@ In that case, the template engine used will be your theme's and the arguments yo
as well as the global context from your ``conf.py``, are available to the template you
are creating.

You can use anything defined in your confguration's ``GLOBAL_CONTEXT`` as
You can use anything defined in your configuration's ``GLOBAL_CONTEXT`` as
variables in your shortcode template, with a caveat: Because of an unfortunate
implementation detail (a name conflict), ``data`` is called ``global_data``
when used in a shortcode.
@@ -1771,7 +1784,7 @@ to one of "disqus", "intensedebate", "livefyre", "moot", "facebook", "isso" or "
* For isso, it is the URL of isso (must be world-accessible, encoded with
Punycode (if using Internationalized Domain Names) and **have a trailing slash**,
default ``http://localhost:8080/``)
* For commento it's the URL of the commento instance as required by the ``serverUrl``
* For commento it's the URL of the commento instance as required by the ``serverUrl``
parameter in commento's documentation.

To use comments in a visible site, you should register with the service and
@@ -2618,7 +2631,6 @@ Using shortcode syntax (for other compilers):

{{% raw %}}{{% post-list stop=5 %}}{{% /post-list %}}{{% /raw %}}


The following options are recognized:

* ``start`` : integer
@@ -2,8 +2,13 @@
.. slug: path-handlers
.. author: The Nikola Team
Nikola supports special links with the syntax ``link://kind/name``. In the templates you can also use ``_link(kind, name)``.
You can also add query strings (``?key=value``) for extra arguments, or pass keyword arguments to ``_link`` in templates (support and behavior depends on path handlers themselves)
.. DO NOT EDIT, this file is auto-generated by scripts/document_path_handlers.py
Nikola supports special links with the syntax ``link://kind/name``. In
templates you can also use ``_link(kind, name)``. You can add query strings
(``?key=value``) for extra arguments, or pass keyword arguments to ``_link`` in
templates (support and behavior depends on path handlers themselves). Fragments
(``#anchor``) will be appended to the transformed link.

Here are the descriptions for all the supported kinds.

@@ -252,7 +252,6 @@ Name Type Description
``kind`` str The classification name
``items`` list? List of items for ``list.tmpl`` *(title, permalink, None)*
``posts`` list<Post>? List of items for other templates
``kind`` str The classification name
``permalink`` str Permanent link to page
``other_languages`` list<tuple> List of triples ``(other_lang, other_classification, title)``
=================== ============== =============================================================
@@ -1006,6 +1006,11 @@ PRETTY_URLS = ${PRETTY_URLS}
# The default is ['fenced_code', 'codehilite']
MARKDOWN_EXTENSIONS = ['markdown.extensions.fenced_code', 'markdown.extensions.codehilite', 'markdown.extensions.extra']

# Options to be passed to markdown extensions (See https://python-markdown.github.io/reference/)
# Default is {} (no config at all)
# MARKDOWN_EXTENSION_CONFIGS = {}


# Extra options to pass to the pandoc command.
# by default, it's empty, is a list of strings, for example
# ['-F', 'pandoc-citeproc', '--bibliography=/Users/foo/references.bib']

0 comments on commit bb7fe3f

Please sign in to comment.