mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Documentation Improvements (#4894)
* Improvements for version banner - Display at the bottom of the page - Simplify text * Use mkdocs version provider * use 'navigation.instant' * Support modern mkdocs features - Much better navigation and improved features * Content changes * Add code to find previous versions * Remove modern python syntax * display output codes * Hide version banner * Extra debug message * update terminology.md
This commit is contained in:
		| @@ -11,16 +11,20 @@ repo_name: inventree/inventree | ||||
| # Theme | ||||
| theme: | ||||
|   name: material | ||||
|   font: | ||||
|     text: Roboto | ||||
|   custom_dir: _includes/overrides | ||||
|   palette: | ||||
|     - media: "(prefers-color-scheme: light)" | ||||
|       scheme: default | ||||
|       primary: blue | ||||
|       accent: light blue | ||||
|       toggle: | ||||
|         icon: material/toggle-switch | ||||
|         name: Switch to dark mode | ||||
|     - media: "(prefers-color-scheme: dark)" | ||||
|       scheme: slate | ||||
|       primary: blue | ||||
|       accent: light blue | ||||
|       toggle: | ||||
|         icon: material/toggle-switch-off-outline | ||||
| @@ -30,8 +34,19 @@ theme: | ||||
|   icon: | ||||
|     repo: fontawesome/brands/github | ||||
|   features: | ||||
|     - header.autohide | ||||
|     - navigation.expand | ||||
|     - navigation.footer | ||||
|     - navigation.indexes | ||||
|     - navigation.instant | ||||
|     # - navigation.sections | ||||
|     - navigation.tracking | ||||
|     - navigation.tabs | ||||
|     - navigation.tabs.sticky | ||||
|     - navigation.top | ||||
|     - search.highlight | ||||
|     - toc.autohide | ||||
|     - toc.follow | ||||
| edit_uri: "" # Disable "Edit" button | ||||
| extra_css: | ||||
|   - stylesheets/brands.css | ||||
| @@ -225,6 +240,10 @@ extra: | ||||
|   #  provider: google | ||||
|   #  property: UA-143467500-1 | ||||
|  | ||||
|   version: | ||||
|     default: stable | ||||
|     provider: mike | ||||
|  | ||||
|   social: | ||||
|     - icon: fontawesome/brands/github | ||||
|       link: https://github.com/inventree/inventree | ||||
|   | ||||
		Reference in New Issue
	
	Block a user