diff --git a/docs/css/extra.css b/docs/css/extra.css index 1230d796a6b5ef484a7d590f9c3e2a1b4a8ca589..f95b9168a8d308b159fd4164c12f15b1ce38628b 100644 --- a/docs/css/extra.css +++ b/docs/css/extra.css @@ -1,4 +1,4 @@ -@media (min-width: 960px) { +@media (min-width: 961px) { html { scroll-behavior: smooth; } diff --git a/sort.py b/sort.py index 431bd02b48e6cdc850b147b5fc4e47a4370943a6..fdcbb0dfd87e782dae9077648f764dcae134145f 100755 --- a/sort.py +++ b/sort.py @@ -20,7 +20,7 @@ def sort_blocks(): read_me = read_me_file.read() # Separating the 'table of contents' from the contents (blocks) - table_of_contents = ''.join(read_me.split('- - -')[0]) + table_of_the_contents = ''.join(read_me.split('- - -')[0]) blocks = ''.join(read_me.split('- - -')[1]).split('\n# ') for i in range(len(blocks)): if i == 0: @@ -37,7 +37,7 @@ def sort_blocks(): # Replacing the non-sorted libraries by the sorted ones and gathering all at the final_README file blocks[0] = inner_blocks - final_README = table_of_contents + '- - -' + ''.join(blocks) + final_README = table_of_the_contents + '- - -' + ''.join(blocks) with open('README.md', 'w+') as sorted_file: sorted_file.write(final_README)