1
0
Fork 0
forked from github/pelican
Commit graph

80 commits

Author SHA1 Message Date
Justin Mayer
5d9b3d7777 Merge pull request #795 from wking/read-file
Generate context objects in read_file()
2013-06-15 11:54:32 -07:00
W. Trevor King
ce0a9b697e Document path metadata extraction 2013-06-12 17:37:22 -04:00
W. Trevor King
228fc82fc9 utils: Add some ISO 8601 forms to get_date()
Support the forms listed by the W3C [1].  I also removed the
'%Y-%d-%m' form, which can be confused with the '%Y-%m-%d' ISO form.
The new ISO forms can use 'Z' to designate UTC or '[+-]HHMM' to
specify offsets from UTC.  Other time zone designators are not
supported.

The '%z' directive has only been supported since Python 3.2 [2], so if
you're running Pelican on Python 2.7, you're stuck with 'Z' for UTC.
Conveniently, we get ValueErrors for both invalid directives and
data/format missmatches, so we don't need special handling for the 2.7
case inside get_date().

[1]: http://www.w3.org/TR/NOTE-datetime
[2]: http://bugs.python.org/issue6641
2013-06-11 22:53:21 -04:00
Thanos Lefteris
ba3e14dd1d Docs: Add six, markupsafe to install dependencies 2013-06-03 18:23:07 +03:00
Simon Conseil
7057d3742b Drop python 3.2 support and move to python 3.3.
Jinja 2.7 (released 2013-05-20) supports only Python3 >=3.3 so it is time to
drop Python 3.2 and move to 3.3
2013-06-02 16:23:36 +02:00
Justin Mayer
4fa2c30d3f Add new changelog items and link to Tutorials wiki 2013-04-23 11:17:45 -07:00
Emily Strickland
08f27e0134 Accept mdown file extension for Markdown files.
This extension is sometimes used for Markdown files and is the default
for a few editors, such as Sublime Text.
2013-04-17 21:14:52 -07:00
Justin Mayer
bef5e4479e Getting Started documentation overhaul 2013-04-16 19:45:46 -07:00
Justin Mayer
7b0165696e Clarify docs regarding pages. Fixes #847. 2013-04-14 15:08:32 -07:00
Justin Mayer
0d7c3e1b0a Remove allusion to Python versions less than 2.7 2013-04-11 19:27:20 -07:00
Justin Mayer
7364f77c0c Document supported Python versions 2013-04-11 19:23:34 -07:00
Rogdham
eb640b09e6 Add translation metadata support.
Allows user to control which posts are the translations independently of the
DEFAULT_LANG setting.
2013-04-06 18:36:37 +01:00
Alexis Métaireau
b9e2825da6 Put ASCII-art tree into a code-block element.
Fix #766
2013-03-10 20:15:37 -07:00
Talha Mansoor
a76bca9b0d Fixes the reST syntax of an example in the docs
reST example of the section "Linking to internal content" had incorrect
metadata. Moreover, time was missing from the date of both markdown and
reST example.

This was pointed out by [lefromage at #pelican](https://botbot.me/freenode/pelican/msg/2235275/)
2013-03-10 11:28:54 +05:00
Mark Caudill
45c42dfe9a Clarify internal linking. 2013-03-03 21:12:23 -08:00
dave mankoff
3f4406dd6b support inline summary specification
update documentation

change summary cutoff to a plugin

remove backup file

fix 3.2 tests

update summary plugin initialization and documentation

update documentation

fix documentation formatting
2013-02-12 22:35:02 -05:00
Randall Degges
7ec9ea92aa Fixing issue #712.
This commit adds documentation to the getting started guide which describes that
articles must contain a manually set 'date' metadata attribute unless the
DEFAULT_DATE setting is specified.

This fixes some incorrect documentation behavior discussed in the ticket.
2013-02-09 21:29:51 -08:00
dave mankoff
5f5b300ba5 fix documentation 2013-02-09 09:51:02 -05:00
dave mankoff
8ba6a4d19d fix documentation 2013-02-09 09:27:45 -05:00
dave mankoff
d5bfec3a8b update documentation and remove commented out code 2013-01-28 22:25:15 -05:00
dave mankoff
e6a4fe3fc4 fix grammar 2013-01-28 21:50:09 -05:00
dave mankoff
bf6f16e383 add documentation for html reader 2013-01-28 21:50:09 -05:00
Thanos Lefteris
a0b29d980f PyPI links for pelican depedencies 2012-12-25 23:59:53 +02:00
Thanos Lefteris
30c8825fa2 Docs update of the pelican core install depedencies 2012-12-25 23:36:44 +02:00
Justin Mayer
a07b56c02b Doc fixes and improvements 2012-12-03 16:31:55 -08:00
Bruno Binet
f86e1128f0 docfix: fix example of FILENAME_METADATA regexp 2012-12-03 10:20:43 +01:00
Bruno Binet
070fa1ff9d add more docs about FILENAME_METADATA 2012-12-03 10:20:40 +01:00
Bruno Binet
e14623b46c Merge pull request #611 from michaelreneer/master
Updated documentation
2012-12-02 12:25:40 -08:00
Brian C. Lane
49f481e399 Add asciidoc reader support
http://www.methods.co.nz/asciidoc/index.html

Processes files ending in .asc with asciidoc. Extra arguments can be
passed by using the ASCIIDOC_OPTIONS config setting
2012-12-02 10:20:13 -08:00
Michael Reneer
891a66ad8b Updated documentation to reflect addition of new markdown types. 2012-12-02 13:11:47 -05:00
Bruno Binet
81cb774a8e add docs for cross-site linking 2012-12-01 21:35:15 +01:00
Alexis Métaireau
c731edcdeb pages should be in the content folder 2012-11-29 19:16:44 +01:00
Tomi Pieviläinen
a6f328516a Metadata parity for RST/MD, document summary. 2012-11-24 13:18:49 +02:00
Alexis Métaireau
84c708b74b Revert "Get HtmlReader to work again"
This reverts commit 39db9ddcfd.

Conflicts:

	tests/test_readers.py
2012-10-29 00:36:42 +01:00
Alexis Métaireau
92d8208309 Merge branch 'master' of github.com:getpelican/pelican 2012-10-28 23:50:49 +01:00
Martin Brochhaus
47c972e21a Added USE_FOLDER_AS_CATEGORY setting.
This allows users to organize their files in ways where the subfolder name
would not make a good category name (i.e. /2012/09/). Set this to ``False``
and the subfolder will no longer be used as a standard category,
`DEFAULT_CATEGORY` will be used instead.
2012-10-28 20:43:45 +01:00
Alexis Métaireau
0ebba1c4ab merge with master 2012-10-25 14:54:19 +02:00
Alexis Métaireau
b349bdd80f Make it obvious in the docs that you need to indent the identifier as well 2012-10-25 14:37:19 +02:00
Justin Mayer
cd85151f97 Add Typogrify to docs as optional dependency 2012-10-12 23:01:50 +02:00
Justin Mayer
007cd9b8fd Minor doc changes, including those for webassets 2012-10-12 23:01:50 +02:00
Florian Jacob
39db9ddcfd Get HtmlReader to work again
wrote unit tests and documentation, improved regular expression.
The HtmlReader is enabled by default now and parses metadata in html
files of the form:
<!-- key:value -->
2012-09-02 10:29:09 +02:00
David Marble
831e1d04b9 docs: Pelican outputs to output/ not content/. Markdown ::: syntax must be indented 2012-08-23 18:31:45 -07:00
Justin Mayer
3bf377fd5f Minor doc fixes 2012-08-08 09:29:04 -07:00
Justin Mayer
a3e24949af Provide specific links to virtualenvwrapper docs
Rather than detail how to install and configure virtualenvwrapper, it
seems best to instead link to the appropriate external docs.
2012-08-06 06:11:54 -07:00
Feth Arezki
8f7a3044ec Update docs/getting_started.rst
virtualenvwrapper requires a shell restart
2012-08-06 14:24:38 +02:00
Justin Mayer
0c02536605 Give devserver its own make target
Restore "make serve" to a non-backgrounded SimpleHTTPServer process and
give the develop_server.sh its own make target at "make devserver".
Add a few missing make targets to the help list and re-order targets for
consistency. Add note to docs regarding how to stop the devserver.
2012-08-05 17:25:39 -07:00
Alexis Metaireau
cf71ed75a4 the repositories are now hosted under 'getpelican' 2012-07-27 00:27:08 +02:00
Dirkjan Ochtman
da5db5aac9 Add documentation for abbr in reST. 2012-07-18 18:22:31 +02:00
Justin Mayer
18b4d65c4e Clarify quickstart docs and remove spurious line 2012-07-07 08:45:50 -07:00
Justin Mayer
764a2cfa51 Add dual dev/publish modes to quickstart script
Certain configuration options are more useful in production than they
are in development. Some examples might be absolute URLs, external
analytics service identifiers, Disqus comments, etc. This version of the
quickstart script creates two configuration files: one for development
and the other for use when publishing. In addition, the related docs
have been expanded considerably. Last but not least, the quickstart
script will now detect whether there is a project folder associated with
the currently active virtualenv (if any) and use it by default.
2012-07-07 07:41:12 -07:00