chiark / gitweb /
Moved plugins from pelican-plugins/ to plugins/.
authorVladimír Vondruš <mosra@centrum.cz>
Tue, 2 Apr 2019 17:33:48 +0000 (19:33 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Wed, 3 Apr 2019 09:20:42 +0000 (11:20 +0200)
Not just for Pelican for a long time already. Note this is a breaking
change --- if you're using the m.css Pelican theme, you need to update
your PLUGIN_PATHS to reference the new directory, for example:

    PLUGIN_PATHS = ['m.css/plugins/']

instead of

    PLUGIN_PATHS = ['m.css/pelican-plugins/']

If you're using the Doxygen theme or just the CSS files, nothing changes
for you.

149 files changed:
CONTRIBUTING.rst
doc/css/components.rst
doc/documentation/doxygen-test.rst [moved from doc/doxygen-test.rst with 100% similarity]
doc/documentation/doxygen.rst [moved from doc/doxygen.rst with 100% similarity]
doc/pelican/theme.rst
doc/plugins.rst
doc/plugins/math-and-code-console.ansi
doxygen/dox2html5.py
doxygen/test/contents_image/tiny.png
package/ci/travis.yml
pelican-theme/test/__init__.py
pelican-theme/test/test_layout.py
plugins/.coveragerc [moved from pelican-plugins/.coveragerc with 100% similarity]
plugins/ansilexer.py [moved from pelican-plugins/ansilexer.py with 100% similarity]
plugins/dot2svg.py [moved from pelican-plugins/dot2svg.py with 100% similarity]
plugins/latex2svg.py [moved from pelican-plugins/latex2svg.py with 100% similarity]
plugins/latex2svgextra.py [moved from pelican-plugins/latex2svgextra.py with 100% similarity]
plugins/m/.gitignore [moved from pelican-plugins/m/.gitignore with 100% similarity]
plugins/m/__init__.py [moved from pelican-plugins/m/__init__.py with 100% similarity]
plugins/m/abbr.py [moved from pelican-plugins/m/abbr.py with 100% similarity]
plugins/m/alias.py [moved from pelican-plugins/m/alias.py with 100% similarity]
plugins/m/code.py [moved from pelican-plugins/m/code.py with 100% similarity]
plugins/m/components.py [moved from pelican-plugins/m/components.py with 100% similarity]
plugins/m/dot.py [moved from pelican-plugins/m/dot.py with 100% similarity]
plugins/m/dox.py [moved from pelican-plugins/m/dox.py with 100% similarity]
plugins/m/filesize.py [moved from pelican-plugins/m/filesize.py with 100% similarity]
plugins/m/gh.py [moved from pelican-plugins/m/gh.py with 100% similarity]
plugins/m/gl.py [moved from pelican-plugins/m/gl.py with 100% similarity]
plugins/m/htmlsanity.py [moved from pelican-plugins/m/htmlsanity.py with 100% similarity]
plugins/m/images.py [moved from pelican-plugins/m/images.py with 100% similarity]
plugins/m/link.py [moved from pelican-plugins/m/link.py with 100% similarity]
plugins/m/math.py [moved from pelican-plugins/m/math.py with 100% similarity]
plugins/m/metadata.py [moved from pelican-plugins/m/metadata.py with 100% similarity]
plugins/m/plots.py [moved from pelican-plugins/m/plots.py with 100% similarity]
plugins/m/test/.gitattributes [moved from pelican-plugins/m/test/.gitattributes with 100% similarity]
plugins/m/test/.gitignore [moved from pelican-plugins/m/test/.gitignore with 100% similarity]
plugins/m/test/__init__.py [moved from pelican-plugins/m/test/__init__.py with 100% similarity]
plugins/m/test/abbr/page.html [moved from pelican-plugins/m/test/abbr/page.html with 100% similarity]
plugins/m/test/abbr/page.rst [moved from pelican-plugins/m/test/abbr/page.rst with 100% similarity]
plugins/m/test/alias/articles/article.rst [moved from pelican-plugins/m/test/alias/articles/article.rst with 100% similarity]
plugins/m/test/alias/blog/old-article/index.html [moved from pelican-plugins/m/test/alias/blog/old-article/index.html with 100% similarity]
plugins/m/test/alias/even-older-page.html [moved from pelican-plugins/m/test/alias/even-older-page.html with 100% similarity]
plugins/m/test/alias/old-page/index.html [moved from pelican-plugins/m/test/alias/old-page/index.html with 100% similarity]
plugins/m/test/alias/page.rst [moved from pelican-plugins/m/test/alias/page.rst with 100% similarity]
plugins/m/test/code/console.ansi [moved from pelican-plugins/m/test/code/console.ansi with 100% similarity]
plugins/m/test/code/page.html [moved from pelican-plugins/m/test/code/page.html with 93% similarity]
plugins/m/test/code/page.rst [moved from pelican-plugins/m/test/code/page.rst with 100% similarity]
plugins/m/test/components/page.html [moved from pelican-plugins/m/test/components/page.html with 100% similarity]
plugins/m/test/components/page.rst [moved from pelican-plugins/m/test/components/page.rst with 100% similarity]
plugins/m/test/dot/page-238.html [moved from pelican-plugins/m/test/dot/page-238.html with 100% similarity]
plugins/m/test/dot/page.html [moved from pelican-plugins/m/test/dot/page.html with 100% similarity]
plugins/m/test/dot/page.rst [moved from pelican-plugins/m/test/dot/page.rst with 100% similarity]
plugins/m/test/dox/page.html [moved from pelican-plugins/m/test/dox/page.html with 100% similarity]
plugins/m/test/dox/page.rst [moved from pelican-plugins/m/test/dox/page.rst with 100% similarity]
plugins/m/test/dox/page_css_classes.html [moved from pelican-plugins/m/test/dox/page_css_classes.html with 100% similarity]
plugins/m/test/filesize/page.html [moved from pelican-plugins/m/test/filesize/page.html with 100% similarity]
plugins/m/test/filesize/page.rst [moved from pelican-plugins/m/test/filesize/page.rst with 100% similarity]
plugins/m/test/gh/page.html [moved from pelican-plugins/m/test/gh/page.html with 100% similarity]
plugins/m/test/gh/page.rst [moved from pelican-plugins/m/test/gh/page.rst with 100% similarity]
plugins/m/test/gl/page.html [moved from pelican-plugins/m/test/gl/page.html with 100% similarity]
plugins/m/test/gl/page.rst [moved from pelican-plugins/m/test/gl/page.rst with 100% similarity]
plugins/m/test/htmlsanity_content/page.html [moved from pelican-plugins/m/test/htmlsanity_content/page.html with 100% similarity]
plugins/m/test/htmlsanity_content/page.rst [moved from pelican-plugins/m/test/htmlsanity_content/page.rst with 100% similarity]
plugins/m/test/htmlsanity_parse_error/page.rst [moved from pelican-plugins/m/test/htmlsanity_parse_error/page.rst with 100% similarity]
plugins/m/test/htmlsanity_typography/article-jumbo.html [moved from pelican-plugins/m/test/htmlsanity_typography/article-jumbo.html with 100% similarity]
plugins/m/test/htmlsanity_typography/article-lang.html [moved from pelican-plugins/m/test/htmlsanity_typography/article-lang.html with 100% similarity]
plugins/m/test/htmlsanity_typography/articles/jumbo.rst [moved from pelican-plugins/m/test/htmlsanity_typography/articles/jumbo.rst with 100% similarity]
plugins/m/test/htmlsanity_typography/articles/lang.rst [moved from pelican-plugins/m/test/htmlsanity_typography/articles/lang.rst with 100% similarity]
plugins/m/test/htmlsanity_typography/author-an-author.html [moved from pelican-plugins/m/test/htmlsanity_typography/author-an-author.html with 100% similarity]
plugins/m/test/htmlsanity_typography/category-a-category.html [moved from pelican-plugins/m/test/htmlsanity_typography/category-a-category.html with 100% similarity]
plugins/m/test/htmlsanity_typography/page-lang.html [moved from pelican-plugins/m/test/htmlsanity_typography/page-lang.html with 100% similarity]
plugins/m/test/htmlsanity_typography/page-lang.rst [moved from pelican-plugins/m/test/htmlsanity_typography/page-lang.rst with 100% similarity]
plugins/m/test/htmlsanity_typography/page.html [moved from pelican-plugins/m/test/htmlsanity_typography/page.html with 100% similarity]
plugins/m/test/htmlsanity_typography/page.rst [moved from pelican-plugins/m/test/htmlsanity_typography/page.rst with 100% similarity]
plugins/m/test/htmlsanity_typography/tag-tagging-a-name.html [moved from pelican-plugins/m/test/htmlsanity_typography/tag-tagging-a-name.html with 100% similarity]
plugins/m/test/htmlsanity_typography_global_lang/page.html [moved from pelican-plugins/m/test/htmlsanity_typography_global_lang/page.html with 100% similarity]
plugins/m/test/htmlsanity_typography_global_lang/page.rst [moved from pelican-plugins/m/test/htmlsanity_typography_global_lang/page.rst with 100% similarity]
plugins/m/test/images/flowers.jpg [moved from pelican-plugins/m/test/images/flowers.jpg with 100% similarity]
plugins/m/test/images/longexposure.jpg [moved from pelican-plugins/m/test/images/longexposure.jpg with 100% similarity]
plugins/m/test/images/noexif.jpg [moved from pelican-plugins/m/test/images/noexif.jpg with 100% similarity]
plugins/m/test/images/page.html [moved from pelican-plugins/m/test/images/page.html with 100% similarity]
plugins/m/test/images/page.rst [moved from pelican-plugins/m/test/images/page.rst with 100% similarity]
plugins/m/test/images/ship.jpg [moved from pelican-plugins/m/test/images/ship.jpg with 100% similarity]
plugins/m/test/images/sparseexif.jpg [moved from pelican-plugins/m/test/images/sparseexif.jpg with 100% similarity]
plugins/m/test/images/tiny.png [moved from pelican-plugins/m/test/images/tiny.png with 100% similarity]
plugins/m/test/link/page.html [moved from pelican-plugins/m/test/link/page.html with 100% similarity]
plugins/m/test/link/page.rst [moved from pelican-plugins/m/test/link/page.rst with 100% similarity]
plugins/m/test/math/page-code-fallback.html [moved from pelican-plugins/m/test/math/page-code-fallback.html with 100% similarity]
plugins/m/test/math/page.html [moved from pelican-plugins/m/test/math/page.html with 100% similarity]
plugins/m/test/math/page.rst [moved from pelican-plugins/m/test/math/page.rst with 100% similarity]
plugins/m/test/math_cached/page.html [moved from pelican-plugins/m/test/math_cached/page.html with 100% similarity]
plugins/m/test/math_cached/page.rst [moved from pelican-plugins/m/test/math_cached/page.rst with 100% similarity]
plugins/m/test/math_uncached/page.rst [moved from pelican-plugins/m/test/math_uncached/page.rst with 100% similarity]
plugins/m/test/metadata/article-jumbo.html [moved from pelican-plugins/m/test/metadata/article-jumbo.html with 100% similarity]
plugins/m/test/metadata/article-minimal.html [moved from pelican-plugins/m/test/metadata/article-minimal.html with 100% similarity]
plugins/m/test/metadata/article-no-image.html [moved from pelican-plugins/m/test/metadata/article-no-image.html with 100% similarity]
plugins/m/test/metadata/article.html [moved from pelican-plugins/m/test/metadata/article.html with 100% similarity]
plugins/m/test/metadata/articles/article-jumbo.rst [moved from pelican-plugins/m/test/metadata/articles/article-jumbo.rst with 100% similarity]
plugins/m/test/metadata/articles/article-minimal.rst [moved from pelican-plugins/m/test/metadata/articles/article-minimal.rst with 100% similarity]
plugins/m/test/metadata/articles/article-no-image.rst [moved from pelican-plugins/m/test/metadata/articles/article-no-image.rst with 100% similarity]
plugins/m/test/metadata/articles/article.rst [moved from pelican-plugins/m/test/metadata/articles/article.rst with 100% similarity]
plugins/m/test/metadata/author-an-author.html [moved from pelican-plugins/m/test/metadata/author-an-author.html with 100% similarity]
plugins/m/test/metadata/author-author-with-no-image.html [moved from pelican-plugins/m/test/metadata/author-author-with-no-image.html with 100% similarity]
plugins/m/test/metadata/author-minimal-author.html [moved from pelican-plugins/m/test/metadata/author-minimal-author.html with 100% similarity]
plugins/m/test/metadata/authors/an-author.rst [moved from pelican-plugins/m/test/metadata/authors/an-author.rst with 100% similarity]
plugins/m/test/metadata/authors/author-with-no-image.rst [moved from pelican-plugins/m/test/metadata/authors/author-with-no-image.rst with 100% similarity]
plugins/m/test/metadata/authors/minimal-author.rst [moved from pelican-plugins/m/test/metadata/authors/minimal-author.rst with 100% similarity]
plugins/m/test/metadata/categories/a-category.rst [moved from pelican-plugins/m/test/metadata/categories/a-category.rst with 100% similarity]
plugins/m/test/metadata/categories/category-with-no-image.rst [moved from pelican-plugins/m/test/metadata/categories/category-with-no-image.rst with 100% similarity]
plugins/m/test/metadata/categories/minimal-category.rst [moved from pelican-plugins/m/test/metadata/categories/minimal-category.rst with 100% similarity]
plugins/m/test/metadata/category-a-category.html [moved from pelican-plugins/m/test/metadata/category-a-category.html with 100% similarity]
plugins/m/test/metadata/category-category-with-no-image.html [moved from pelican-plugins/m/test/metadata/category-category-with-no-image.html with 100% similarity]
plugins/m/test/metadata/category-minimal-category.html [moved from pelican-plugins/m/test/metadata/category-minimal-category.html with 100% similarity]
plugins/m/test/metadata/category.jpg [moved from pelican-plugins/m/test/metadata/category.jpg with 100% similarity]
plugins/m/test/metadata/mosra.jpg [moved from pelican-plugins/m/test/metadata/mosra.jpg with 100% similarity]
plugins/m/test/metadata/tag-a-tag.html [moved from pelican-plugins/m/test/metadata/tag-a-tag.html with 100% similarity]
plugins/m/test/metadata/tag-minimal-tag.html [moved from pelican-plugins/m/test/metadata/tag-minimal-tag.html with 100% similarity]
plugins/m/test/metadata/tags/a-tag.rst [moved from pelican-plugins/m/test/metadata/tags/a-tag.rst with 100% similarity]
plugins/m/test/metadata/tags/minimal-tag.rst [moved from pelican-plugins/m/test/metadata/tags/minimal-tag.rst with 100% similarity]
plugins/m/test/metadata_typography_html_escape/article.html [moved from pelican-plugins/m/test/metadata_typography_html_escape/article.html with 100% similarity]
plugins/m/test/metadata_typography_html_escape/articles/article.rst [moved from pelican-plugins/m/test/metadata_typography_html_escape/articles/article.rst with 100% similarity]
plugins/m/test/metadata_typography_html_escape/author-an-author.html [moved from pelican-plugins/m/test/metadata_typography_html_escape/author-an-author.html with 100% similarity]
plugins/m/test/metadata_typography_html_escape/authors/an-author.rst [moved from pelican-plugins/m/test/metadata_typography_html_escape/authors/an-author.rst with 100% similarity]
plugins/m/test/metadata_typography_html_escape/categories/a-category.rst [moved from pelican-plugins/m/test/metadata_typography_html_escape/categories/a-category.rst with 100% similarity]
plugins/m/test/metadata_typography_html_escape/category-a-category.html [moved from pelican-plugins/m/test/metadata_typography_html_escape/category-a-category.html with 100% similarity]
plugins/m/test/metadata_typography_html_escape/tag-a-tag.html [moved from pelican-plugins/m/test/metadata_typography_html_escape/tag-a-tag.html with 100% similarity]
plugins/m/test/metadata_typography_html_escape/tags/a-tag.rst [moved from pelican-plugins/m/test/metadata_typography_html_escape/tags/a-tag.rst with 100% similarity]
plugins/m/test/plots/page.html [moved from pelican-plugins/m/test/plots/page.html with 100% similarity]
plugins/m/test/plots/page.rst [moved from pelican-plugins/m/test/plots/page.rst with 100% similarity]
plugins/m/test/test_abbr.py [moved from pelican-plugins/m/test/test_abbr.py with 100% similarity]
plugins/m/test/test_alias.py [moved from pelican-plugins/m/test/test_alias.py with 100% similarity]
plugins/m/test/test_code.py [moved from pelican-plugins/m/test/test_code.py with 100% similarity]
plugins/m/test/test_components.py [moved from pelican-plugins/m/test/test_components.py with 100% similarity]
plugins/m/test/test_dot.py [moved from pelican-plugins/m/test/test_dot.py with 100% similarity]
plugins/m/test/test_dox.py [moved from pelican-plugins/m/test/test_dox.py with 100% similarity]
plugins/m/test/test_filesize.py [moved from pelican-plugins/m/test/test_filesize.py with 100% similarity]
plugins/m/test/test_gh.py [moved from pelican-plugins/m/test/test_gh.py with 100% similarity]
plugins/m/test/test_gl.py [moved from pelican-plugins/m/test/test_gl.py with 100% similarity]
plugins/m/test/test_htmlsanity.py [moved from pelican-plugins/m/test/test_htmlsanity.py with 100% similarity]
plugins/m/test/test_images.py [moved from pelican-plugins/m/test/test_images.py with 100% similarity]
plugins/m/test/test_link.py [moved from pelican-plugins/m/test/test_link.py with 100% similarity]
plugins/m/test/test_math.py [moved from pelican-plugins/m/test/test_math.py with 100% similarity]
plugins/m/test/test_metadata.py [moved from pelican-plugins/m/test/test_metadata.py with 100% similarity]
plugins/m/test/test_plots.py [moved from pelican-plugins/m/test/test_plots.py with 100% similarity]
plugins/m/test/test_vk.py [moved from pelican-plugins/m/test/test_vk.py with 100% similarity]
plugins/m/test/vk/page.html [moved from pelican-plugins/m/test/vk/page.html with 100% similarity]
plugins/m/test/vk/page.rst [moved from pelican-plugins/m/test/vk/page.rst with 100% similarity]
plugins/m/vk.py [moved from pelican-plugins/m/vk.py with 100% similarity]
site/pelicanconf.py

index ad10f1aa77a68774a3d89c6b134535d6ef886079..e8b7c2872d95abb27ef6052b7ce1012e08a94662 100644 (file)
@@ -92,7 +92,7 @@ There are no visual tests for the CSS style at the moment. Run tests:
     cd pelican-theme
     python -m unittest
 
-    cd pelican-plugins
+    cd plugins
     python -m unittest
 
     cd doxygen
@@ -122,7 +122,7 @@ possibility of getting code coverage for Jinja2 templates, though.
     node ./node_modules/istanbul/lib/cli.js cover test/test-search.js
     # open coverage/lcov-report/index.html in your browser
 
-    cd pelican-plugins
+    cd plugins
     coverage run -m unittest ; coverage html
     # open htmlcov/index.html in your browser
 
index b4b8a81480e75912678384339306e71e3ddef7cc..3962f28b580c8c94bd08c094b944ea5172788bb9 100644 (file)
@@ -898,12 +898,12 @@ Besides code, it's also possible to "highlight" ANSI-colored terminal output.
 For that, m.css provides a custom Pygments lexer that's together with
 `pygments-console.css <{filename}/css.rst>`_ able to detect and highlight the
 basic 4-bit color codes (8 foreground colors in either normal or bright
-version). Download the :gh:`ansilexer.py <mosra/m.css$master/pelican-plugins/m/ansilexer.py>`
+version). Download the :gh:`ansilexer.py <mosra/m.css$master/plugins/m/ansilexer.py>`
 file or use it directly from your Git clone of m.css. Example usage:
 
 .. code:: sh
 
-    ls -C --color=always | pygmentize -l pelican-plugins/ansilexer.py:AnsiLexer -x -f html -O nowrap
+    ls -C --color=always | pygmentize -l plugins/ansilexer.py:AnsiLexer -x -f html -O nowrap
 
 Wrap the HTML output in either :html:`<pre class="m-console">` for a block
 listing or :html:`<code class="m-console">` for inline listing. The output
@@ -913,13 +913,13 @@ might then look similarly to this:
 
     .. code:: html
 
-        <pre class="m-console">CONTRIBUTING.rst  CREDITS.rst  <span class="g g-AnsiBrightBlue">doc</span>      <span class="g g-AnsiBrightBlue">pelican-plugins</span>  README.rst
-        COPYING           <span class="g g-AnsiBrightBlue">css</span>          <span class="g g-AnsiBrightBlue">doxygen</span>  <span class="g g-AnsiBrightBlue">pelican-theme</span>    <span class="g g-AnsiBrightBlue">site</span></pre>
+        <pre class="m-console">CONTRIBUTING.rst  CREDITS.rst  <span class="g g-AnsiBrightBlue">doc</span>      <span class="g g-AnsiBrightBlue">plugins</span>        README.rst
+        COPYING           <span class="g g-AnsiBrightBlue">css</span>          <span class="g g-AnsiBrightBlue">doxygen</span>  <span class="g g-AnsiBrightBlue">pelican-theme</span>  <span class="g g-AnsiBrightBlue">site</span></pre>
 
     .. raw:: html
 
-        <pre class="m-console">CONTRIBUTING.rst  CREDITS.rst  <span class="g g-AnsiBrightBlue">doc</span>      <span class="g g-AnsiBrightBlue">pelican-plugins</span>  README.rst
-        COPYING           <span class="g g-AnsiBrightBlue">css</span>          <span class="g g-AnsiBrightBlue">doxygen</span>  <span class="g g-AnsiBrightBlue">pelican-theme</span>    <span class="g g-AnsiBrightBlue">site</span></pre>
+        <pre class="m-console">CONTRIBUTING.rst  CREDITS.rst  <span class="g g-AnsiBrightBlue">doc</span>      <span class="g g-AnsiBrightBlue">plugins</span>        README.rst
+        COPYING           <span class="g g-AnsiBrightBlue">css</span>          <span class="g g-AnsiBrightBlue">doxygen</span>  <span class="g g-AnsiBrightBlue">pelican-theme</span>  <span class="g g-AnsiBrightBlue">site</span></pre>
 
 .. note-success::
 
@@ -979,7 +979,7 @@ distribution and `dvisvgm <https://dvisvgm.de/>`_ installed, the usage is:
 
 .. code:: sh
 
-    echo "\$\$ a^2 = b^2 + c^2 \$\$" | python pelican-plugins/latex2svg.py > formula.svg
+    echo "\$\$ a^2 = b^2 + c^2 \$\$" | python plugins/latex2svg.py > formula.svg
 
 The ``formula.svg`` file will then contain the rendered formula, which with
 some minor patching (removing the XML preamble etc.) can be pasted directly
index 54aad04dbdd0afc584a0ab8d4ee5772441480b91..ff37e68b4ca994470528dd0e09c3c95bf423d56b 100644 (file)
@@ -83,7 +83,7 @@ plugin, so that plugin needs to be loaded as well.
                    '/static/m-dark.css']
     M_THEME_COLOR = '#22272e'
 
-    PLUGIN_PATHS = ['m.css/pelican-plugins']
+    PLUGIN_PATHS = ['m.css/plugins']
     PLUGINS = ['m.htmlsanity']
 
 Here you can take advantage of the ``pelicanconf.py`` and ``publishconf.py``
index c6dca08b995e4dc0a775c2c654d9b6e85cc0faa1..88303de280b9b91c664424b2f278a53acdd35911 100644 (file)
@@ -40,22 +40,22 @@ add given :py:`m.something` package to your :py:`PLUGINS` in ``pelicanconf.py``
 and restart Pelican. Download the plugins below or
 :gh:`grab the whole Git repository <mosra/m.css>`:
 
--   :gh:`m.htmlsanity <mosra/m.css$master/pelican-plugins/m/htmlsanity.py>`
--   :gh:`m.components <mosra/m.css$master/pelican-plugins/m/components.py>`
--   :gh:`m.images <mosra/m.css$master/pelican-plugins/m/images.py>`
--   :gh:`m.math  <mosra/m.css$master/pelican-plugins/m/math.py>` (needs also :gh:`latex2svg <mosra/m.css$master/pelican-plugins/latex2svg.py>`),
-    :gh:`m.code <mosra/m.css$master/pelican-plugins/m/code.py>` (needs also :gh:`ansilexer <mosra/m.css$master/pelican-plugins/ansilexer.py>`)
--   :gh:`m.plots <mosra/m.css$master/pelican-plugins/m/plots.py>`,
-    :gh:`m.dot <mosra/m.css$master/pelican-plugins/m/dot.py>`
--   :gh:`m.link <mosra/m.css$master/pelican-plugins/m/link.py>`,
-    :gh:`m.gh <mosra/m.css$master/pelican-plugins/m/gh.py>`,
-    :gh:`m.dox <mosra/m.css$master/pelican-plugins/m/dox.py>`,
-    :gh:`m.gl <mosra/m.css$master/pelican-plugins/m/gl.py>`,
-    :gh:`m.vk <mosra/m.css$master/pelican-plugins/m/vk.py>`,
-    :gh:`m.abbr <mosra/m.css$master/pelican-plugins/m/abbr.py>`,
-    :gh:`m.filesize <mosra/m.css$master/pelican-plugins/m/filesize.py>`,
-    :gh:`m.alias <mosra/m.css$master/pelican-plugins/m/alias.py>`
--   :gh:`m.metadata <mosra/m.css$master/pelican-plugins/m/metadata.py>`
+-   :gh:`m.htmlsanity <mosra/m.css$master/plugins/m/htmlsanity.py>`
+-   :gh:`m.components <mosra/m.css$master/plugins/m/components.py>`
+-   :gh:`m.images <mosra/m.css$master/plugins/m/images.py>`
+-   :gh:`m.math  <mosra/m.css$master/plugins/m/math.py>` (needs also :gh:`latex2svg <mosra/m.css$master/plugins/latex2svg.py>`),
+    :gh:`m.code <mosra/m.css$master/plugins/m/code.py>` (needs also :gh:`ansilexer <mosra/m.css$master/plugins/ansilexer.py>`)
+-   :gh:`m.plots <mosra/m.css$master/plugins/m/plots.py>`,
+    :gh:`m.dot <mosra/m.css$master/plugins/m/dot.py>`
+-   :gh:`m.link <mosra/m.css$master/plugins/m/link.py>`,
+    :gh:`m.gh <mosra/m.css$master/plugins/m/gh.py>`,
+    :gh:`m.dox <mosra/m.css$master/plugins/m/dox.py>`,
+    :gh:`m.gl <mosra/m.css$master/plugins/m/gl.py>`,
+    :gh:`m.vk <mosra/m.css$master/plugins/m/vk.py>`,
+    :gh:`m.abbr <mosra/m.css$master/plugins/m/abbr.py>`,
+    :gh:`m.filesize <mosra/m.css$master/plugins/m/filesize.py>`,
+    :gh:`m.alias <mosra/m.css$master/plugins/m/alias.py>`
+-   :gh:`m.metadata <mosra/m.css$master/plugins/m/metadata.py>`
 
 Click on the headings below to get to know more. Note that particular plugins
 can have additional dependencies besides just Pelican, see documentation of
index 43eca24ba4a59709467b7650d154f2a5f9a85388..df44076a71df4197df41ab36c4c1895cce38d982 100644 (file)
@@ -1,3 +1,3 @@
 !\e[0;34m[\e[1;37mmosra@don-perverzo \e[0;37mm.css\e[0;34m]\e[1;36m$ \e[0mls
-CONTRIBUTING.rst  CREDITS.rst  \e[0m\e[01;34mdoc\e[0m      \e[01;34mpelican-plugins\e[0m  README.rst
-COPYING           \e[01;34mcss\e[0m          \e[01;34mdoxygen\e[0m  \e[01;34mpelican-theme\e[0m    \e[01;34msite\e[0m
+CONTRIBUTING.rst  CREDITS.rst  \e[0m\e[01;34mdoc\e[0m      \e[01;34mplugins\e[0m        README.rst
+COPYING           \e[01;34mcss\e[0m          \e[01;34mdoxygen\e[0m  \e[01;34mpelican-theme\e[0m  \e[01;34msite\e[0m
index 0a0b117ee16b876ddba93f70412a502d852c4a22..af6d4cd0874b25aa9d16ef978f162bf052bcca9c 100755 (executable)
@@ -49,7 +49,7 @@ from pygments import highlight
 from pygments.formatters import HtmlFormatter
 from pygments.lexers import TextLexer, BashSessionLexer, get_lexer_by_name, find_lexer_class_for_filename
 
-sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), '../pelican-plugins'))
+sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), '../plugins'))
 import dot2svg
 import latex2svg
 import latex2svgextra
index 1034d03d3926f8488482d2a742d5cdc2acd308b7..79abd3ca51e64ea5682caa21e1bbe86fe54dc212 120000 (symlink)
@@ -1 +1 @@
-../../../pelican-plugins/m/test/images/tiny.png
\ No newline at end of file
+../../../plugins/m/test/images/tiny.png
\ No newline at end of file
index 20f9f0f12d00c58ba78f4a537b079f23cb865c6a..02469479b73fa1905c2e541c69d95edebe9647ae 100644 (file)
@@ -60,7 +60,7 @@ script:
   - if [ "$WITH_THEME" == "ON" ]; then cd $TRAVIS_BUILD_DIR/pelican-theme && python -m unittest; fi
 
   # Test plugins. Math plugin is not tested as dvisvgm on 14.04 is unusable.
-  - if [ "$WITH_THEME" == "ON" ]; then cd $TRAVIS_BUILD_DIR/pelican-plugins && coverage run -m unittest && cp .coverage ../.coverage.plugins; fi
+  - if [ "$WITH_THEME" == "ON" ]; then cd $TRAVIS_BUILD_DIR/plugins && coverage run -m unittest && cp .coverage ../.coverage.plugins; fi
 
   # Test doxygen theme. Math rendering is not tested as dvisvgm on 14.04 is
   # unusable.
index f0cf5d5c856aced3c6c0edb310804f88f3d2cabe..a504653e0088c21d1855ecea99b7eddcd6b62429 100644 (file)
@@ -74,7 +74,7 @@ class BaseTestCase(MinimalTestCase):
     def run_pelican(self, settings):
         implicit_settings = {
             'THEME': '.',
-            'PLUGIN_PATHS': ['../pelican-plugins'],
+            'PLUGIN_PATHS': ['../plugins'],
             'PLUGINS': ['m.htmlsanity'],
             'THEME_STATIC_DIR': 'static',
             'M_CSS_FILES': ['https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i',
index 7f7bdd226628cd0f0c65dc3867905594774dbde0..9e59a97abb94de149d20e1dcda9af57831b09e3c 100644 (file)
@@ -99,7 +99,7 @@ class Minimal(MinimalTestCase):
             # This is the minimal that's required. Not even the M_THEME_COLOR
             # is required.
             'THEME': '.',
-            'PLUGIN_PATHS': ['../pelican-plugins'],
+            'PLUGIN_PATHS': ['../plugins'],
             'PLUGINS': ['m.htmlsanity'],
             'THEME_STATIC_DIR': 'static',
             'M_CSS_FILES': ['https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i',
similarity index 100%
rename from pelican-plugins/m/abbr.py
rename to plugins/m/abbr.py
similarity index 100%
rename from pelican-plugins/m/code.py
rename to plugins/m/code.py
similarity index 100%
rename from pelican-plugins/m/dot.py
rename to plugins/m/dot.py
similarity index 100%
rename from pelican-plugins/m/dox.py
rename to plugins/m/dox.py
similarity index 100%
rename from pelican-plugins/m/gh.py
rename to plugins/m/gh.py
similarity index 100%
rename from pelican-plugins/m/gl.py
rename to plugins/m/gl.py
similarity index 100%
rename from pelican-plugins/m/link.py
rename to plugins/m/link.py
similarity index 100%
rename from pelican-plugins/m/math.py
rename to plugins/m/math.py
similarity index 93%
rename from pelican-plugins/m/test/code/page.html
rename to plugins/m/test/code/page.html
index b18893c5b9c245c68301e2b106051af943e53163..e7dfacee87ebc3d412bb124bde6a69fc0f9395d5 100644 (file)
@@ -32,8 +32,8 @@
 <p>Inline code is here: <code class="cpp m-code"><span class="k">constexpr</span></code>. Code without a language should be
 rendered as plain monospace text: <code>code</code>.</p>
 <pre class="m-console">!<span class="g g-AnsiBlue">[</span><span class="g g-AnsiBrightWhite">mosra@don-perverzo </span><span class="g g-AnsiWhite">m.css</span><span class="g g-AnsiBlue">]</span><span class="g g-AnsiBrightCyan">$ </span>ls
-CONTRIBUTING.rst  CREDITS.rst  <span class="g g-AnsiBrightBlue">doc</span>      <span class="g g-AnsiBrightBlue">pelican-plugins</span>  README.rst
-COPYING           <span class="g g-AnsiBrightBlue">css</span>          <span class="g g-AnsiBrightBlue">doxygen</span>  <span class="g g-AnsiBrightBlue">pelican-theme</span>    <span class="g g-AnsiBrightBlue">site</span></pre>
+CONTRIBUTING.rst  CREDITS.rst  <span class="g g-AnsiBrightBlue">doc</span>      <span class="g g-AnsiBrightBlue">plugins</span>        README.rst
+COPYING           <span class="g g-AnsiBrightBlue">css</span>          <span class="g g-AnsiBrightBlue">doxygen</span>  <span class="g g-AnsiBrightBlue">pelican-theme</span>  <span class="g g-AnsiBrightBlue">site</span></pre>
 <pre class="m-code">// this language is not highlighted</pre>
 <p>Properly preserve backslashes: <code class="m-code"><span class="k">\frac</span><span class="nb">{</span>a<span class="nb">}{</span>b<span class="nb">}</span></code></p>
 <p>Don't trim leading spaces in blocks:</p>
similarity index 100%
rename from pelican-plugins/m/vk.py
rename to plugins/m/vk.py
index 92814ff078690b68c3264aeefbeaab023e26b25f..7f04af2b5e74d2d6898f7aa2fd4356618c925dd2 100644 (file)
@@ -82,7 +82,7 @@ M_LINKS_NAVBAR1 = [('Why?', 'why/', 'why', []),
                         ('Writing content', 'pelican/writing-content/', 'pelican/writing-content'),
                         ('Theme', 'pelican/theme/', 'pelican/theme')])]
 
-M_LINKS_NAVBAR2 = [('Pelican plugins', 'plugins/', 'plugins', [
+M_LINKS_NAVBAR2 = [('Plugins', 'plugins/', 'plugins', [
                         ('HTML sanity', 'plugins/htmlsanity/', 'plugins/htmlsanity'),
                         ('Components', 'plugins/components/', 'plugins/components'),
                         ('Images', 'plugins/images/', 'plugins/images'),
@@ -114,7 +114,7 @@ M_LINKS_FOOTER3 = [('Pelican', 'pelican/'),
                    ('', ''),
                    ('Doxygen theme', 'doxygen/')]
 
-M_LINKS_FOOTER4 = [('Pelican plugins', 'plugins/'),
+M_LINKS_FOOTER4 = [('Plugins', 'plugins/'),
                    ('HTML sanity', 'plugins/htmlsanity/'),
                    ('Components', 'plugins/components/'),
                    ('Images', 'plugins/images/'),
@@ -136,7 +136,7 @@ DEFAULT_PAGINATION = 10
 STATIC_PATHS = ['static']
 EXTRA_PATH_METADATA = {'static/favicon.ico': {'path': 'favicon.ico'}}
 
-PLUGIN_PATHS = ['../pelican-plugins']
+PLUGIN_PATHS = ['../plugins']
 PLUGINS = ['m.abbr',
            'm.code',
            'm.components',