- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 688
 
Description
This patch fixes rendering of nested class in Sage.
The particular metaclass NestedMetaclass we have to use to work around the nested class pickling bug of python get in the way of Sphinx because it change the __name__ of the nested class.
We have to make Sphinx aware of those particular classes and to update its configuration.
I also took the chance to raise a warning if someone forgot to set the metaclass leading to a unpicklable class. Several bug have been found that way. I'll add a ticket for this. Addendum: See #8452 for this.
CC: @mwhansen @nthiery @jhpalmieri
Component: documentation
Keywords: Sphinx, nested classes
Author: Florent Hivert
Reviewer: Mitesh Patel
Merged: sage-4.3.4.alpha1
Issue created by migration from https://trac.sagemath.org/ticket/7448