Open denis-migdal opened 1 year ago
Here an example for the page menu :
details {
position:fixed;
right:5em;
top: 5em;
z-index: 100;
background: var(--color-box-body);
border: 1px solid gray;
border-radius: 5px;
padding: 10px;
padding-right:20px;
margin-bottom: 0px;
& > ul { margin-bottom:0px
} }
<details open=""><summary>Table of Contents</summary><ul>
<li>
<a href="#user-content-keyapp" rel="nofollow">KeyApp</a></li>
<ul>
<li>
<a href="#user-content-links" rel="nofollow">Links</a></li>
<li>
<a href="#user-content-commands" rel="nofollow">Commands</a></li>
<li>
<a href="#user-content-install" rel="nofollow">Install</a></li>
<li>
<a href="#user-content-custom-css" rel="nofollow">Custom CSS</a></li>
</ul>
</ul>
</details>
I read some comments online about Brython, and it seems its advantages aren't clear enough :
E.g. "4 reasons to use Brython:"
I think that once perfs are improved (cf related issue), and documentations restructured, we could contact some specialized Python/Info news websites (e.g. developpez.com in France) to promote Brython and inform people of the recent changes ? Could help Brython adoption (?).
Added lot of suggestions for the Website Menu.
Another issue related to documentation : #980.
Here a list of suggestions regarding the Brython documentation : @PierreQuentel For each items, if you answer 'no', I'll remove them from the list.
float:right
or asticky
page menu at the top of pages for better browsing (more info)attachShadow()
can't be used in someHTMLElement
(more info).connectedCallback()
(call be called several times !). Else,createElement()
will refuse to build the element (more info)console.log()
should be preferred toprint()
for better output formatting, e.g. when printing HTMLElement (more info).async
attribute in<script src='brython.js' async>
in all Brython code (more info).