blog/content/notebooks/git-history-fuer-ein-file-checkpoint.ipynb

363 lines
20 KiB
Plaintext
Raw Normal View History

2014-11-20 10:49:13 +01:00
{
"metadata": {
"name": "",
"signature": "sha256:e7eac3f8878da810e80e7535b12f7414972f34887ff56cc432c42b4b701f842d"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Ich setze auf allen Servern die ich administriere [etckeeper](https://github.com/joeyh/etckeeper) ein. Super leicht eingerichtet und schon hat sind alle ver\u00e4nderungen in `/etc` sch\u00f6n in einem git-Repo gepflegt. Nun hatte ich gerade den Fall das ich mir nur die Ver\u00e4nderungen an einem bestimmten File anschauen wollte. Da ich mir sowas gerne notiere und vielleicht dadurch auch jemanden weiterhelfen kann poste ich es hier.\n",
"\n",
"Hier als Beispiel mal mit meiner `pelicanconf.py`:"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"!git log -p ../../pelicanconf.py"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"\u001b[33mcommit bfbe310a026bbfa9307aa89f1d2209ea64969b5a\u001b[m\r\n",
"Author: Marvin Steadfast <marvin@xsteadfastx.org>\r\n",
"Date: Tue Nov 18 16:10:56 2014 +0100\r\n",
"\r\n",
" made the blog ipython ready\r\n",
"\r\n",
"\u001b[1mdiff --git a/pelicanconf.py b/pelicanconf.py\u001b[m\r\n",
"\u001b[1mindex 2b20560..ec9fc31 100644\u001b[m\r\n",
"\u001b[1m--- a/pelicanconf.py\u001b[m\r\n",
"\u001b[1m+++ b/pelicanconf.py\u001b[m\r\n",
"\u001b[36m@@ -61,8 +61,10 @@\u001b[m \u001b[mARTICLE_SAVE_AS = 'posts/{date:%Y}/{date:%m}/{slug}/index.html'\u001b[m\r\n",
" \u001b[m\r\n",
" # plugins\u001b[m\r\n",
" PLUGIN_PATHS = ['pelican-plugins']\u001b[m\r\n",
"\u001b[31m-PLUGINS = ['liquid_tags.youtube']\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mPLUGINS = ['liquid_tags.youtube', 'liquid_tags.notebook']\u001b[m\r\n",
" \u001b[m\r\n",
" #CODE_DIR = 'code'\u001b[m\r\n",
"\u001b[31m-#NOTEBOOK_DIR = 'notebooks'\u001b[m\r\n",
"\u001b[31m-#EXTRA_HEADER = open('_nb_header.html').read().decode('utf-8')\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mNOTEBOOK_DIR = 'notebooks'\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mEXTRA_HEADER = open('_nb_header.html').read()\u001b[m\r\n",
"\u001b[32m+\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mLOAD_CONTENT_CACHE = False\u001b[m\r\n",
"\r\n",
"\u001b[33mcommit 777d91280badc22d566cf2a3f59bb39e92d9aea0\u001b[m\r\n",
"Author: Marvin Steadfast <marvin@xsteadfastx.org>\r\n",
"Date: Wed Nov 5 16:49:15 2014 +0100\r\n",
"\r\n",
" plugins and a new article\r\n",
"\r\n",
"\u001b[1mdiff --git a/pelicanconf.py b/pelicanconf.py\u001b[m\r\n",
"\u001b[1mindex f3c2735..2b20560 100644\u001b[m\r\n",
"\u001b[1m--- a/pelicanconf.py\u001b[m\r\n",
"\u001b[1m+++ b/pelicanconf.py\u001b[m\r\n",
"\u001b[36m@@ -60,9 +60,8 @@\u001b[m \u001b[mARTICLE_URL = 'posts/{date:%Y}/{date:%m}/{slug}/'\u001b[m\r\n",
" ARTICLE_SAVE_AS = 'posts/{date:%Y}/{date:%m}/{slug}/index.html'\u001b[m\r\n",
" \u001b[m\r\n",
" # plugins\u001b[m\r\n",
"\u001b[31m-#PLUGIN_PATH = '../pelican-plugins'\u001b[m\r\n",
"\u001b[31m-#PLUGINS = ['liquid_tags.notebook', 'liquid_tags.include_code',\u001b[m\r\n",
"\u001b[31m-# 'liquid_tags.img', 'liquid_tags.video']\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mPLUGIN_PATHS = ['pelican-plugins']\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mPLUGINS = ['liquid_tags.youtube']\u001b[m\r\n",
" \u001b[m\r\n",
" #CODE_DIR = 'code'\u001b[m\r\n",
" #NOTEBOOK_DIR = 'notebooks'\u001b[m\r\n",
"\r\n",
"\u001b[33mcommit 6433a8450e3ec43bbe202383251ab21e47537404\u001b[m\r\n",
"Author: Marvin Steadfast <marvin@xsteadfastx.org>\r\n",
"Date: Wed Sep 24 16:42:16 2014 +0200\r\n",
"\r\n",
" make everything a little modern and easier\r\n",
"\r\n",
"\u001b[1mdiff --git a/pelicanconf.py b/pelicanconf.py\u001b[m\r\n",
"\u001b[1mindex 7a6e502..f3c2735 100644\u001b[m\r\n",
"\u001b[1m--- a/pelicanconf.py\u001b[m\r\n",
"\u001b[1m+++ b/pelicanconf.py\u001b[m\r\n",
"\u001b[36m@@ -3,7 +3,7 @@\u001b[m \u001b[mfrom __future__ import unicode_literals\u001b[m\r\n",
" \u001b[m\r\n",
" AUTHOR = 'Marvin Steadfast'\u001b[m\r\n",
" SITENAME = 'is trying to code'\u001b[m\r\n",
"\u001b[31m-SITEURL = 'http://code.xsteadfastx.org'\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mSITEURL = ''\u001b[m\r\n",
" AVATAR = '/theme/images/avatar.png'\u001b[m\r\n",
" TIMEZONE = \"Europe/Berlin\"\u001b[m\r\n",
" DESCRIPTION = \"Der Versuch zu programmieren und Computer Zeugs nieder zu bloggen.\"\u001b[m\r\n",
"\u001b[36m@@ -21,8 +21,8 @@\u001b[m \u001b[mLOCALE = \"C\"\u001b[m\r\n",
" DEFAULT_PAGINATION = 4\u001b[m\r\n",
" DEFAULT_DATE = (2012, 3, 2, 14, 1, 1)\u001b[m\r\n",
" \u001b[m\r\n",
"\u001b[31m-FEED_ALL_RSS = 'feeds/all.rss.xml'\u001b[m\r\n",
"\u001b[31m-CATEGORY_FEED_RSS = 'feeds/%s.rss.xml'\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mFEED_ALL_ATOM = 'feeds/all.atom.xml'\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mCATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'\u001b[m\r\n",
" \u001b[m\r\n",
" # global metadata to all the contents\u001b[m\r\n",
" #DEFAULT_METADATA = (('yeah', 'it is'),)\u001b[m\r\n",
"\r\n",
"\u001b[33mcommit 846634d046fed8fe6a9240bf4472d44a98e52c1d\u001b[m\r\n",
"Author: Marvin Steadfast <xsteadfastx@gmail.com>\r\n",
"Date: Thu Apr 3 10:53:29 2014 +0200\r\n",
"\r\n",
" new theme\r\n",
"\r\n",
"\u001b[1mdiff --git a/pelicanconf.py b/pelicanconf.py\u001b[m\r\n",
"\u001b[1mindex 0b4dd9b..7a6e502 100644\u001b[m\r\n",
"\u001b[1m--- a/pelicanconf.py\u001b[m\r\n",
"\u001b[1m+++ b/pelicanconf.py\u001b[m\r\n",
"\u001b[36m@@ -2,14 +2,17 @@\u001b[m\r\n",
" from __future__ import unicode_literals\u001b[m\r\n",
" \u001b[m\r\n",
" AUTHOR = 'Marvin Steadfast'\u001b[m\r\n",
"\u001b[31m-SITENAME = 'xsteadfastx is trying to code'\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mSITENAME = 'is trying to code'\u001b[m\r\n",
" SITEURL = 'http://code.xsteadfastx.org'\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mAVATAR = '/theme/images/avatar.png'\u001b[m\r\n",
" TIMEZONE = \"Europe/Berlin\"\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mDESCRIPTION = \"Der Versuch zu programmieren und Computer Zeugs nieder zu bloggen.\"\u001b[m\r\n",
" \u001b[m\r\n",
" # can be useful in development, but set to False when you're ready to publish\u001b[m\r\n",
" RELATIVE_URLS = True\u001b[m\r\n",
" \u001b[m\r\n",
" GITHUB_URL = 'http://github.com/xsteadfastx/'\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mTWITTER_NAME = 'xsteadfastx'\u001b[m\r\n",
" #DISQUS_SITENAME = \"xsteadfastxistryingtocode\"\u001b[m\r\n",
" ISSO_URL = 'http://comments.xsteadfastx.org'\u001b[m\r\n",
" PDF_GENERATOR = False\u001b[m\r\n",
"\u001b[36m@@ -35,6 +38,8 @@\u001b[m \u001b[mSTATIC_PATHS = [\u001b[m\r\n",
" 'images',\u001b[m\r\n",
" #'extra/robots.txt',\u001b[m\r\n",
" 'extra/CNAME',\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m #'code',\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m #'notebooks'\u001b[m\r\n",
" ]\u001b[m\r\n",
" \u001b[m\r\n",
" # custom page generated with a jinja2 template\u001b[m\r\n",
"\u001b[36m@@ -47,9 +52,18 @@\u001b[m \u001b[mPYGMENTS_RST_OPTIONS = {'linenos': 'table'}\u001b[m\r\n",
" # have to be in caps\u001b[m\r\n",
" #foobar = \"barbaz\"\u001b[m\r\n",
" \u001b[m\r\n",
"\u001b[31m-THEME = 'themes/xsteadfastx'\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mTHEME = 'themes/xsteadfastx-greg'\u001b[m\r\n",
" OUTPUT_PATH = 'output'\u001b[m\r\n",
" PATH = 'content'\u001b[m\r\n",
" \u001b[m\r\n",
" ARTICLE_URL = 'posts/{date:%Y}/{date:%m}/{slug}/'\u001b[m\r\n",
" ARTICLE_SAVE_AS = 'posts/{date:%Y}/{date:%m}/{slug}/index.html'\u001b[m\r\n",
"\u001b[32m+\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m# plugins\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m#PLUGIN_PATH = '../pelican-plugins'\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m#PLUGINS = ['liquid_tags.notebook', 'liquid_tags.include_code',\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m# 'liquid_tags.img', 'liquid_tags.video']\u001b[m\r\n",
"\u001b[32m+\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m#CODE_DIR = 'code'\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m#NOTEBOOK_DIR = 'notebooks'\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m#EXTRA_HEADER = open('_nb_header.html').read().decode('utf-8')\u001b[m\r\n",
"\r\n",
"\u001b[33mcommit 29755fe4fa0613ef32fe91a4916b25dad6b58a3a\u001b[m\r\n",
"Author: Marvin Steadfast <xsteadfastx@gmail.com>\r\n",
"Date: Mon Feb 3 13:47:15 2014 +0100\r\n",
"\r\n",
" changed from disqus to isso\r\n",
"\r\n",
"\u001b[1mdiff --git a/pelicanconf.py b/pelicanconf.py\u001b[m\r\n",
"\u001b[1mindex 84d737a..0b4dd9b 100644\u001b[m\r\n",
"\u001b[1m--- a/pelicanconf.py\u001b[m\r\n",
"\u001b[1m+++ b/pelicanconf.py\u001b[m\r\n",
"\u001b[36m@@ -2,7 +2,7 @@\u001b[m\r\n",
" from __future__ import unicode_literals\u001b[m\r\n",
" \u001b[m\r\n",
" AUTHOR = 'Marvin Steadfast'\u001b[m\r\n",
"\u001b[31m-SITENAME = \"xsteadfastx is trying to code\"\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mSITENAME = 'xsteadfastx is trying to code'\u001b[m\r\n",
" SITEURL = 'http://code.xsteadfastx.org'\u001b[m\r\n",
" TIMEZONE = \"Europe/Berlin\"\u001b[m\r\n",
" \u001b[m\r\n",
"\u001b[36m@@ -10,7 +10,8 @@\u001b[m \u001b[mTIMEZONE = \"Europe/Berlin\"\u001b[m\r\n",
" RELATIVE_URLS = True\u001b[m\r\n",
" \u001b[m\r\n",
" GITHUB_URL = 'http://github.com/xsteadfastx/'\u001b[m\r\n",
"\u001b[31m-DISQUS_SITENAME = \"xsteadfastxistryingtocode\"\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m#DISQUS_SITENAME = \"xsteadfastxistryingtocode\"\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mISSO_URL = 'http://comments.xsteadfastx.org'\u001b[m\r\n",
" PDF_GENERATOR = False\u001b[m\r\n",
" REVERSE_CATEGORY_ORDER = True\u001b[m\r\n",
" LOCALE = \"C\"\u001b[m\r\n",
"\r\n",
"\u001b[33mcommit b3980480f357917b2703dc777dd79f6707045549\u001b[m\r\n",
"Author: Marvin Steadfast <xsteadfastx@gmail.com>\r\n",
"Date: Thu Jan 30 13:55:37 2014 +0100\r\n",
"\r\n",
" new article and added a first image to the blog\r\n",
"\r\n",
"\u001b[1mdiff --git a/pelicanconf.py b/pelicanconf.py\u001b[m\r\n",
"\u001b[1mindex d16d47c..84d737a 100644\u001b[m\r\n",
"\u001b[1m--- a/pelicanconf.py\u001b[m\r\n",
"\u001b[1m+++ b/pelicanconf.py\u001b[m\r\n",
"\u001b[36m@@ -31,7 +31,7 @@\u001b[m \u001b[mEXTRA_PATH_METADATA = {\u001b[m\r\n",
" \u001b[m\r\n",
" # static paths will be copied without parsing their contents\u001b[m\r\n",
" STATIC_PATHS = [\u001b[m\r\n",
"\u001b[31m- 'pictures',\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m 'images',\u001b[m\r\n",
" #'extra/robots.txt',\u001b[m\r\n",
" 'extra/CNAME',\u001b[m\r\n",
" ]\u001b[m\r\n",
"\r\n",
"\u001b[33mcommit 8eed02f7318dbdac6d386f78e0680ec0a2b8286e\u001b[m\r\n",
"Author: Marvin Steadfast <xsteadfastx@gmail.com>\r\n",
"Date: Tue Jan 28 22:47:57 2014 +0100\r\n",
"\r\n",
" changed siteurl\r\n",
"\r\n",
"\u001b[1mdiff --git a/pelicanconf.py b/pelicanconf.py\u001b[m\r\n",
"\u001b[1mindex 8e06443..d16d47c 100644\u001b[m\r\n",
"\u001b[1m--- a/pelicanconf.py\u001b[m\r\n",
"\u001b[1m+++ b/pelicanconf.py\u001b[m\r\n",
"\u001b[36m@@ -3,7 +3,7 @@\u001b[m \u001b[mfrom __future__ import unicode_literals\u001b[m\r\n",
" \u001b[m\r\n",
" AUTHOR = 'Marvin Steadfast'\u001b[m\r\n",
" SITENAME = \"xsteadfastx is trying to code\"\u001b[m\r\n",
"\u001b[31m-SITEURL = 'http://xsteadfastx.github.io/blog'\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mSITEURL = 'http://code.xsteadfastx.org'\u001b[m\r\n",
" TIMEZONE = \"Europe/Berlin\"\u001b[m\r\n",
" \u001b[m\r\n",
" # can be useful in development, but set to False when you're ready to publish\u001b[m\r\n",
"\r\n",
"\u001b[33mcommit 36648232791ff7e046332ba28cfc650b0624cd2e\u001b[m\r\n",
"Author: Marvin Steadfast <xsteadfastx@gmail.com>\r\n",
"Date: Tue Jan 28 22:43:40 2014 +0100\r\n",
"\r\n",
" added CNAME file and article about dropbear\r\n",
"\r\n",
"\u001b[1mdiff --git a/pelicanconf.py b/pelicanconf.py\u001b[m\r\n",
"\u001b[1mindex f6a5478..8e06443 100644\u001b[m\r\n",
"\u001b[1m--- a/pelicanconf.py\u001b[m\r\n",
"\u001b[1m+++ b/pelicanconf.py\u001b[m\r\n",
"\u001b[36m@@ -25,13 +25,15 @@\u001b[m \u001b[mCATEGORY_FEED_RSS = 'feeds/%s.rss.xml'\u001b[m\r\n",
" \u001b[m\r\n",
" # path-specific metadata\u001b[m\r\n",
" EXTRA_PATH_METADATA = {\u001b[m\r\n",
"\u001b[31m- 'extra/robots.txt': {'path': 'robots.txt'},\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m #'extra/robots.txt': {'path': 'robots.txt'},\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m 'extra/CNAME': {'path': 'CNAME'},\u001b[m\r\n",
" }\u001b[m\r\n",
" \u001b[m\r\n",
" # static paths will be copied without parsing their contents\u001b[m\r\n",
" STATIC_PATHS = [\u001b[m\r\n",
" 'pictures',\u001b[m\r\n",
"\u001b[31m- 'extra/robots.txt',\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m #'extra/robots.txt',\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m 'extra/CNAME',\u001b[m\r\n",
" ]\u001b[m\r\n",
" \u001b[m\r\n",
" # custom page generated with a jinja2 template\u001b[m\r\n",
"\r\n",
"\u001b[33mcommit 9e145eb7fb0c0a21df31e833e6178ce8e520f213\u001b[m\r\n",
"Author: Marvin Steadfast <xsteadfastx@gmail.com>\r\n",
"Date: Tue Jan 28 15:52:33 2014 +0100\r\n",
"\r\n",
" added disqus\r\n",
"\r\n",
"\u001b[1mdiff --git a/pelicanconf.py b/pelicanconf.py\u001b[m\r\n",
"\u001b[1mindex 1a4d164..f6a5478 100644\u001b[m\r\n",
"\u001b[1m--- a/pelicanconf.py\u001b[m\r\n",
"\u001b[1m+++ b/pelicanconf.py\u001b[m\r\n",
"\u001b[36m@@ -10,7 +10,7 @@\u001b[m \u001b[mTIMEZONE = \"Europe/Berlin\"\u001b[m\r\n",
" RELATIVE_URLS = True\u001b[m\r\n",
" \u001b[m\r\n",
" GITHUB_URL = 'http://github.com/xsteadfastx/'\u001b[m\r\n",
"\u001b[31m-#DISQUS_SITENAME = \"blog-notmyidea\"\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mDISQUS_SITENAME = \"xsteadfastxistryingtocode\"\u001b[m\r\n",
" PDF_GENERATOR = False\u001b[m\r\n",
" REVERSE_CATEGORY_ORDER = True\u001b[m\r\n",
" LOCALE = \"C\"\u001b[m\r\n",
"\r\n",
"\u001b[33mcommit 4ce4aa135867f0508a1bb9f64f7e4fe5fb79ed57\u001b[m\r\n",
"Author: Marvin Steadfast <xsteadfastx@gmail.com>\r\n",
"Date: Tue Jan 28 15:05:04 2014 +0100\r\n",
"\r\n",
" added first working version\r\n",
"\r\n",
"\u001b[1mdiff --git a/pelicanconf.py b/pelicanconf.py\u001b[m\r\n",
"\u001b[1mnew file mode 100644\u001b[m\r\n",
"\u001b[1mindex 0000000..1a4d164\u001b[m\r\n",
"\u001b[1m--- /dev/null\u001b[m\r\n",
"\u001b[1m+++ b/pelicanconf.py\u001b[m\r\n",
"\u001b[36m@@ -0,0 +1,52 @@\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m# -*- coding: utf-8 -*-\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mfrom __future__ import unicode_literals\u001b[m\r\n",
"\u001b[32m+\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mAUTHOR = 'Marvin Steadfast'\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mSITENAME = \"xsteadfastx is trying to code\"\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mSITEURL = 'http://xsteadfastx.github.io/blog'\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mTIMEZONE = \"Europe/Berlin\"\u001b[m\r\n",
"\u001b[32m+\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m# can be useful in development, but set to False when you're ready to publish\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mRELATIVE_URLS = True\u001b[m\r\n",
"\u001b[32m+\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mGITHUB_URL = 'http://github.com/xsteadfastx/'\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m#DISQUS_SITENAME = \"blog-notmyidea\"\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mPDF_GENERATOR = False\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mREVERSE_CATEGORY_ORDER = True\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mLOCALE = \"C\"\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mDEFAULT_PAGINATION = 4\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mDEFAULT_DATE = (2012, 3, 2, 14, 1, 1)\u001b[m\r\n",
"\u001b[32m+\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mFEED_ALL_RSS = 'feeds/all.rss.xml'\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mCATEGORY_FEED_RSS = 'feeds/%s.rss.xml'\u001b[m\r\n",
"\u001b[32m+\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m# global metadata to all the contents\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m#DEFAULT_METADATA = (('yeah', 'it is'),)\u001b[m\r\n",
"\u001b[32m+\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m# path-specific metadata\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mEXTRA_PATH_METADATA = {\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m 'extra/robots.txt': {'path': 'robots.txt'},\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m }\u001b[m\r\n",
"\u001b[32m+\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m# static paths will be copied without parsing their contents\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mSTATIC_PATHS = [\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m 'pictures',\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m 'extra/robots.txt',\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m ]\u001b[m\r\n",
"\u001b[32m+\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m# custom page generated with a jinja2 template\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m#TEMPLATE_PAGES = {'pages/jinja2_template.html': 'jinja2_template.html'}\u001b[m\r\n",
"\u001b[32m+\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m# code blocks with line numbers\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mPYGMENTS_RST_OPTIONS = {'linenos': 'table'}\u001b[m\r\n",
"\u001b[32m+\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m# foobar will not be used, because it's not in caps. All configuration keys\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m# have to be in caps\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32m#foobar = \"barbaz\"\u001b[m\r\n",
"\u001b[32m+\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mTHEME = 'themes/xsteadfastx'\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mOUTPUT_PATH = 'output'\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mPATH = 'content'\u001b[m\r\n",
"\u001b[32m+\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mARTICLE_URL = 'posts/{date:%Y}/{date:%m}/{slug}/'\u001b[m\r\n",
"\u001b[32m+\u001b[m\u001b[32mARTICLE_SAVE_AS = 'posts/{date:%Y}/{date:%m}/{slug}/index.html'\u001b[m\r\n"
]
}
],
"prompt_number": 1
}
],
"metadata": {}
}
]
}