diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2014-04-16 14:53:27 -0400 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2014-04-16 14:53:27 -0400 |
commit | 3ce4978e587ca9fad0af35296b0e00fadab81e6c (patch) | |
tree | f0481977de2791e9ad61d82f9deb6eeacefd9b0a | |
parent | c14de1d93516c9aec18749cb501febf0b2cee530 (diff) | |
download | paramiko-re-add-blog.tar.gz |
WIPre-add-blog
-rw-r--r-- | sites/www/blog.rst | 16 | ||||
-rw-r--r-- | sites/www/blog/first-post.rst | 7 | ||||
-rw-r--r-- | sites/www/blog/second-post.rst | 7 | ||||
-rw-r--r-- | sites/www/conf.py | 5 |
4 files changed, 35 insertions, 0 deletions
diff --git a/sites/www/blog.rst b/sites/www/blog.rst new file mode 100644 index 00000000..af9651e4 --- /dev/null +++ b/sites/www/blog.rst @@ -0,0 +1,16 @@ +==== +Blog +==== + +.. blog-posts directive gets replaced with an ordered list of blog posts. + +.. blog-posts:: + + +.. The following toctree ensures blog posts get processed. + +.. toctree:: + :hidden: + :glob: + + blog/* diff --git a/sites/www/blog/first-post.rst b/sites/www/blog/first-post.rst new file mode 100644 index 00000000..7b075073 --- /dev/null +++ b/sites/www/blog/first-post.rst @@ -0,0 +1,7 @@ +=========== +First post! +=========== + +A blog post. + +.. date:: 2013-12-04 diff --git a/sites/www/blog/second-post.rst b/sites/www/blog/second-post.rst new file mode 100644 index 00000000..c4463f33 --- /dev/null +++ b/sites/www/blog/second-post.rst @@ -0,0 +1,7 @@ +=========== +Another one +=========== + +.. date:: 2013-12-05 + +Indeed! diff --git a/sites/www/conf.py b/sites/www/conf.py index bdb5929a..afa9d7a2 100644 --- a/sites/www/conf.py +++ b/sites/www/conf.py @@ -12,6 +12,11 @@ extensions.append('releases') releases_release_uri = "https://github.com/paramiko/paramiko/tree/v%s" releases_issue_uri = "https://github.com/paramiko/paramiko/issues/%s" +# Blog extension +extensions.append('sphinxblog') +rss_link = 'http://paramiko.org' +rss_description = 'Paramiko project news' + # Intersphinx for referencing API/usage docs extensions.append('sphinx.ext.intersphinx') # Default is 'local' building, but reference the public docs site when building |