Skip to content

Commit

Permalink
Fix #1696 -- move tagcloud plugin to repo
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Sep 8, 2018
1 parent 5b5cef3 commit d0f561d
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 99 deletions.
2 changes: 2 additions & 0 deletions CHANGES.txt
Expand Up @@ -37,6 +37,8 @@ Bugfixes
Removed features
----------------

* Moved ``tag_cloud_data.json`` generation to a separate
``tagcloud`` plugin (Issue #1696)
* The ``webassets`` library is no longer required, we now manually
bundle files (Issue #3074)

Expand Down
4 changes: 1 addition & 3 deletions docs/manual.rst
Expand Up @@ -174,7 +174,6 @@ Nikola provides the following features:
* Author pages and feeds (not generated if ``ENABLE_AUTHOR_PAGES`` is set to ``False`` or there is only one author)
* Archives with custom granularity (yearly or monthly)
* `Comments`_
* Client-side tag clouds (needs manual configuration)

* Static pages (not part of the blog)
* `Math`_ rendering (via MathJax)
Expand Down Expand Up @@ -1035,7 +1034,7 @@ Please note that tags are case-sensitive and that you cannot have two tags that
ERROR: Nikola: Tag Nikola is used in: posts/second-post.rst
ERROR: Nikola: Tag nikola is used in: posts/1.rst
You can also generate a tag cloud with the `tx3_tag_cloud <https://plugins.getnikola.com/#tx3_tag_cloud>`_ plugin.
You can also generate a tag cloud with the `tx3_tag_cloud <https://plugins.getnikola.com/v7/tx3_tag_cloud/>`_ plugin or get a data file for a tag cloud with the `tagcloud <https://plugins.getnikola.com/v7/tagcloud/>`_ plugin.

Categories
``````````
Expand All @@ -1057,7 +1056,6 @@ There are multiple configuration variables dedicated to each of the two taxonomi
* ``TAG_DESCRIPTIONS``, ``CATEGORY_DESCRIPTIONS`` to set descriptions for each of the items
* ``CATEGORY_ALLOW_HIERARCHIES`` and ``CATEGORY_OUTPUT_FLAT_HIERARCHIES`` to allow hierarchical categories
* ``TAG_PAGES_ARE_INDEXES`` and ``CATEGORY_PAGES_ARE_INDEXES`` to display full-size indexes instead of simple post lists
* ``WRITE_TAG_CLOUDS`` to enable/disable generating tag cloud files
* ``HIDDEN_TAGS``. ``HIDDEN_CATEGORIES`` to make some tags/categories invisible in lists
* ``CATEGORY_DESTPATH_AS_DEFAULT`` to use the destination path as the category if none is specified in the post
* ``CATEGORY_DESTPATH_TRIM_PREFIX`` to trim the prefix that comes from ``POSTS`` for the destination path
Expand Down
5 changes: 1 addition & 4 deletions nikola/conf.py.in
Expand Up @@ -256,9 +256,6 @@ COMPILERS = ${COMPILERS}
# already contains the text), set this to False.
# SHOW_BLOG_TITLE = True

# Writes tag cloud data in form of tag_cloud_data.json.
WRITE_TAG_CLOUD = False

# Paths for different autogenerated bits. These are combined with the
# translation paths.

Expand Down Expand Up @@ -300,7 +297,7 @@ WRITE_TAG_CLOUD = False
# }

# If you do not want to display a tag publicly, you can mark it as hidden.
# The tag will not be displayed on the tag list page, the tag cloud and posts.
# The tag will not be displayed on the tag list page and posts.
# Tag pages will still be generated.
HIDDEN_TAGS = ['mathjax']

Expand Down
3 changes: 1 addition & 2 deletions nikola/nikola.py
Expand Up @@ -282,7 +282,7 @@
"render_archive": ["classify_archive"],
"render_authors": ["classify_authors"],
"render_indexes": ["classify_page_index", "classify_sections"], # "classify_indexes" removed from list (see #2591 and special-case logic below)
"render_tags": ["classify_categories", "render_tag_cloud", "classify_tags"],
"render_tags": ["classify_categories", "classify_tags"],
}


Expand Down Expand Up @@ -540,7 +540,6 @@ def __init__(self, **config):
'USE_TAG_METADATA': True,
'TIMEZONE': 'UTC',
'WARN_ABOUT_TAG_METADATA': True,
'WRITE_TAG_CLOUD': False,
'DEPLOY_DRAFTS': True,
'DEPLOY_FUTURE': False,
'SCHEDULE_ALL': False,
Expand Down
12 changes: 0 additions & 12 deletions nikola/plugins/task/tagcloud.plugin

This file was deleted.

78 changes: 0 additions & 78 deletions nikola/plugins/task/tagcloud.py

This file was deleted.

0 comments on commit d0f561d

Please sign in to comment.