mirror of
https://github.com/sysprog21/lkmpg.git
synced 2024-11-29 12:16:41 +08:00
2d368210ce
The new command \src was introduced for preliminary hyperlink generation which points to Linux kernel source code. At present, stable/linux.git was referred: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git We might switch to specific LTS kernels once requested.
3 lines
171 B
TeX
3 lines
171 B
TeX
\newcommand*{\src}[2][]{\href{https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/#2}%
|
|
{\ifthenelse{\equal{#1}{}}{#2}{#1}}}
|