mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Merge pull request #12277 from nishant-sachdeva/relocating_download_section_in_docs
Relocating download Section in docs
This commit is contained in:
		
						commit
						de7b5a94ec
					
				
							
								
								
									
										16
									
								
								docs/_templates/versions.html
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								docs/_templates/versions.html
									
									
									
									
										vendored
									
									
								
							| @ -1,7 +1,11 @@ | ||||
| {# Add rst-badge after rst-versions for small badge style. #} | ||||
| <div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions"> | ||||
|     <span class="rst-current-version" data-toggle="rst-current-version"> | ||||
|     <span class="fa fa-book fa-element"> RTD </span> | ||||
|     {% for type, url in downloads %} | ||||
|         {% if type == 'PDF' %} | ||||
|             <a href="{{ url }}">{{ type }}</a> | ||||
|         {% endif %} | ||||
|     {% endfor %} | ||||
| 
 | ||||
|     <span class="fa fa-element"> | ||||
|     <input class="container_toggle" type="checkbox" id="switch" name="mode"> | ||||
| @ -13,13 +17,13 @@ | ||||
|     </span> | ||||
|     <div class="rst-other-versions"> | ||||
|         <dl> | ||||
|             <dt>{{ _('Versions') }}</dt> {% for slug, url in versions %} | ||||
|             <dd><a href="{{ url }}">{{ slug }}</a></dd> | ||||
|             <dt>{{ _('Downloads') }}</dt> {% for type, url in downloads %} | ||||
|             <dd><a href="{{ url }}">{{ type }}</a></dd> | ||||
|             {% endfor %} | ||||
|         </dl> | ||||
|         <dl> | ||||
|             <dt>{{ _('Downloads') }}</dt> {% for type, url in downloads %} | ||||
|             <dd><a href="{{ url }}">{{ type }}</a></dd> | ||||
|             <dt>{{ _('Versions') }}</dt> {% for slug, url in versions %} | ||||
|             <dd><a href="{{ url }}">{{ slug }}</a></dd> | ||||
|             {% endfor %} | ||||
|         </dl> | ||||
|         <dl> | ||||
| @ -33,4 +37,4 @@ | ||||
|             </dd> | ||||
|         </dl> | ||||
|     </div> | ||||
| </div> | ||||
| </div> | ||||
|  | ||||
| @ -31,6 +31,12 @@ a 0.y.z version number `to indicate this fast pace of change <https://semver.org | ||||
| Ideas for improving Solidity or this documentation are always welcome, | ||||
| read our :doc:`contributors guide <contributing>` for more details. | ||||
| 
 | ||||
| .. Hint:: | ||||
| 
 | ||||
|   You can download this documentation as PDF, HTML or Epub by clicking on the versions | ||||
|   flyout menu in the bottom-left corner and selecting the preferred download format. | ||||
| 
 | ||||
| 
 | ||||
| Getting Started | ||||
| --------------- | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user