Add readme to index
This commit is contained in:
		
					parent
					
						
							
								5b41070a98
							
						
					
				
			
			
				commit
				
					
						be17cc13a4
					
				
			
		
					 2 changed files with 15 additions and 1 deletions
				
			
		
							
								
								
									
										10
									
								
								docs/conf.py
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								docs/conf.py
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -27,6 +27,16 @@ import cms_helper
 | 
			
		|||
import djangocms_blog
 | 
			
		||||
cms_helper.setup()
 | 
			
		||||
 | 
			
		||||
import sphinx.environment
 | 
			
		||||
from docutils.utils import get_source_line
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def _warn_node(self, msg, node, *args, **kwargs):
 | 
			
		||||
    if not msg.startswith('nonlocal image URI found:'):
 | 
			
		||||
        self._warnfunc(msg, '%s:%s' % get_source_line(node))
 | 
			
		||||
 | 
			
		||||
sphinx.environment.BuildEnvironment.warn_node = _warn_node
 | 
			
		||||
 | 
			
		||||
# -- General configuration ------------------------------------------------
 | 
			
		||||
 | 
			
		||||
# If your documentation needs a minimal Sphinx version, state it here.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,7 +6,11 @@
 | 
			
		|||
Welcome to djangocms-blog's documentation!
 | 
			
		||||
==========================================
 | 
			
		||||
 | 
			
		||||
Contents:
 | 
			
		||||
.. include:: ../README.rst
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Contents
 | 
			
		||||
--------
 | 
			
		||||
 | 
			
		||||
.. toctree::
 | 
			
		||||
   :maxdepth: 2
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue