File tree Expand file tree Collapse file tree 7 files changed +13
-10
lines changed Expand file tree Collapse file tree 7 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -132,9 +132,10 @@ def _parse_text(lines):
132132 section = None
133133 i = 0
134134 for ln in lines :
135+ # TODO: check if this url is still valid
135136 ln = re .sub (
136137 _href ,
137- r'<a href="http ://manpages.ubuntu.com/manpages/precise /en/man\2/\1.\2.html">' ,
138+ r'<a href="https ://manpages.ubuntu.com/manpages/noble /en/man\2/\1.\2.html">' ,
138139 ln ,
139140 )
140141 for look_for , rp_with in _replacements :
Original file line number Diff line number Diff line change 44 < div id ="about ">
55 < p > Hello,</ p >
66 < p > This site contains 29761 parsed manpages from sections 1 and 8 found in
7- < a href ="http ://manpages.ubuntu.com/ "> Ubuntu's manpage repository</ a > .
7+ < a href ="https ://manpages.ubuntu.com/ "> Ubuntu's manpage repository</ a > .
88 A lot of heuristics were used to extract the arguments of each
99 program, and there are errors here and there, especially in
1010 manpages that have a non-standard layout.</ p >
Original file line number Diff line number Diff line change 4040< div class ="push "> </ div > < div class ="text-center "> < small >
4141{% for m in matches if m.name %}
4242{% if loop.first %}source manpages: {% endif %}
43- < a href ="http ://manpages.ubuntu.com/manpages/precise/en/man{{ m.section }}/{{ m.source|e }}.html "> {{ m.name|e }}</ a > {% if not loop.last %}, {% endif %}
43+ < a href ="https ://manpages.ubuntu.com/manpages/precise/en/man{{ m.section }}/{{ m.source|e }}.html "> {{ m.name|e }}</ a > {% if not loop.last %}, {% endif %}
4444{% endfor %}
4545</ small > </ div >
4646{%- endblock %}
Original file line number Diff line number Diff line change 11{% macro outputcommand(mp, suggestions) -%}
22 {% if suggestions|length == 0 %}
3- < a href ="http ://manpages.ubuntu.com/manpages/precise/en/man{{ mp.section }}/{{ mp.source }}.html "> {{ mp.program|e }}</ a >
3+ < a href ="https ://manpages.ubuntu.com/manpages/precise/en/man{{ mp.section }}/{{ mp.source }}.html "> {{ mp.program|e }}</ a >
44 {% else %}
55 < span class ="dropdown ">
66 < b class ="caret " data-toggle ="dropdown "> </ b >
7- < a href ="http ://manpages.ubuntu.com/manpages/precise/en/man{{ mp.section }}/{{ mp.source }}.html "> {{ mp.program|e }}</ a >
7+ < a href ="https ://manpages.ubuntu.com/manpages/precise/en/man{{ mp.section }}/{{ mp.source }}.html "> {{ mp.program|e }}</ a >
88 < ul class ="dropdown-menu " role ="menu " aria-labelledby ="dropdownMenu ">
99 < li > other manpages</ li >
1010 < li class ="divider "> </ li >
Original file line number Diff line number Diff line change 33< div class ="small-push "> </ div >
44< div class ="push "> </ div >
55< div id ="command ">
6- < a href ="http ://manpages.ubuntu.com/manpages/precise/en/man1/{{ m.name }}.html "> {{ m.name|e }}</ a > - {{ m.synopsis|e
6+ < a href ="https ://manpages.ubuntu.com/manpages/precise/en/man1/{{ m.name }}.html "> {{ m.name|e }}</ a > - {{ m.synopsis|e
77 }}
88</ div >
99< div class ="small-push "> </ div >
Original file line number Diff line number Diff line change @@ -7,4 +7,6 @@ while read url; do
77
88 python -c ' import time, random; time.sleep(float(random.randint(1000, 2000)) / 1000)'
99 wget -nv " $url " || echo " $url " >> failed
10- done < gzlist
10+ done < gzlist8
11+
12+ mv -f * .8.gz ../manpages/8/
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- release=" precise "
3+ release=" noble "
44section=" 8"
5- man1list=" http ://manpages.ubuntu.com/manpages/$release /en/man$section /"
6- gzroot=" http ://manpages.ubuntu.com/manpages.gz/$release /man$section /"
5+ man1list=" https ://manpages.ubuntu.com/manpages/$release /en/man$section /"
6+ gzroot=" https ://manpages.ubuntu.com/manpages.gz/$release /man$section /"
77filename=" index$section .html"
88
99if ! [ -f $filename ]; then
You can’t perform that action at this time.
0 commit comments