Add attributetable and add some class-level sections.
The extensions have yet to receive this treatment and CSS needs work, but for now this is fine.
This commit is contained in:
		
							
								
								
									
										8
									
								
								docs/_static/custom.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								docs/_static/custom.js
									
									
									
									
										vendored
									
									
								
							@@ -27,5 +27,13 @@ $(document).ready(function () {
 | 
			
		||||
      activeLink = $('.sphinxsidebar a[href="#' + currentSection.attr('id') + '"]');
 | 
			
		||||
      activeLink.parent().addClass('active');
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    const tables = document.querySelectorAll('.py-attribute-table[data-move-to-id]');
 | 
			
		||||
    tables.forEach(table => {
 | 
			
		||||
      let element = document.getElementById(table.getAttribute('data-move-to-id'));
 | 
			
		||||
      let parent = element.parentNode;
 | 
			
		||||
      // insert ourselves after the element
 | 
			
		||||
      parent.insertBefore(table, element.nextSibling);
 | 
			
		||||
    });
 | 
			
		||||
  });
 | 
			
		||||
});
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user