diff --git a/samples/content/2012-11-30_filename-metadata.rst b/samples/content/2012-11-30_filename-metadata.rst deleted file mode 100644 index b048103d..00000000 --- a/samples/content/2012-11-30_filename-metadata.rst +++ /dev/null @@ -1,4 +0,0 @@ -FILENAME_METADATA example -######################### - -Some cool stuff! diff --git a/samples/content/another_super_article-fr.rst b/samples/content/another_super_article-fr.rst deleted file mode 100644 index dcd252a7..00000000 --- a/samples/content/another_super_article-fr.rst +++ /dev/null @@ -1,8 +0,0 @@ -Trop bien ! -########### - -:date: 2010-10-20 10:14 -:lang: fr -:slug: oh-yeah - -Et voila du contenu en français diff --git a/samples/content/another_super_article.rst b/samples/content/another_super_article.rst deleted file mode 100644 index a170c4a1..00000000 --- a/samples/content/another_super_article.rst +++ /dev/null @@ -1,21 +0,0 @@ -Oh yeah ! -######### - -:tags: oh, bar, yeah -:date: 2010-10-20 10:14 -:category: bar -:author: Alexis Métaireau -:lang: en -:slug: oh-yeah -:license: WTFPL - -Why not ? -========= - -After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst ! -YEAH ! - -.. image:: |static|/pictures/Sushi.jpg - :height: 450 px - :width: 600 px - :alt: alternate text diff --git a/samples/content/article2-fr.rst b/samples/content/article2-fr.rst deleted file mode 100644 index 31970f7e..00000000 --- a/samples/content/article2-fr.rst +++ /dev/null @@ -1,9 +0,0 @@ -Deuxième article -################ - -:tags: foo, bar, baz -:date: 2012-02-29 -:lang: fr -:slug: second-article - -Ceci est un article, en français. diff --git a/samples/content/article2.rst b/samples/content/article2.rst deleted file mode 100644 index 66f768ea..00000000 --- a/samples/content/article2.rst +++ /dev/null @@ -1,9 +0,0 @@ -Second article -############## - -:tags: foo, bar, baz -:date: 2012-02-29 -:lang: en -:slug: second-article - -This is some article, in english diff --git a/samples/content/article_tag_baz.rst b/samples/content/article_tag_baz.rst deleted file mode 100644 index 9a33a8d3..00000000 --- a/samples/content/article_tag_baz.rst +++ /dev/null @@ -1,8 +0,0 @@ -The baz tag -########### - -:date: 2010-03-14 -:url: tag/baz.html -:save_as: tag/baz.html - -This article overrides the listening of the articles under the *baz* tag. diff --git a/samples/content/cat1/article1.rst b/samples/content/cat1/article1.rst deleted file mode 100644 index 1148a8f9..00000000 --- a/samples/content/cat1/article1.rst +++ /dev/null @@ -1,7 +0,0 @@ -Article 1 -######### - -:date: 2011-02-17 -:yeah: oh yeah ! - -Article 1 diff --git a/samples/content/cat1/article2.rst b/samples/content/cat1/article2.rst deleted file mode 100644 index a4f87866..00000000 --- a/samples/content/cat1/article2.rst +++ /dev/null @@ -1,6 +0,0 @@ -Article 2 -######### - -:date: 2011-02-17 - -Article 2 diff --git a/samples/content/cat1/article3.rst b/samples/content/cat1/article3.rst deleted file mode 100644 index 53471177..00000000 --- a/samples/content/cat1/article3.rst +++ /dev/null @@ -1,6 +0,0 @@ -Article 3 -######### - -:date: 2011-02-17 - -Article 3 diff --git a/samples/content/cat1/markdown-article.md b/samples/content/cat1/markdown-article.md deleted file mode 100644 index 5307b47a..00000000 --- a/samples/content/cat1/markdown-article.md +++ /dev/null @@ -1,7 +0,0 @@ -Title: A markdown powered article -Date: 2011-04-20 - -You're mutually oblivious. - -[a root-relative link to unbelievable](|filename|/unbelievable.rst) -[a file-relative link to unbelievable](|filename|../unbelievable.rst) diff --git a/samples/content/draft_article without_date.rst b/samples/content/draft_article without_date.rst deleted file mode 100644 index 5ac62034..00000000 --- a/samples/content/draft_article without_date.rst +++ /dev/null @@ -1,7 +0,0 @@ -A draft article without date -############################ - -:status: draft - -This is a draft article, it should live under the /drafts/ folder and not be -listed anywhere else. diff --git a/samples/content/draft_article.rst b/samples/content/draft_article.rst deleted file mode 100644 index 6b383ca6..00000000 --- a/samples/content/draft_article.rst +++ /dev/null @@ -1,8 +0,0 @@ -A draft article -############### - -:date: 2011-05-08 15:58 -:status: draft - -This is a draft article, it should live under the /drafts/ folder and not be -listed anywhere else. diff --git a/samples/content/extra/robots.txt b/samples/content/extra/robots.txt deleted file mode 100644 index 19a6e299..00000000 --- a/samples/content/extra/robots.txt +++ /dev/null @@ -1,2 +0,0 @@ -User-agent: * -Disallow: /pictures diff --git a/samples/content/pages/hidden_page.rst b/samples/content/pages/hidden_page.rst deleted file mode 100644 index ab8704ed..00000000 --- a/samples/content/pages/hidden_page.rst +++ /dev/null @@ -1,9 +0,0 @@ -This is a test hidden page -########################## - -:category: test -:status: hidden - -This is great for things like error(404) pages -Anyone can see this page but it's not linked to anywhere! - diff --git a/samples/content/pages/jinja2_template.html b/samples/content/pages/jinja2_template.html deleted file mode 100644 index 1b0dc4e4..00000000 --- a/samples/content/pages/jinja2_template.html +++ /dev/null @@ -1,6 +0,0 @@ -{% extends "base.html" %} -{% block content %} - -Some text - -{% endblock %} diff --git a/samples/content/pages/override_tag_oh.rst b/samples/content/pages/override_tag_oh.rst deleted file mode 100644 index c3160349..00000000 --- a/samples/content/pages/override_tag_oh.rst +++ /dev/null @@ -1,8 +0,0 @@ -Oh Oh Oh -######## - -:date: 2010-03-14 -:url: tag/oh.html -:save_as: tag/oh.html - -This page overrides the listening of the articles under the *oh* tag. diff --git a/samples/content/pages/override_url_saveas.rst b/samples/content/pages/override_url_saveas.rst deleted file mode 100644 index 8a515f60..00000000 --- a/samples/content/pages/override_url_saveas.rst +++ /dev/null @@ -1,9 +0,0 @@ -Override url/save_as -#################### - -:date: 2012-12-07 -:url: override/ -:save_as: override/index.html - -Test page which overrides save_as and url so that this page will be generated -at a custom location. diff --git a/samples/content/pages/test_page.rst b/samples/content/pages/test_page.rst deleted file mode 100644 index 3747faed..00000000 --- a/samples/content/pages/test_page.rst +++ /dev/null @@ -1,16 +0,0 @@ -This is a test page -################### - -:category: test - -Just an image. - -.. image:: {static}/pictures/Fat_Cat.jpg - :height: 450 px - :width: 600 px - :alt: alternate text - -.. image:: |filename|/images/Fat_Cat.jpg - :height: 450 px - :width: 600 px - :alt: wrong path since 'images' folder does not exist diff --git a/samples/content/pictures/Fat_Cat.jpg b/samples/content/pictures/Fat_Cat.jpg deleted file mode 100644 index d8a96d35..00000000 Binary files a/samples/content/pictures/Fat_Cat.jpg and /dev/null differ diff --git a/samples/content/pictures/Sushi.jpg b/samples/content/pictures/Sushi.jpg deleted file mode 100644 index e49e5f0a..00000000 Binary files a/samples/content/pictures/Sushi.jpg and /dev/null differ diff --git a/samples/content/pictures/Sushi_Macro.jpg b/samples/content/pictures/Sushi_Macro.jpg deleted file mode 100644 index 21f935a1..00000000 Binary files a/samples/content/pictures/Sushi_Macro.jpg and /dev/null differ diff --git a/samples/content/super_article.rst b/samples/content/super_article.rst deleted file mode 100644 index b2caa070..00000000 --- a/samples/content/super_article.rst +++ /dev/null @@ -1,37 +0,0 @@ -This is a super article ! -######################### - -:tags: foo, bar, foobar -:date: 2010-12-02 10:14 -:modified: 2013-11-17 23:29 -:category: yeah -:author: Alexis Métaireau -:summary: - Multi-line metadata should be supported - as well as **inline markup**. - -Some content here ! - -This is a simple title -====================== - -And here comes the cool stuff_. - -.. image:: |static|/pictures/Sushi.jpg - :height: 450 px - :width: 600 px - :alt: alternate text - -.. image:: |static|/pictures/Sushi_Macro.jpg - :height: 450 px - :width: 600 px - :alt: alternate text - -:: - - >>> from ipdb import set_trace - >>> set_trace() - -→ And now try with some utf8 hell: ééé - -.. _stuff: http://books.couchdb.org/relax/design-documents/views diff --git a/samples/content/unbelievable.rst b/samples/content/unbelievable.rst deleted file mode 100644 index 209e3557..00000000 --- a/samples/content/unbelievable.rst +++ /dev/null @@ -1,98 +0,0 @@ -Unbelievable ! -############## - -:date: 2010-10-15 20:30 - -Or completely awesome. Depends the needs. - -`a root-relative link to markdown-article <|filename|/cat1/markdown-article.md>`_ -`a file-relative link to markdown-article <|filename|cat1/markdown-article.md>`_ - -Testing sourcecode directive ----------------------------- - -.. sourcecode:: python - :linenos: - - formatter = self.options and VARIANTS[self.options.keys()[0]] - - -Testing another case --------------------- - -This will now have a line number in 'custom' since it's the default in -pelican.conf, it will have nothing in default. - -.. sourcecode:: python - - formatter = self.options and VARIANTS[self.options.keys()[0]] - - -Lovely. - -Testing more sourcecode directives ----------------------------------- - -.. sourcecode:: python - :anchorlinenos: - :classprefix: testing - :hl_lines: 10,11,12 - :lineanchors: foo - :linenos: inline - :linenospecial: 2 - :linenostart: 8 - :linenostep: 2 - :lineseparator:
- :linespans: foo - :nobackground: - - def run(self): - self.assert_has_content() - try: - lexer = get_lexer_by_name(self.arguments[0]) - except ValueError: - # no lexer found - use the text one instead of an exception - lexer = TextLexer() - - if ('linenos' in self.options and - self.options['linenos'] not in ('table', 'inline')): - self.options['linenos'] = 'table' - - for flag in ('nowrap', 'nobackground', 'anchorlinenos'): - if flag in self.options: - self.options[flag] = True - - # noclasses should already default to False, but just in case... - formatter = HtmlFormatter(noclasses=False, **self.options) - parsed = highlight('\n'.join(self.content), lexer, formatter) - return [nodes.raw('', parsed, format='html')] - - -Lovely. - -Testing even more sourcecode directives ---------------------------------------- - -.. sourcecode:: python - :linenos: table - :nowrap: - - - formatter = self.options and VARIANTS[self.options.keys()[0]] - - -Lovely. - -Testing overriding config defaults ----------------------------------- - -Even if the default is line numbers, we can override it here - -.. sourcecode:: python - :linenos: none - - - formatter = self.options and VARIANTS[self.options.keys()[0]] - - -Lovely. diff --git a/samples/content/unwanted_file b/samples/content/unwanted_file deleted file mode 100644 index 591255ae..00000000 --- a/samples/content/unwanted_file +++ /dev/null @@ -1 +0,0 @@ -not to be parsed diff --git a/samples/kinda/exciting/new/files/zap! b/samples/kinda/exciting/new/files/zap! deleted file mode 100644 index e69de29b..00000000 diff --git a/samples/kinda/exciting/old b/samples/kinda/exciting/old deleted file mode 100644 index e69de29b..00000000 diff --git a/samples/pelican.conf.py b/samples/pelican.conf.py deleted file mode 100755 index 1fa7c472..00000000 --- a/samples/pelican.conf.py +++ /dev/null @@ -1,56 +0,0 @@ -AUTHOR = 'Alexis Métaireau' -SITENAME = "Alexis' log" -SITESUBTITLE = 'A personal blog.' -SITEURL = 'http://blog.notmyidea.org' -TIMEZONE = "Europe/Paris" - -# can be useful in development, but set to False when you're ready to publish -RELATIVE_URLS = True - -GITHUB_URL = 'http://github.com/ametaireau/' -DISQUS_SITENAME = "blog-notmyidea" -REVERSE_CATEGORY_ORDER = True -LOCALE = "C" -DEFAULT_PAGINATION = 4 -DEFAULT_DATE = (2012, 3, 2, 14, 1, 1) - -FEED_ALL_RSS = 'feeds/all.rss.xml' -CATEGORY_FEED_RSS = 'feeds/{slug}.rss.xml' - -LINKS = (('Biologeek', 'http://biologeek.org'), - ('Filyb', "http://filyb.info/"), - ('Libert-fr', "http://www.libert-fr.com"), - ('N1k0', "http://prendreuncafe.com/blog/"), - ('Tarek Ziadé', "http://ziade.org/blog"), - ('Zubin Mithra', "http://zubin71.wordpress.com/"),) - -SOCIAL = (('twitter', 'http://twitter.com/ametaireau'), - ('lastfm', 'http://lastfm.com/user/akounet'), - ('github', 'http://github.com/ametaireau'),) - -# global metadata to all the contents -DEFAULT_METADATA = {'yeah': 'it is'} - -# path-specific metadata -EXTRA_PATH_METADATA = { - 'extra/robots.txt': {'path': 'robots.txt'}, - } - -# static paths will be copied without parsing their contents -STATIC_PATHS = [ - 'images', - 'extra/robots.txt', - ] - -# custom page generated with a jinja2 template -TEMPLATE_PAGES = {'pages/jinja2_template.html': 'jinja2_template.html'} - -# there is no other HTML content -READERS = {'html': None} - -# code blocks with line numbers -PYGMENTS_RST_OPTIONS = {'linenos': 'table'} - -# foobar will not be used, because it's not in caps. All configuration keys -# have to be in caps -foobar = "barbaz" diff --git a/samples/pelican.conf_FR.py b/samples/pelican.conf_FR.py deleted file mode 100644 index dc657404..00000000 --- a/samples/pelican.conf_FR.py +++ /dev/null @@ -1,57 +0,0 @@ -AUTHOR = 'Alexis Métaireau' -SITENAME = "Alexis' log" -SITEURL = 'http://blog.notmyidea.org' -TIMEZONE = "Europe/Paris" - -# can be useful in development, but set to False when you're ready to publish -RELATIVE_URLS = True - -GITHUB_URL = 'http://github.com/ametaireau/' -DISQUS_SITENAME = "blog-notmyidea" -PDF_GENERATOR = False -REVERSE_CATEGORY_ORDER = True -LOCALE = "fr_FR.UTF-8" -DEFAULT_PAGINATION = 4 -DEFAULT_DATE = (2012, 3, 2, 14, 1, 1) -DEFAULT_DATE_FORMAT = '%d %B %Y' - -ARTICLE_URL = 'posts/{date:%Y}/{date:%B}/{date:%d}/{slug}/' -ARTICLE_SAVE_AS = ARTICLE_URL + 'index.html' - -FEED_ALL_RSS = 'feeds/all.rss.xml' -CATEGORY_FEED_RSS = 'feeds/{slug}.rss.xml' - -LINKS = (('Biologeek', 'http://biologeek.org'), - ('Filyb', "http://filyb.info/"), - ('Libert-fr', "http://www.libert-fr.com"), - ('N1k0', "http://prendreuncafe.com/blog/"), - ('Tarek Ziadé', "http://ziade.org/blog"), - ('Zubin Mithra', "http://zubin71.wordpress.com/"),) - -SOCIAL = (('twitter', 'http://twitter.com/ametaireau'), - ('lastfm', 'http://lastfm.com/user/akounet'), - ('github', 'http://github.com/ametaireau'),) - -# global metadata to all the contents -DEFAULT_METADATA = {'yeah': 'it is'} - -# path-specific metadata -EXTRA_PATH_METADATA = { - 'extra/robots.txt': {'path': 'robots.txt'}, - } - -# static paths will be copied without parsing their contents -STATIC_PATHS = [ - 'pictures', - 'extra/robots.txt', - ] - -# custom page generated with a jinja2 template -TEMPLATE_PAGES = {'pages/jinja2_template.html': 'jinja2_template.html'} - -# code blocks with line numbers -PYGMENTS_RST_OPTIONS = {'linenos': 'table'} - -# foobar will not be used, because it's not in caps. All configuration keys -# have to be in caps -foobar = "barbaz" diff --git a/samples/theme_standard/a_stylesheet b/samples/theme_standard/a_stylesheet deleted file mode 100644 index e69de29b..00000000 diff --git a/samples/theme_standard/a_template b/samples/theme_standard/a_template deleted file mode 100644 index e69de29b..00000000 diff --git a/samples/very/exciting/new/files/bap! b/samples/very/exciting/new/files/bap! deleted file mode 100644 index e69de29b..00000000 diff --git a/samples/very/exciting/new/files/boom! b/samples/very/exciting/new/files/boom! deleted file mode 100644 index e69de29b..00000000 diff --git a/samples/very/exciting/new/files/wow! b/samples/very/exciting/new/files/wow! deleted file mode 100644 index e69de29b..00000000