Delete samples directory

This commit is contained in:
sgithuber 2021-06-15 19:28:46 +09:00 committed by GitHub
commit c865cbe095
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 0 additions and 399 deletions

View file

@ -1,4 +0,0 @@
FILENAME_METADATA example
#########################
Some cool stuff!

View file

@ -1,8 +0,0 @@
Trop bien !
###########
:date: 2010-10-20 10:14
:lang: fr
:slug: oh-yeah
Et voila du contenu en français

View file

@ -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

View file

@ -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.

View file

@ -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

View file

@ -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.

View file

@ -1,7 +0,0 @@
Article 1
#########
:date: 2011-02-17
:yeah: oh yeah !
Article 1

View file

@ -1,6 +0,0 @@
Article 2
#########
:date: 2011-02-17
Article 2

View file

@ -1,6 +0,0 @@
Article 3
#########
:date: 2011-02-17
Article 3

View file

@ -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)

View file

@ -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.

View file

@ -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.

View file

@ -1,2 +0,0 @@
User-agent: *
Disallow: /pictures

View file

@ -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!

View file

@ -1,6 +0,0 @@
{% extends "base.html" %}
{% block content %}
Some text
{% endblock %}

View file

@ -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.

View file

@ -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.

View file

@ -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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

View file

@ -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

View file

@ -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: <br>
: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.

View file

@ -1 +0,0 @@
not to be parsed

View file

@ -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"

View file

@ -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"