mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Revert "Add groups to command reference"
This commit is contained in:
		
							parent
							
								
									2223d7848b
								
							
						
					
					
						commit
						81f87ce6ed
					
				
					 124 changed files with 474 additions and 2035 deletions
				
			
		| 
						 | 
				
			
			@ -43,12 +43,8 @@ html_static_path = ['_static', "_images"]
 | 
			
		|||
# default to no highlight
 | 
			
		||||
highlight_language = 'none'
 | 
			
		||||
 | 
			
		||||
# default single quotes to attempt auto reference, or fallback to yoscrypt
 | 
			
		||||
# default single quotes to attempt auto reference, or fallback to code
 | 
			
		||||
default_role = 'autoref'
 | 
			
		||||
rst_prolog = """
 | 
			
		||||
.. role:: yoscrypt(code)
 | 
			
		||||
   :language: yoscrypt
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
extensions = ['sphinx.ext.autosectionlabel', 'sphinxcontrib.bibtex']
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -110,14 +106,12 @@ latex_elements = {
 | 
			
		|||
 | 
			
		||||
# custom cmd-ref parsing/linking
 | 
			
		||||
sys.path += [os.path.dirname(__file__) + "/../"]
 | 
			
		||||
extensions.append('util.custom_directives')
 | 
			
		||||
extensions.append('util.cmdref')
 | 
			
		||||
 | 
			
		||||
# use autodocs
 | 
			
		||||
extensions.append('sphinx.ext.autodoc')
 | 
			
		||||
extensions.append('util.cell_documenter')
 | 
			
		||||
extensions.append('util.cellref')
 | 
			
		||||
cells_json = Path(__file__).parent / 'generated' / 'cells.json'
 | 
			
		||||
extensions.append('util.cmd_documenter')
 | 
			
		||||
cmds_json = Path(__file__).parent / 'generated' / 'cmds.json'
 | 
			
		||||
 | 
			
		||||
from sphinx.application import Sphinx
 | 
			
		||||
def setup(app: Sphinx) -> None:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue