mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-29 21:14:27 +01:00
readme: setup github pages to overcome 512k limit
This commit is contained in:
19
asciidoctor/link-target-github.rb
Normal file
19
asciidoctor/link-target-github.rb
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env ruby
|
||||
#
|
||||
# https://github.com/cirosantilli/linux-kernel-module-cheat#asciidoctor-link-target-up-rb
|
||||
|
||||
require 'asciidoctor'
|
||||
require 'asciidoctor/extensions'
|
||||
|
||||
require_relative 'link-target-up.rb'
|
||||
|
||||
class LinkTargetGitHub < LinkTargetUp
|
||||
named :link
|
||||
def target_base
|
||||
'https://github.com/cirosantilli/linux-kernel-module-cheat/blob/master/'
|
||||
end
|
||||
end
|
||||
|
||||
Asciidoctor::Extensions.register do
|
||||
inline_macro LinkTargetGitHub
|
||||
end
|
||||
Reference in New Issue
Block a user