File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 1+ {#
2+ This file is only used in indexsidebar.html, where it is included in the docs
3+ by version list. For non-end-of-life branches, build_docs.py overwrites this
4+ list with the full list of versions.
5+ 
6+ Keep the following two files synchronised:
7+ * cpython/Doc/tools/templates/_docs_by_version.html
8+ * docsbuild-scripts/templates/_docs_by_version.html
9+ #}
10+ < li > < a  href ="https://docs.python.org/3/ "> {% trans %}Stable{% endtrans %}</ a > </ li > 
11+ < li > < a  href ="https://docs.python.org/dev/ "> {% trans %}In development{% endtrans %}</ a > </ li > 
Original file line number Diff line number Diff line change @@ -2,11 +2,10 @@ <h3>{% trans %}Download{% endtrans %}</h3>
22< p > < a  href ="{{ pathto('download') }} "> {% trans %}Download these documents{% endtrans %}</ a > </ p > 
33< h3 > {% trans %}Docs by version{% endtrans %}</ h3 > 
44< ul > 
5-   < li > < a   href =" https://docs.python.org/ " > {% trans %}Stable{% endtrans %} </ a > </ li > 
6-   < li > < a   href =" https://docs.python.org/dev/ " > {% trans %}In development{% endtrans %} </ a > </ li > 
5+   {# _docs_by_version.html is overwritten by build_docs.py for non-EOL versions #} 
6+   {% include "_docs_by_version.html" without context %} 
77  < li > < a  href ="https://www.python.org/doc/versions/ "> {% trans %}All versions{% endtrans %}</ a > </ li > 
88</ ul > 
9- 
109< h3 > {% trans %}Other resources{% endtrans %}</ h3 > 
1110< ul > 
1211  {# XXX: many of these should probably be merged in the main docs #}
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments