mirror of
				https://github.com/Telecominfraproject/oopt-gnpy.git
				synced 2025-10-31 01:57:54 +00:00 
			
		
		
		
	fix: restore rtd theme
and fix the table with the custom css Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com> Change-Id: Ib16c08451aa3faaa06ea85c2b9359fc4e7a015da
This commit is contained in:
		
							
								
								
									
										4
									
								
								docs/_static/custom.css
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								docs/_static/custom.css
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | |||||||
|  |  | ||||||
|  | .wy-table-responsive table td, .wy-table-responsive table th { | ||||||
|  |   white-space: normal; | ||||||
|  | } | ||||||
							
								
								
									
										21
									
								
								docs/conf.py
									
									
									
									
									
								
							
							
						
						
									
										21
									
								
								docs/conf.py
									
									
									
									
									
								
							| @@ -19,6 +19,7 @@ | |||||||
| # | # | ||||||
| import os | import os | ||||||
| import sys | import sys | ||||||
|  |  | ||||||
| sys.path.insert(0, os.path.abspath('../')) | sys.path.insert(0, os.path.abspath('../')) | ||||||
|  |  | ||||||
| # -- General configuration ------------------------------------------------ | # -- General configuration ------------------------------------------------ | ||||||
| @@ -36,6 +37,7 @@ extensions = ['sphinx.ext.autodoc', | |||||||
|               'sphinxcontrib.bibtex', |               'sphinxcontrib.bibtex', | ||||||
|               'sphinx.ext.graphviz', |               'sphinx.ext.graphviz', | ||||||
|               'myst_parser', |               'myst_parser', | ||||||
|  |               'sphinx_rtd_theme', | ||||||
|               ] |               ] | ||||||
|  |  | ||||||
| myst_enable_extensions = [ | myst_enable_extensions = [ | ||||||
| @@ -84,11 +86,22 @@ todo_include_todos = False | |||||||
| # The theme to use for HTML and HTML Help pages.  See the documentation for | # The theme to use for HTML and HTML Help pages.  See the documentation for | ||||||
| # a list of builtin themes. | # a list of builtin themes. | ||||||
| # | # | ||||||
| html_theme = 'alabaster' | html_theme = "sphinx_rtd_theme" | ||||||
| html_theme_options = { | html_theme_options = { | ||||||
|     'logo': 'images/GNPy-logo.png', |     'logo': 'images/GNPy-logo.png', | ||||||
|     'logo_name': False, |     'logo_name': False, | ||||||
|  |     'prev_next_buttons_location': 'bottom', | ||||||
|  |     # Toc options | ||||||
|  |     'collapse_navigation': True, | ||||||
|  |     'sticky_navigation': True, | ||||||
|  |     'navigation_depth': 4, | ||||||
|  |     'includehidden': True, | ||||||
|  |     'titles_only': False | ||||||
| } | } | ||||||
|  | html_theme_options = { | ||||||
|  |     'navigation_depth': 4, | ||||||
|  | } | ||||||
|  | html_favicon = 'images/GNPy-logo.png' | ||||||
|  |  | ||||||
| html_logo = 'images/GNPy-logo.png' | html_logo = 'images/GNPy-logo.png' | ||||||
|  |  | ||||||
| @@ -101,7 +114,10 @@ html_logo = 'images/GNPy-logo.png' | |||||||
| # Add any paths that contain custom static files (such as style sheets) here, | # Add any paths that contain custom static files (such as style sheets) here, | ||||||
| # relative to this directory. They are copied after the builtin static files, | # relative to this directory. They are copied after the builtin static files, | ||||||
| # so a file named "default.css" will overwrite the builtin "default.css". | # so a file named "default.css" will overwrite the builtin "default.css". | ||||||
| html_static_path = [] | html_static_path = ['_static'] | ||||||
|  | html_css_files = [ | ||||||
|  |     'custom.css',  # Inclure votre fichier CSS personnalisé | ||||||
|  | ] | ||||||
|  |  | ||||||
| # Custom sidebar templates, must be a dictionary that maps document names | # Custom sidebar templates, must be a dictionary that maps document names | ||||||
| # to template names. | # to template names. | ||||||
| @@ -118,6 +134,7 @@ html_sidebars = { | |||||||
|     ] |     ] | ||||||
| } | } | ||||||
|  |  | ||||||
|  | html_secnum_depth = 4 | ||||||
|  |  | ||||||
| # -- Options for HTMLHelp output ------------------------------------------ | # -- Options for HTMLHelp output ------------------------------------------ | ||||||
|  |  | ||||||
|   | |||||||
| @@ -76,8 +76,9 @@ tests = | |||||||
| docs = | docs = | ||||||
| 	alabaster>=0.7.12,<1 | 	alabaster>=0.7.12,<1 | ||||||
| 	docutils>=0.17.1,<1 | 	docutils>=0.17.1,<1 | ||||||
| 	myst-parser>=0.16.1,<1 | 	myst-parser>=4.0.1,<5 | ||||||
| 	Pygments>=2.11.2,<3 | 	Pygments>=2.11.2,<3 | ||||||
| 	rstcheck | 	rstcheck | ||||||
| 	Sphinx>=5.3.0,<6 | 	Sphinx>=8.1.3,<9 | ||||||
| 	sphinxcontrib-bibtex>=2.4.1,<3 | 	sphinxcontrib-bibtex>=2.4.1,<3 | ||||||
|  |     sphinx_rtd_theme>=3.0.2,<4 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 EstherLerouzic
					EstherLerouzic