Move all non-README links to cirosantilli.com where the file is not cut off...

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-07-07 00:00:01 +00:00
parent ec74746707
commit 28cd27f969
380 changed files with 419 additions and 419 deletions

View File

@@ -14,7 +14,7 @@ class Main(common.LkmcCliFunction):
'show_time': False,
},
description='''\
https://github.com/cirosantilli/linux-kernel-module-cheat#build-the-documentation
https://cirosantilli.com/linux-kernel-module-cheat#build-the-documentation
''',
)
self.add_argument(
@@ -70,13 +70,13 @@ from the README to example sources to GitHub rather than locally.
'git',
'grep',
'--fixed-strings',
self.env['github_repo_id_url'] + '#',
self.env['homepage_url'] + '#',
LF
],
cwd=self.env['root_dir']
).splitlines():
url_index = grep_line.index(self.env['github_repo_id_url'])
hash_start_index = url_index + len(self.env['github_repo_id_url'])
url_index = grep_line.index(self.env['homepage_url'])
hash_start_index = url_index + len(self.env['homepage_url'])
if len(grep_line) > hash_start_index:
hash_str = grep_line_hash_re.search(grep_line[hash_start_index + 1:]).group(1)
if not hash_str in header_ids: