Update configuration and appearence
This commit is contained in:
		
							parent
							
								
									24d4d33a3d
								
							
						
					
					
						commit
						ca8a8221e8
					
				
					 4 changed files with 30 additions and 13 deletions
				
			
		|  | @ -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%; | ||||
| } | ||||
|  |  | |||
|  | @ -4,10 +4,13 @@ | |||
|     <a href="https://creativecommons.org/publicdomain/mark/1.0/"> | ||||
|       <span class="cc0">©</span> | ||||
|     </a> | ||||
|     <a href="{{ path }}">{{ copyright }}</a> . | ||||
|     <a href="{{ path }}">{{ copyright }}</a> | ||||
|     {% endtrans %} | ||||
|     <br> | ||||
|     A customized | ||||
|     <a href="https://typlog.com/">typlog</a> | ||||
|     <a href="https://github.com/typlog/sphinx-typlog-theme">sphinx theme</a>. | ||||
|     <div style="float: right; text-align: right;"> | ||||
|       This blog uses a customized <a href="https://typlog.com/">typlog</a><a href="https://github.com/typlog/sphinx-typlog-theme"> sphinx theme</a>. | ||||
|       <br /> | ||||
|       <a class='atom' href="{{ blog_baseurl }}/blog/atom.xml"> | ||||
|         Atom feed <img src="/_static/rss-icon.svg" /> | ||||
|       </a> | ||||
|     </div> | ||||
| </footer> | ||||
|  |  | |||
|  | @ -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' | ||||
|  |  | |||
							
								
								
									
										5
									
								
								tox.ini
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								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 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue