← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3748: fix Anton's previous commit (make doc was not working)

 

------------------------------------------------------------
revno: 3748
committer: Klaus Thoeni <klaus.thoeni@xxxxxxxxx>
timestamp: Fri 2015-12-04 17:19:11 +1100
message:
  fix Anton's previous commit (make doc was not working)
modified:
  doc/sphinx/book/confManual.py
  doc/sphinx/book/confReference.py
  doc/sphinx/book/confTheory.py
  doc/sphinx/conf.py


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'doc/sphinx/book/confManual.py'
--- doc/sphinx/book/confManual.py	2015-12-03 17:42:44 +0000
+++ doc/sphinx/book/confManual.py	2015-12-04 06:19:11 +0000
@@ -102,8 +102,7 @@
 	else:
 		uri=(('%%yade.wrapper#yade.wrapper.%s'%target) if writer=='latex' else 'yade.wrapper.html#yade.wrapper.%s'%target)
 		#print writer,uri
-	else:
-		return nodes.reference(rawtext,docutils.utils.unescape(text),refuri=uri,**options)
+	return nodes.reference(rawtext,docutils.utils.unescape(text),refuri=uri,**options)
 	#return [refnode],[]
 
 def ydefault_role(role,rawtext,text,lineno,inliner,options={},content=[]):

=== modified file 'doc/sphinx/book/confReference.py'
--- doc/sphinx/book/confReference.py	2015-12-03 17:42:44 +0000
+++ doc/sphinx/book/confReference.py	2015-12-04 06:19:11 +0000
@@ -102,8 +102,7 @@
 	else:
 		uri=(('%%yade.wrapper#yade.wrapper.%s'%target) if writer=='latex' else 'yade.wrapper.html#yade.wrapper.%s'%target)
 		#print writer,uri
-	else:
-		return nodes.reference(rawtext,docutils.utils.unescape(text),refuri=uri,**options)
+	return nodes.reference(rawtext,docutils.utils.unescape(text),refuri=uri,**options)
 	#return [refnode],[]
 
 def ydefault_role(role,rawtext,text,lineno,inliner,options={},content=[]):

=== modified file 'doc/sphinx/book/confTheory.py'
--- doc/sphinx/book/confTheory.py	2015-12-03 17:42:44 +0000
+++ doc/sphinx/book/confTheory.py	2015-12-04 06:19:11 +0000
@@ -102,8 +102,7 @@
 	else:
 		uri=(('%%yade.wrapper#yade.wrapper.%s'%target) if writer=='latex' else 'yade.wrapper.html#yade.wrapper.%s'%target)
 		#print writer,uri
-	else:
-		return nodes.reference(rawtext,docutils.utils.unescape(text),refuri=uri,**options)
+	return nodes.reference(rawtext,docutils.utils.unescape(text),refuri=uri,**options)
 	#return [refnode],[]
 
 def ydefault_role(role,rawtext,text,lineno,inliner,options={},content=[]):

=== modified file 'doc/sphinx/conf.py'
--- doc/sphinx/conf.py	2015-12-03 17:42:44 +0000
+++ doc/sphinx/conf.py	2015-12-04 06:19:11 +0000
@@ -102,8 +102,7 @@
 	else:
 		uri=(('%%yade.wrapper#yade.wrapper.%s'%target) if writer=='latex' else 'yade.wrapper.html#yade.wrapper.%s'%target)
 		#print writer,uri
-	else:
-		return nodes.reference(rawtext,docutils.utils.unescape(text),refuri=uri,**options)
+	return nodes.reference(rawtext,docutils.utils.unescape(text),refuri=uri,**options)
 	#return [refnode],[]
 
 def ydefault_role(role,rawtext,text,lineno,inliner,options={},content=[]):