diff --git a/source/_static/custom.css b/source/_static/custom.css index 65ec6d4..6b5022a 100644 --- a/source/_static/custom.css +++ b/source/_static/custom.css @@ -62,7 +62,7 @@ a.atom { font-weight: bold; } .atom img { - width: 30px; + width: 20px; font-family: andale; } @@ -74,3 +74,14 @@ div.t-content > div.t-body > div.section:last-child { color:#9a9a9a; margin-top: 40px; } + +.t-content > footer a { + text-decoration: none; +} +.t-content > footer a:hover { + text-decoration: underline; +} + +.t-content > footer::before { + width: 100%; +} diff --git a/source/_templates/footer.html b/source/_templates/footer.html index ce0ecfb..18aa782 100644 --- a/source/_templates/footer.html +++ b/source/_templates/footer.html @@ -4,10 +4,13 @@ © - {{ copyright }} . + {{ copyright }} {% endtrans %} -
- A customized - typlog - sphinx theme. +
+ This blog uses a customized typlog sphinx theme. +
+ + Atom feed + +
diff --git a/source/conf.py b/source/conf.py index 3cf7e4d..9587cf0 100644 --- a/source/conf.py +++ b/source/conf.py @@ -16,9 +16,11 @@ # -- Project information ----------------------------------------------------- +import sphinx_typlog_theme +import ablog copyright = "No Rights Reserved" author = "Vladan Popovic" -project = author + "'s notes" +project = "vladan codes" # -- General configuration --------------------------------------------------- @@ -28,8 +30,8 @@ project = author + "'s notes" # ones. extensions = [ 'ablog', + 'sphinxcontrib.plantuml', ] -import ablog # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -47,7 +49,6 @@ exclude_patterns = ['cv.rst'] # #html_theme = 'alabaster' html_theme = 'sphinx_typlog_theme' -import sphinx_typlog_theme html_theme_path = [sphinx_typlog_theme.get_path()] pygments_style = 'default' html_title = project @@ -64,9 +65,7 @@ html_sidebars = { 'localtoc.html', 'relations.html', 'searchbox.html', - 'sourcelink.html', 'atom.html', - 'recentposts.html', 'categories.html', 'archives.html', ] @@ -80,3 +79,6 @@ blog_languages = { 'en': ('English', None), } blog_baseurl = 'localhost' + +# PlantUML binary config +plantuml = 'java -jar /home/vladan/bin/plantuml.jar' diff --git a/tox.ini b/tox.ini index 2dcb2e8..5529464 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py3 +envlist = blog skipsdist = True [testenv:blog] @@ -7,10 +7,11 @@ deps = sphinx sphinx-autobuild sphinx-typlog-theme + sphinxcontrib-plantuml ablog commands = sphinx-autobuild -E -b html source/ build/html/ [testenv:cv] whitelist_externals = /usr/bin/pandoc -commands = pandoc --from=rst -o build/cv.pdf source/cv.rst +commands = pandoc -V geometry:margin=1.6in --from=rst -o build/cv.pdf source/cv.rst